summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* turn this into a macroBenjamin Peterson2009-05-062-39/+2
|
* Merged revisions 72367 via svnmerge fromBenjamin Peterson2009-05-051-5/+5
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72367 | benjamin.peterson | 2009-05-05 18:00:48 -0500 (Tue, 05 May 2009) | 1 line tabify :( ........
* add a replacement API for PyCObject, PyCapsule #5630Benjamin Peterson2009-05-0514-67/+220
| | | | | | All stdlib modules with C-APIs now use this. Patch by Larry Hastings
* Merged revisions 72357 via svnmerge fromBenjamin Peterson2009-05-051-0/+9
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72357 | benjamin.peterson | 2009-05-05 16:09:21 -0500 (Tue, 05 May 2009) | 4 lines fix running test_capi with -R :: Also, fix a refleak in the test that was preventing running. :) ........
* Merged revisions 72344 via svnmerge fromMark Dickinson2009-05-052-3/+3
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72344 | mark.dickinson | 2009-05-05 18:41:47 +0100 (Tue, 05 May 2009) | 3 lines Issue #5933: Fix some gcc -Wextra warnings. Thanks Victor Stinner for the patch. ........
* Issue #5943: Fix lchflags crash.Martin v. Löwis2009-05-051-1/+1
|
* Added missing semicolon.Eric Smith2009-05-051-1/+1
|
* Merged revisions 72314 via svnmerge fromGeorg Brandl2009-05-051-3/+3
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72314 | georg.brandl | 2009-05-05 09:48:12 +0200 (Di, 05 Mai 2009) | 1 line #5932: fix error return in _convertPyInt_AsSsize_t() conversion function. ........
* Issue #5915: Implement PEP 383, Non-decodable Bytes inMartin v. Löwis2009-05-053-230/+405
| | | | System Character Interfaces.
* remove old undocumented compat interfaces in hashlib and pwd #5881Benjamin Peterson2009-05-044-16/+3
|
* Merged revisions 72273 via svnmerge fromHirokazu Yamamoto2009-05-041-6/+7
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72273 | hirokazu.yamamoto | 2009-05-04 14:28:39 +0900 | 1 line Issue #5913: os.listdir() should fail for empty path on windows. ........
* Merge refactoring I did when committing r72267 to trunk into theGregory P. Smith2009-05-041-33/+27
| | | | already committed issue4751 support in py3k r68411.
* Issue #5914: Add new C-API function PyOS_string_to_double, to complementMark Dickinson2009-05-032-7/+56
| | | | PyOS_double_to_string, and deprecate PyOS_ascii_strtod and PyOS_ascii_atof.
* Merged revisions 72223 via svnmerge fromAntoine Pitrou2009-05-021-1/+15
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72223 | antoine.pitrou | 2009-05-02 23:13:23 +0200 (sam., 02 mai 2009) | 5 lines Isue #5084: unpickling now interns the attribute names of pickled objects, saving memory and avoiding growth in size of subsequent pickles. Proposal and original patch by Jake McGuire. ........
* Fixed warning. (Should not use *const* as variable name)Hirokazu Yamamoto2009-05-021-1/+1
|
* port simplejson upgrade from the trunk #4136Benjamin Peterson2009-05-021-330/+1377
| | | | | | json also now works only with unicode strings Patch by Antoine Pitrou; updated by me
* Merged revisions 72180 via svnmerge fromAntoine Pitrou2009-05-011-0/+3
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72180 | antoine.pitrou | 2009-05-01 23:16:14 +0200 (ven., 01 mai 2009) | 4 lines Issue #5726: Make Modules/ld_so_aix return the actual exit code of the linker, rather than always exit successfully. Patch by Floris Bruynooghe. ........
* implement a detach() method for BufferedIOBase and TextIOBase #5883Benjamin Peterson2009-05-012-8/+99
|
* Merged revisions 72081 via svnmerge fromThomas Heller2009-04-282-6/+6
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72081 | thomas.heller | 2009-04-28 21:23:41 +0200 (Di, 28 Apr 2009) | 3 lines Issue #4305: ctypes fails to build on mipsel-linux-gnu (detects mips instead of mipsel) ........
* Merged revisions 72054 via svnmerge fromAntoine Pitrou2009-04-272-1741/+2019
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72054 | antoine.pitrou | 2009-04-27 23:53:26 +0200 (lun., 27 avril 2009) | 5 lines Issue #1734234: Massively speedup `unicodedata.normalize()` when the string is already in normalized form, by performing a quick check beforehand. Original patch by Rauli Ruohonen. ........
* Merged revisions 71906 via svnmerge fromThomas Heller2009-04-251-146/+142
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r71906 | thomas.heller | 2009-04-25 18:37:18 +0200 (Sa, 25 Apr 2009) | 1 line Issue #5078: Avoid redundant call to FormatError() ........
* Merged revisions 71853 via svnmerge fromThomas Heller2009-04-247-516/+515
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r71853 | thomas.heller | 2009-04-24 22:31:47 +0200 (Fr, 24 Apr 2009) | 3 lines Issue #3102: All global symbols that the _ctypes extension defines are now prefixed with 'Py' or '_ctypes'. ........
* Merged revisions 71847 via svnmerge fromThomas Heller2009-04-241-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r71847 | thomas.heller | 2009-04-24 22:00:41 +0200 (Fr, 24 Apr 2009) | 2 lines Issue 5041: ctypes unwilling to allow pickling wide character. ........
* Issue #5463: Remove deprecated float coercion from struct module, alongMark Dickinson2009-04-191-77/+51
| | | | | with the _PY_STRUCT_FLOAT_COERCE constant. Simplify tests accordingly, and reenable (now-fixed) broken tests.
* use NULL for the ends of tablesBenjamin Peterson2009-04-196-12/+12
|
* Issue #5734: BufferedRWPair was poorly tested and had several glaring bugs.Antoine Pitrou2009-04-191-19/+24
| | | | Patch by Brian Quinlan.
* Make sure that marshal and pickle continue to output 17Mark Dickinson2009-04-171-1/+1
| | | | digits of precision for floats.
* The other half of Issue #1580: use short float repr where possible.Eric Smith2009-04-161-8/+23
| | | | | | | | | | | | | | Addresses the float -> string conversion, using David Gay's code which was added in Mark Dickinson's checkin r71663. Also addresses these, which are intertwined with the short repr changes: - Issue #5772: format(1e100, '<') produces '1e+100', not '1.0e+100' - Issue #5515: 'n' formatting with commas no longer works poorly with leading zeros. - PEP 378 Format Specifier for Thousands Separator: implemented for floats.
* Merged revisions 71640-71641 via svnmerge fromThomas Heller2009-04-164-20/+1
| | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r71640 | thomas.heller | 2009-04-16 08:26:33 +0200 (Do, 16 Apr 2009) | 1 line Remove unneeded code. ........ r71641 | thomas.heller | 2009-04-16 08:42:02 +0200 (Do, 16 Apr 2009) | 2 lines Remove duplicated function declaration. Make _pagesize static. ........
* Merging r70958 from the trunk, regarding http://bugs.python.org/issue5623Kristján Valur Jónsson2009-04-131-39/+24
|
* Merged revisions ↵Benjamin Peterson2009-04-112-25/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 70980,71059,71225,71234,71241,71243,71249,71251,71255,71266,71299,71329,71397-71398,71486 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r70980 | jack.diederich | 2009-04-01 15:26:13 -0500 (Wed, 01 Apr 2009) | 3 lines bounds check arguments to mmap.move(). All of them. Really. fixes crasher on OS X 10.5 ........ r71059 | mark.dickinson | 2009-04-02 13:39:37 -0500 (Thu, 02 Apr 2009) | 2 lines sys.long_info attributes should be ints, not longs ........ r71225 | georg.brandl | 2009-04-05 06:54:07 -0500 (Sun, 05 Apr 2009) | 1 line #5580: no need to use parentheses when converterr() argument is actually a type description. ........ r71234 | georg.brandl | 2009-04-05 08:16:35 -0500 (Sun, 05 Apr 2009) | 1 line Whitespace normalization. ........ r71241 | georg.brandl | 2009-04-05 09:48:49 -0500 (Sun, 05 Apr 2009) | 1 line #5471: fix expanduser() for $HOME set to "/". ........ r71243 | georg.brandl | 2009-04-05 10:14:29 -0500 (Sun, 05 Apr 2009) | 1 line #5432: make plistlib docstring a raw string, since it contains examples with backslash escapes. ........ r71249 | georg.brandl | 2009-04-05 11:30:43 -0500 (Sun, 05 Apr 2009) | 1 line #5444: adapt make.bat to new htmlhelp output file name. ........ r71251 | georg.brandl | 2009-04-05 12:17:42 -0500 (Sun, 05 Apr 2009) | 1 line #5298: clarify docs about GIL by using more consistent wording. ........ r71255 | georg.brandl | 2009-04-05 13:34:58 -0500 (Sun, 05 Apr 2009) | 1 line #602893: add indicator for current line in cgitb that doesnt rely on styling alone. ........ r71266 | georg.brandl | 2009-04-05 15:23:13 -0500 (Sun, 05 Apr 2009) | 1 line Normalize issue referencing style. ........ r71299 | gregory.p.smith | 2009-04-05 18:43:58 -0500 (Sun, 05 Apr 2009) | 3 lines Fixes issue5705: os.setuid() and friends did not accept the same range of values that pwd.getpwnam() returns. ........ r71329 | benjamin.peterson | 2009-04-06 16:53:33 -0500 (Mon, 06 Apr 2009) | 1 line add create_connection to __all__ #5711 ........ r71397 | georg.brandl | 2009-04-08 11:36:39 -0500 (Wed, 08 Apr 2009) | 1 line Remove redundant backtick. ........ r71398 | georg.brandl | 2009-04-08 11:39:04 -0500 (Wed, 08 Apr 2009) | 1 line Update ignore file for suspicious builder. ........ r71486 | andrew.kuchling | 2009-04-11 11:18:14 -0500 (Sat, 11 Apr 2009) | 1 line Re-word ........
* #5502: accelerate binary buffered IO (especially small operations).Antoine Pitrou2009-04-111-104/+154
| | | | On a suggestion by Victor Stinner.
* Merged revisions 71210 via svnmerge fromGuilherme Polo2009-04-102-3/+5
| | | | | | | | | | svn+ssh://pythondev/python/trunk ........ r71210 | guilherme.polo | 2009-04-04 23:11:19 -0300 (Sat, 04 Apr 2009) | 1 line Include tkinter.h only after including tk.h (or the equivalent for another platform). ........
* Merged revisions 71229,71271 via svnmerge fromMatthias Klose2009-04-071-2/+2
| | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r71229 | matthias.klose | 2009-04-05 14:43:08 +0200 (So, 05 Apr 2009) | 3 lines - Py_DECREF: Add `do { ... } while (0)' to avoid compiler warnings. (avoiding brown paper typo this time) ........ r71271 | matthias.klose | 2009-04-05 23:19:13 +0200 (So, 05 Apr 2009) | 3 lines Issue #1113244: Py_XINCREF, Py_DECREF, Py_XDECREF: Add `do { ... } while (0)' to avoid compiler warnings. ........
* Merged revisions 70908,70939,71009,71022,71036 via svnmerge fromBenjamin Peterson2009-04-055-14/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r70908 | jesse.noller | 2009-03-31 17:20:35 -0500 (Tue, 31 Mar 2009) | 1 line Issue 5619: Pass MS CRT debug flags into subprocesses ........ r70939 | jesse.noller | 2009-03-31 22:45:50 -0500 (Tue, 31 Mar 2009) | 1 line Fix multiprocessing.event to match the new threading.Event API ........ r71009 | jesse.noller | 2009-04-01 19:03:28 -0500 (Wed, 01 Apr 2009) | 1 line issue5545: Switch to Autoconf for multiprocessing; special thanks to Martin Lowis for help ........ r71022 | jesse.noller | 2009-04-01 21:32:55 -0500 (Wed, 01 Apr 2009) | 1 line Issue 3110: Additional protection for SEM_VALUE_MAX on platforms, thanks to Martin Loewis ........ r71036 | jesse.noller | 2009-04-01 23:22:09 -0500 (Wed, 01 Apr 2009) | 1 line Issue 3551: Raise ValueError if the size causes ERROR_NO_SYSTEM_RESOURCES ........
* Merge revision 71222 from trunk: #5615: make it possible to configure ↵Georg Brandl2009-04-053-6/+43
| | | | --without-threads again.
* Initialize the tk_init_failed static variable to 0.Alexandre Vassalotti2009-04-051-1/+1
|
* fix typo #5687Benjamin Peterson2009-04-051-1/+1
|
* Issue 5682: Move _io module into its own subdirectory.Alexandre Vassalotti2009-04-049-1/+1
| | | | Reviewed by: Antoine Pitrou
* #5391 make mmap work exclusively with bytesBenjamin Peterson2009-04-041-4/+4
|
* Py_BuildValue's 'c' code should use byte strings #5666Benjamin Peterson2009-04-032-3/+3
|
* Update a comment about why the __module__ can sometime be NULL.Alexandre Vassalotti2009-04-031-3/+6
| | | | Initialize last_string and arg member of Unpickler.
* Issue #5640: Fix _multibytecodec so that CJK codecs don't repeatHye-Shik Chang2009-04-021-1/+1
| | | | | error replacement returned by codec error callbacks twice in IncrementalEncoder and StreamWriter.
* Merged revisions 70953 via svnmerge fromJesse Noller2009-04-011-0/+3
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r70953 | hirokazu.yamamoto | 2009-04-01 10:13:52 -0500 (Wed, 01 Apr 2009) | 1 line Fixed compile error on windows. ........
* Merged revisions 70931 via svnmerge fromJack Diederich2009-04-011-1/+48
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r70931 | jack.diederich | 2009-03-31 19:46:48 -0400 (Tue, 31 Mar 2009) | 1 line #5228: add pickle support to functools.partial ........
* fix TextIOWrapper.read() when the buffer is not readable #5628Benjamin Peterson2009-03-311-0/+5
|
* Merged revisions 70908 via svnmerge fromJesse Noller2009-03-311-0/+6
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r70908 | jesse.noller | 2009-03-31 17:20:35 -0500 (Tue, 31 Mar 2009) | 1 line Issue 5619: Pass MS CRT debug flags into subprocesses ........
* Merged revisions 70879 via svnmerge fromHirokazu Yamamoto2009-03-311-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r70879 | hirokazu.yamamoto | 2009-04-01 05:14:04 +0900 | 1 line Issue #5387: Fixed mmap.move crash by integer overflow. (take2) ........
* Merged revisions 70849,70852 via svnmerge fromJesse Noller2009-03-312-2/+6
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r70849 | jesse.noller | 2009-03-31 13:12:35 -0500 (Tue, 31 Mar 2009) | 1 line Apply patch for netbsd multiprocessing support ........ r70852 | jesse.noller | 2009-03-31 13:27:14 -0500 (Tue, 31 Mar 2009) | 1 line missed the news/acks for netbsd patch ........
* Merged revisions 70800 via svnmerge fromHirokazu Yamamoto2009-03-311-4/+2
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r70800 | hirokazu.yamamoto | 2009-03-31 22:13:05 +0900 | 1 line Issue #5387: Fixed mmap.move crash by integer overflow. ........