summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Issue #16076: check for return value of PyTuple_New for args (followingEli Bendersky2013-01-121-8/+11
|\ | | | | | | Coverity report) and cleanup code.
| * Issue #16076: check for return value of PyTuple_New for args (followingEli Bendersky2013-01-121-8/+11
| | | | | | | | Coverity report) and cleanup code.
* | Close #16076: fix refleak in pickling of Element.Eli Bendersky2013-01-121-11/+5
|\ \ | |/ | | | | Thanks to Ezio Melotti and Daniel Shahaf for the patch.
| * Issue #16076: fix refleak in pickling of Element.Eli Bendersky2013-01-121-11/+5
| | | | | | | | Thanks to Ezio Melotti and Daniel Shahaf for the patch.
* | Issue #16876: Revert be8e6b81284e, which wasn't thread-safe: wait until aCharles-François Natali2013-01-121-32/+13
| | | | | | | | solution is found for poll().
* | Issue #16398: Optimize deque.rotate()Raymond Hettinger2013-01-121-14/+58
| |
* | Issue #16913: Fix Element.itertext()'s handling of text with XML entities.Eli Bendersky2013-01-101-3/+14
|\ \ | |/ | | | | Patch by Serhiy Storchaka
| * Issue #16913: Fix Element.itertext()'s handling of text with XML entities.Eli Bendersky2013-01-101-3/+14
| | | | | | | | Patch by Serhiy Storchaka
* | Issue #16076: make _elementtree.Element pickle-able in a way that is compatibleEli Bendersky2013-01-101-3/+177
|\ \ | |/ | | | | | | | | with the Python version of the class. Patch by Daniel Shahaf.
| * Issue #16076: make _elementtree.Element pickle-able in a way that is compatibleEli Bendersky2013-01-101-3/+177
| | | | | | | | | | | | with the Python version of the class. Patch by Daniel Shahaf.
* | Issue #16876: Optimize epoll.poll() by keeping a per-instance epoll eventsCharles-François Natali2013-01-091-13/+32
| | | | | | | | buffer instead of allocating a new one at each poll().
* | fcntl: add F_DUPFD_CLOEXEC constant, available on Linux 2.6.24+.Victor Stinner2013-01-071-0/+3
| |
* | Issue #15972: Fix error messages when os functions expecting a file name orSerhiy Storchaka2013-01-071-31/+35
|\ \ | |/ | | | | file descriptor receive the incorrect type.
| * Issue #15972: Fix error messages when os functions expecting a file name orSerhiy Storchaka2013-01-071-31/+35
| | | | | | | | file descriptor receive the incorrect type.
* | Fix returning uninitialized variable (issue #8109).Antoine Pitrou2013-01-061-1/+1
| | | | | | | | Found by Christian with Coverity.
* | Issue #8109: The ssl module now has support for server-side SNI, thanks to a ↵Antoine Pitrou2013-01-051-5/+248
| | | | | | | | | | | | :meth:`SSLContext.set_servername_callback` method. Patch by Daniel Black.
* | The get() and iter() are now able to accept keyword arguments.Eli Bendersky2013-01-051-8/+13
|\ \ | |/ | | | | | | In conformance with the documentation and the Python version. Patch by Franck Michea.
| * The get() and iter() are now able to accept keyword arguments.Eli Bendersky2013-01-051-8/+13
| | | | | | | | | | In conformance with the documentation and the Python version. Patch by Franck Michea.
* | Issue #16674: random.getrandbits() is now 20-40% faster for small integers.Serhiy Storchaka2013-01-041-0/+3
| |
* | Issue #16847: Fixed improper use of _PyUnicode_CheckConsistency() inChristian Heimes2013-01-036-0/+12
|\ \ | |/ | | | | | | non-pydebug builds. Several extension modules now compile cleanly when assert()s are enabled in standard builds (-DDEBUG flag).
| * Issue #16847: Fixed improper use of _PyUnicode_CheckConsistency() inChristian Heimes2013-01-035-0/+10
| | | | | | | | | | non-pydebug builds. Several extension modules now compile cleanly when assert()s are enabled in standard builds (-DDEBUG flag).
* | #16009: JSON error messages now provide more information. Patch by Serhiy ↵Ezio Melotti2013-01-031-24/+24
| | | | | | | | Storchaka.
* | (Merge 3.3) Issue #16367: Fix FileIO.readall() on Windows for files larger ↵Victor Stinner2013-01-031-2/+11
|\ \ | |/ | | | | than 2 GB.
| * (Merge 3.2) Issue #16367: Fix FileIO.readall() on Windows for files larger ↵Victor Stinner2013-01-031-2/+11
| |\ | | | | | | | | | than 2 GB.
| | * Issue #16367: Fix FileIO.readall() on Windows for files larger than 2 GBVictor Stinner2013-01-031-2/+11
| | |
* | | Issue #16828: Fix error incorrectly raised by bz2.compress(b'') and ↵Nadeem Vawda2013-01-021-16/+18
|\ \ \ | |/ / | | | | | | | | | | | | bz2.BZ2Compressor.compress(b''). Initial patch by Martin Packman.
| * | Issue #16828: Fix error incorrectly raised by bz2.compress('').Nadeem Vawda2013-01-021-16/+18
| |\ \ | | |/ | | | | | | Initial patch by Martin Packman.
| | * Issue #16828: Fix error incorrectly raised by bz2.compress('').Nadeem Vawda2013-01-021-1/+1
| | | | | | | | | | | | Patch by Martin Packman.
| | * Issue #9644: Fix the encoding used by os.statvfs(): use the filesystem encodingVictor Stinner2013-01-011-3/+7
| | | | | | | | | | | | with the surrogateescape error handler, instead of UTF-8 in strict mode.
* | | Issue #16841: Set st_dev on Windows as unsigned long to match its DWORD type.Serhiy Storchaka2013-01-021-1/+3
| | |
* | | Backed out changeset 61bada808b34Brian Curtin2013-01-011-2/+1
| | |
* | | Set st_dev on Windows as unsigned long to match its DWORD type, related to ↵Brian Curtin2013-01-011-1/+2
| | | | | | | | | | | | the change to fix #11939.
* | | Issue #9586: Merge.Richard Oudkerk2013-01-011-0/+7
|\ \ \ | |/ /
| * | Issue #9586: MergeRichard Oudkerk2013-01-011-0/+7
| |\ \ | | |/
| | * Issue #9586: Redefine SEM_FAILED on MacOSX to keep compiler happy.Richard Oudkerk2013-01-011-0/+7
| | |
* | | Make indentation consistentEli Bendersky2013-01-011-28/+28
|\ \ \ | |/ /
| * | Make indentation consistentEli Bendersky2013-01-011-28/+28
| | |
* | | Make indentation consistent and remove dead commented-out code.Eli Bendersky2012-12-311-7/+5
|\ \ \ | |/ /
| * | Make indentation consistent and remove dead commented-out code.Eli Bendersky2012-12-311-7/+5
| | |
* | | st_dev/st_rdev should be unsigned long as dwVolumeSerialNumber, which it is ↵Brian Curtin2012-12-311-2/+2
| | | | | | | | | | | | set to, is a DWORD. This was fixed in #11939 and the overflow was mentioned in #10657 and seen by me on some machines.
* | | Issue #16688: Fix backreferences did make case-insensitive regex fail on ↵Serhiy Storchaka2012-12-291-5/+6
|\ \ \ | |/ / | | | | | | | | | | | | non-ASCII strings. Patch by Matthew Barnett.
| * | Issue #16688: Fix backreferences did make case-insensitive regex fail on ↵Serhiy Storchaka2012-12-291-5/+6
| | | | | | | | | | | | | | | | | | non-ASCII strings. Patch by Matthew Barnett.
* | | Fix #11939. Set st_dev attribute on Windows to simplify os.path.samefile.Brian Curtin2012-12-261-26/+2
| | | | | | | | | | | | | | | | | | By setting the st_dev attribute, we can then remove some Windows-specific code and move os.path.samefile/sameopenfile/samestat to Lib/genericpath.py so all platforms share the same implementation.
* | | rename MathcObject to match object in doctrings for re module (#16760)Andrew Svetlov2012-12-251-1/+1
|\ \ \ | |/ /
| * | rename MathcObject to match object in doctrings for re module (#16760)Andrew Svetlov2012-12-251-1/+1
| |\ \ | | |/
| | * rename MathcObject to match object in doctrings for re module (#16760)Andrew Svetlov2012-12-251-1/+1
| | |
* | | Issue #15422: get rid of PyCFunction_New macroAndrew Svetlov2012-12-251-1/+1
| | |
* | | Issue #16443: Add docstrings to regular expression match objects.Andrew Svetlov2012-12-231-15/+55
|\ \ \ | |/ / | | | | | | Patch by Anton Kasyanov.
| * | Issue #16443: Add docstrings to regular expression match objects.Andrew Svetlov2012-12-231-15/+55
| |\ \ | | |/ | | | | | | Patch by Anton Kasyanov.
| | * Issue #16443: Add docstrings to regular expression match objects.Andrew Svetlov2012-12-231-15/+55
| | | | | | | | | | | | Patch by Anton Kasyanov.