summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Issue #5918: Fix a crash in the parser module.Antoine Pitrou2009-05-141-2/+2
| | | | Patch by Amaury.
* PyCode_NewEmpty:Jeffrey Yasskin2009-05-083-75/+19
| | | | | | | | Most uses of PyCode_New found by http://www.google.com/codesearch?q=PyCode_New are trying to build an empty code object, usually to put it in a dummy frame object. This patch adds a PyCode_NewEmpty wrapper which lets the user specify just the filename, function name, and first line number, instead of also requiring lots of code internals.
* Issue #5933: Fix gcc -Wextra compiler warnings (and remove someMark Dickinson2009-05-081-6/+6
| | | | trailing whitespace).
* Add a file that contains diffs between offical libffi files and theThomas Heller2009-05-081-0/+207
| | | | | files in this repository. Should make it easier to merge new libffi versions.
* Issue 3739: The unicode-internal encoder now reports the number of *characters*Walter Dörwald2009-05-061-1/+1
| | | | consumed like any other encoder (instead of the number of bytes).
* tabify :(Benjamin Peterson2009-05-051-5/+5
|
* fix running test_capi with -R ::Benjamin Peterson2009-05-051-0/+9
| | | | Also, fix a refleak in the test that was preventing running. :)
* Issue #5933: Fix some gcc -Wextra warnings. Thanks Victor Stinner forMark Dickinson2009-05-052-3/+3
| | | | the patch.
* #5932: fix error return in _convertPyInt_AsSsize_t() conversion function.Georg Brandl2009-05-051-3/+3
|
* Issue #5913: os.listdir() should fail for empty path on windows.Hirokazu Yamamoto2009-05-041-6/+7
|
* cleanup applied patch to match style that is already in py3k branch.Gregory P. Smith2009-05-041-15/+8
|
* Issue #4751: For hashlib algorithms provided by OpenSSL, the PythonGregory P. Smith2009-05-041-49/+106
| | | | GIL is now released during computation on data lengths >= 2048 bytes.
* Isue #5084: unpickling now interns the attribute names of pickled objects,Antoine Pitrou2009-05-021-1/+9
| | | | | saving memory and avoiding growth in size of subsequent pickles. Proposal and original patch by Jake McGuire.
* Issue #5726: Make Modules/ld_so_aix return the actual exit code of the ↵Antoine Pitrou2009-05-011-0/+3
| | | | | | linker, rather than always exit successfully. Patch by Floris Bruynooghe.
* Issue #4305: ctypes fails to build on mipsel-linux-gnu (detects mipsThomas Heller2009-04-282-6/+6
| | | | instead of mipsel)
* Issue #1734234: Massively speedup `unicodedata.normalize()` when theAntoine Pitrou2009-04-272-1741/+2019
| | | | | string is already in normalized form, by performing a quick check beforehand. Original patch by Rauli Ruohonen.
* Issue #5835, deprecate PyOS_ascii_formatd.Eric Smith2009-04-251-1/+2
| | | | | | If anyone wants to clean up the documentation, feel free. It's my first documentation foray, and it's not that great. Will port to py3k with a different strategy.
* Issue #5078: Avoid redundant call to FormatError()Thomas Heller2009-04-251-146/+142
|
* Issue #3102: All global symbols that the _ctypes extension defines areThomas Heller2009-04-247-525/+526
| | | | now prefixed with 'Py' or '_ctypes'.
* Issue 5041: ctypes unwilling to allow pickling wide character.Thomas Heller2009-04-241-1/+1
|
* Remove duplicated function declaration.Thomas Heller2009-04-162-2/+1
| | | | Make _pagesize static.
* Remove unneeded code.Thomas Heller2009-04-163-18/+0
|
* #5704: let python -3 imply -t as well.Georg Brandl2009-04-121-0/+4
|
* Fixes issue5705: os.setuid() and friends did not accept the same range ofGregory P. Smith2009-04-051-17/+55
| | | | values that pwd.getpwnam() returns.
* Issue #1113244: Py_XINCREF, Py_DECREF, Py_XDECREF: Add `do { ... } while (0)'Matthias Klose2009-04-051-2/+2
| | | | to avoid compiler warnings.
* #5615: make it possible to configure --without-threads again.Georg Brandl2009-04-052-6/+32
|
* Include tkinter.h only after including tk.h (or the equivalent for another ↵Guilherme Polo2009-04-052-3/+5
| | | | platform).
* Issue 3551: Raise ValueError if the size causes ERROR_NO_SYSTEM_RESOURCESJesse Noller2009-04-022-2/+12
|
* Issue 3110: Additional protection for SEM_VALUE_MAX on platforms, thanks to ↵Jesse Noller2009-04-021-5/+10
| | | | Martin Loewis
* issue5545: Switch to Autoconf for multiprocessing; special thanks to Martin ↵Jesse Noller2009-04-023-7/+13
| | | | Lowis for help
* bounds check arguments to mmap.move(). All of them. Really.Jack Diederich2009-04-011-9/+9
| | | | fixes crasher on OS X 10.5
* http://bugs.python.org/issue5623Kristján Valur Jónsson2009-04-011-33/+24
| | | | | Dynamically discoverd the size of the ioinfo struct used by the crt for its file descriptors. This should work across all flavors of the CRT. Thanks to Amaury Forgeot d'Arc Needs porting to 3.1
* Fixed compile error on windows.Hirokazu Yamamoto2009-04-011-0/+3
|
* #5228: add pickle support to functools.partialJack Diederich2009-03-311-1/+48
|
* Issue 5619: Pass MS CRT debug flags into subprocessesJesse Noller2009-03-311-0/+6
|
* Issue #5387: Fixed mmap.move crash by integer overflow. (take2)Hirokazu Yamamoto2009-03-311-1/+1
|
* Apply patch for netbsd multiprocessing supportJesse Noller2009-03-312-2/+6
|
* Issue #5387: Fixed mmap.move crash by integer overflow.Hirokazu Yamamoto2009-03-311-4/+2
|
* merge in patch from tim golden to fix contextmanager support for mp.Lock()Jesse Noller2009-03-301-1/+1
|
* Issue 5381: fix regression in pure python code path, Issue 5584: fix a ↵Bob Ippolito2009-03-291-1/+1
| | | | decoder bug for unicode float literals outside of a container
* Typo fixGuilherme Polo2009-03-281-1/+1
|
* Adjusted _tkinter to compile without warnings when WITH_THREAD is notGuilherme Polo2009-03-271-6/+29
| | | | defined (part of issue #5035)
* Issue #4688: Add a heuristic so that tuples and dicts containing onlyAntoine Pitrou2009-03-231-1/+29
| | | | | | | | | untrackable objects are not tracked by the garbage collector. This can reduce the size of collections and therefore the garbage collection overhead on long-running programs, depending on their particular use of datatypes. (trivia: this makes the "binary_trees" benchmark from the Computer Language Shootout 40% faster)
* Silence a compiler warning.Raymond Hettinger2009-03-191-1/+1
|
* Issue 5381: Add object_pairs_hook to the json module.Raymond Hettinger2009-03-191-11/+71
|
* Issue 4474: On platforms with sizeof(wchar_t) == 4 andMark Dickinson2009-03-181-0/+43
| | | | | | | | | sizeof(Py_UNICODE) == 2, PyUnicode_FromWideChar now converts each character outside the BMP to the appropriate surrogate pair. Thanks Victor Stinner for the patch. (backport of r70452 from py3k to trunk)
* merge json library with simplejson 2.0.9 (issue 4136)Bob Ippolito2009-03-171-133/+1841
|
* #5496: fix docstring of lookup().Georg Brandl2009-03-151-1/+1
|
* For collections.deque() objects, expose the maxlen parameter as a read-only ↵Raymond Hettinger2009-03-101-1/+15
| | | | attribute.
* Small optimization for corner case where maxlen==0.Raymond Hettinger2009-03-101-0/+23
|