summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Issue #15905: Fix theoretical buffer overflow in handling of sys.argv[0],Christian Heimes2013-07-221-4/+12
| | | | prefix and exec_prefix if the operation system does not obey MAXPATHLEN.
* Now all error paths of _freeze_importlib use 'goto error' and the error ↵Christian Heimes2013-07-211-19/+18
| | | | label cleans up all used resources.
* Issue #18514: Fix unreachable Py_DECREF() call in PyCData_FromBaseObj()Christian Heimes2013-07-211-1/+1
|
* Fix reference and memory leaks in _freeze_importlibChristian Heimes2013-07-211-0/+3
|
* Check return value of PyEval_GetGlobals() for NULLChristian Heimes2013-07-201-2/+7
| | | | CID 486814
* Check return value of flush_character_buffer()Christian Heimes2013-07-201-1/+3
| | | | CID 486663
* Issue #18513: Add workaround for OS X 10.8 cexp bug that leads to wrong ↵Mark Dickinson2013-07-201-0/+7
| | | | cmath.rect(0.0,-0.0) results.
* Add missing check of PyDict_Update()'s return value in _elementtree.cChristian Heimes2013-07-201-1/+2
| | | | CID 719637
* Add missing check of PyDict_SetItem()'s return valueChristian Heimes2013-07-201-1/+4
| | | | CID 486659
* #18480: Add missing PyType_Ready call to _elementtree extensionRonald Oussoren2013-07-191-5/+9
|
* Fix posix_chflags(): return_value was uninitialized when follow_symlinks=FalseVictor Stinner2013-07-181-1/+1
| | | | whereas the fchmodat() function is not avaialble.
* Issue #18344: Fix potential ref-leaks in _bufferedreader_read_all().Richard Oudkerk2013-07-151-48/+45
|
* Issue #18101: Tcl.split() now process strings nested in a tuple as itSerhiy Storchaka2013-07-111-0/+15
| | | | | | do with byte strings. Added tests for Tcl.split() and Tcl.splitline().
* #18399: fix comment typo.R David Murray2013-07-101-1/+1
| | | | Patch by Andrew Rowe.
* Issue #18343: faulthandler.register() now keeps the previous signal handlerVictor Stinner2013-07-011-1/+2
| | | | | when the function is called twice, so faulthandler.unregister() restores correctly the original signal handler.
* Singular form just like the other error message.Christian Heimes2013-07-011-1/+1
|
* Issue #18339: Negative ints keys in unpickler.memo dict no longer cause aChristian Heimes2013-07-011-0/+5
| | | | segfault inside the _pickle C extension.
* Fix time.strftime("%Y") on AIX: raise a ValueError for year > 9999Victor Stinner2013-06-251-1/+1
| | | | time.strtime("%Y") returned "2345" when formatting year 12345.
* Issue #18135: ssl.SSLSocket.write() now raises an OverflowError if the inputVictor Stinner2013-06-241-2/+7
| | | | | | string in longer than 2 gigabytes, and ssl.SSLContext.load_cert_chain() raises a ValueError if the password is longer than 2 gigabytes. The ssl module does not support partial write.
* Check for correct macro, code uses S_ISDIR().Christian Heimes2013-06-231-1/+1
|
* Issue #18135: Fix a possible integer overflow in ssl.SSLSocket.write()Victor Stinner2013-06-231-5/+11
| | | | | and in ssl.SSLContext.load_cert_chain() for strings and passwords longer than 2 gigabytes.
* _ssl.c: strip trailing spacesVictor Stinner2013-06-231-5/+5
|
* Closes #18220: expand itertools.islice docstring to 2 linesAndrew Kuchling2013-06-221-1/+2
|
* Close #18285: add 'repeat' parameter to docstring for productAndrew Kuchling2013-06-221-1/+1
|
* #18113: avoid segfault if Py_XDECREF triggers code that calls ↵Andrew Kuchling2013-06-221-3/+8
| | | | | | set_panel_userptr again Problem noted & original patch by Serhiy Storchaka; I tweaked the patch a bit.
* Closes #18239: correct description of count() in module docstringAndrew Kuchling2013-06-211-1/+1
|
* fix libffi build on AIX (closes #18248)Benjamin Peterson2013-06-192-2/+2
|
* fixed libffi on PPC without __NO_FPRS__Christian Heimes2013-06-191-1/+3
| | | | ISO C90 forbids mixed declarations and code
* Issue #18259: Declare sethostname in socketmodule.c for AIXChristian Heimes2013-06-191-0/+5
|
* Fix for r84195: add HAVE_ALLOCA_H to configure and only include alloca.h if ↵Christian Heimes2013-06-181-0/+3
| | | | it's available
* ctypes: AIX needs an explicit #include <alloca.h> to get alloca()Victor Stinner2013-06-171-0/+1
|
* Describe 'surrogateescape' in the documentation.Andrew Kuchling2013-06-162-4/+5
| | | | | | Also, improve some docstring descriptions of the 'errors' parameter. Closes #14015.
* #18113: Objects associated to a curses.panel object with set_userptr() were ↵Andrew Kuchling2013-06-151-0/+4
| | | | | | leaked. Reported by Atsuo Ishimoto.
* Ensure that the fix for #17269 also works on OSX 10.4Ronald Oussoren2013-06-101-1/+1
| | | | AI_NUMERICSERV isn't defined on OSX 10.4.
* Close #18109: os.uname() now decodes fields from the locale encoding, andVictor Stinner2013-06-032-9/+9
| | | | | socket.gethostname() now decodes the hostname from the locale encoding, instead of using the UTF-8 encoding in strict mode.
* Support multiarch build in tests.Stefan Krah2013-05-291-7/+8
|
* Backport bff16086f03b and bcaaaa00425b.Stefan Krah2013-05-291-5/+5
|
* Issue #17768: Support newline fill character in decimal.py and NUL fillStefan Krah2013-05-293-15/+59
| | | | character in _decimal.c.
* Issue #18025: Fixed a segfault in io.BufferedIOBase.readinto() when rawSerhiy Storchaka2013-05-281-0/+8
| | | | stream's read() returns more bytes than requested.
* Issue #13772: Restored directory detection of targets in `os.symlink` on ↵Jason R. Coombs2013-05-281-2/+127
| | | | Windows, which was temporarily removed in Python 3.2.3 due to an incomplete implementation. The implementation now works even if the symlink is created in a location other than the current directory.
* Issue #13612: handle unknown encodings without a buffer overflow.Eli Bendersky2013-05-252-73/+28
| | | | | | | This affects pyexpat and _elementtree. PyExpat_CAPI now exposes a new function - DefaultUnknownEncodingHandler. Based on a patch by Serhiy Storchaka.
* indicate that read/write work with bytes (closes #18009)Benjamin Peterson2013-05-241-3/+3
|
* Issue #17269: Workaround for a platform bug in getaddrinfo on OSXRonald Oussoren2013-05-241-0/+9
| | | | | Without this patch socket.getaddrinfo crashed when called with some unusual argument combinations.
* Issue #16986: ElementTree now correctly parses a string input not only whenSerhiy Storchaka2013-05-222-9/+31
| | | | an internal XML encoding is UTF-8 or US-ASCII.
* Issue #17989: fix typo in error messageEli Bendersky2013-05-191-1/+1
|
* Issue #17901: fix TreeBuilder construction for an explicit element_factory=NoneEli Bendersky2013-05-181-1/+1
| | | | Based on report and patch by Aaron Oakley.
* Issue #17989: element_setattro returned incorrect error value.Eli Bendersky2013-05-181-8/+8
| | | | This caused an exception to be raised later than expected.
* C89 declaration complianceBenjamin Peterson2013-05-162-2/+3
|
* - Fix typos in the multiprocessing module.doko@ubuntu.com2013-05-151-1/+1
|
* prevent double free in cleanup code (#17968)Benjamin Peterson2013-05-141-0/+1
|