summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Correction to f1509fc75435 - Issue #11583Brian Curtin2011-06-091-1/+4
| | | | | | Rather than wrapping the C _isdir function in a Python function, just import the C _isdir function directly. Additionally, add in the docstring which was left out.
* MergeBrian Curtin2011-06-091-0/+36
|
* Issue #12016: Reindent decoders of HK and JP codecsVictor Stinner2011-06-032-51/+52
|
* Branch mergeÉric Araujo2011-06-011-1/+1
|\
| * Fix error message to use the Python name instead of the C nameÉric Araujo2011-05-311-1/+1
| |
* | simply use the Python version for pyexpat.__version__ #12221Benjamin Peterson2011-05-311-21/+5
|/
* Issue #12175: RawIOBase.readall() now returns None if read() returns None.Victor Stinner2011-05-251-0/+8
|
* Issue #12175: FileIO.readall() now raises a ValueError instead of an IOError ifVictor Stinner2011-05-251-0/+2
| | | | the file is closed.
* Issue #12100: Don't reset incremental encoders of CJK codecs at each call toVictor Stinner2011-05-241-4/+4
| | | | | their encode() method anymore, but continue to call the reset() method if the final argument is True.
* Issue #12124: zipimport doesn't keep a reference to zlib.decompress() anymoreVictor Stinner2011-05-211-24/+23
| | | | to be able to unload the module.
* stop using the old brain-dead interface for providing attributes/methodsBenjamin Peterson2011-05-171-120/+118
| | | | This closes #12099.
* Issue #12050: zlib.decompressobj().decompress() now clears the unconsumed_tailNadeem Vawda2011-05-141-7/+12
| | | | attribute when called without a max_length argument.
* Issue #12062: In the `io` module, fix a flushing bug when doing a certainAntoine Pitrou2011-05-121-1/+1
| | | | | | type of I/O sequence on a file opened in read+write mode (namely: reading, seeking a bit forward, writing, then seeking before the previous write but still within buffered data, and writing again).
* #12051: Fix segfault in json.dumps() while encoding highly-nested objects ↵Ezio Melotti2011-05-101-2/+15
| | | | using the C accelerations.
* Issue #8498: In socket.accept(), allow to specify 0 as a backlog value inAntoine Pitrou2011-05-101-4/+7
| | | | order to accept exactly one connection. Patch by Daniel Evers.
* (Merge 3.1) Issue #12012: ssl.PROTOCOL_SSLv2 becomes optionalVictor Stinner2011-05-091-1/+7
| | | | | | | OpenSSL is now compiled with OPENSSL_NO_SSL2 defined (without the SSLv2 protocol) on Debian: fix the ssl module on Debian Testing and Debian Sid. Optimize also ssl.get_protocol_name(): speed does matter!
* #10169: Fix argument parsing in socket.sendto() to avoid error masking.Ezio Melotti2011-05-071-5/+15
|
* #12017: Fix segfault in json.loads() while decoding highly-nested objects ↵Ezio Melotti2011-05-071-4/+26
| | | | using the C accelerations.
* #11982: remove now unused function.Ezio Melotti2011-05-041-18/+0
|
* #11982: fix json.loads('""') to return u'' rather than ''.Ezio Melotti2011-05-041-1/+1
|
* (Merge 3.1) Issue #11277: mmap.mmap() calls fcntl(fd, F_FULLFSYNC) on Mac OS XVictor Stinner2011-05-031-0/+9
| | | | | to get around a mmap bug with sparse files. Patch written by Steffen Daode Nurpmeso.
* Issue #10517: After fork(), reinitialize the TLS used by the PyGILState_*Antoine Pitrou2011-04-271-0/+1
| | | | | APIs, to avoid a crash with the pthread implementation in RHEL 5. Patch by Charles-François Natali.
* (Merge 3.1) Issue #11768: The signal handler of the signal module only callsVictor Stinner2011-04-181-10/+16
| | | | | Py_AddPendingCall() for the first signal to fix a deadlock on reentrant or parallel calls. PyErr_SetInterrupt() writes also into the wake up file.
* Remove unnecessary call to PyErr_Clear.Ezio Melotti2011-04-111-1/+0
|
* #4877: Fix a segfault in xml.parsers.expat while attempting to parse a ↵Ezio Melotti2011-04-111-26/+12
| | | | closed file.
* hg pull/merge - Changes to accomodate.Senthil Kumaran2011-04-061-7/+8
|\
| * Issue #11576: Fixed timedelta subtraction glitch on big timedelta valuesAlexander Belopolsky2011-04-061-7/+8
| |
* | Issue #10762: Guard against invalid/non-supported format string '%f' on ↵Senthil Kumaran2011-04-061-1/+1
|/ | | | Windows. Patch Santoso Wijaya.
* Issue 11713: clarify docstring for collections.deque()Raymond Hettinger2011-03-301-1/+1
|
* let's keep parenthesis around sizeofBenjamin Peterson2011-03-281-3/+3
|
* fix missing variable declarationsBenjamin Peterson2011-03-261-0/+3
|
* always check return value of PyObject_IsInstance for errorBenjamin Peterson2011-03-261-19/+41
|
* check possible recursive _as_parameter_ to prevent segfault (closes #1838)Benjamin Peterson2011-03-261-1/+10
|
* Revert typo fixes in zlib/*Ezio Melotti2011-03-162-3/+3
|
* #11565: Fix several typos. Patch by Piotr Kasprzyk.Ezio Melotti2011-03-1613-21/+21
|
* Revert typo fixes in _cytpes/libffi*Ezio Melotti2011-03-154-6/+6
|
* #11515: fix several typos. Patch by Piotr Kasprzyk.Ezio Melotti2011-03-1510-12/+12
|
* Issue #11450: Don't truncate hg version info in Py_GetBuildInfo() whenAntoine Pitrou2011-03-091-1/+3
| | | | there are many tags (e.g. when using mq). Patch by Nadeem Vawda.
* Port build identification from default branch.Georg Brandl2011-03-061-3/+34
|
* Issue #11391: Writing to a mmap object created withAntoine Pitrou2011-03-061-5/+10
| | | | | `mmap.PROT_READ|mmap.PROT_EXEC` would segfault instead of raising a TypeError. Patch by Charles-François Natali.
* Merged revisions 88610 via svnmerge fromAntoine Pitrou2011-02-251-2/+49
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r88610 | antoine.pitrou | 2011-02-25 22:24:11 +0100 (ven., 25 févr. 2011) | 4 lines Issue #10956: Buffered I/O classes retry reading or writing after a signal has arrived and the handler returned successfully. ........
* Merged revisions 88486 via svnmerge fromAntoine Pitrou2011-02-211-48/+59
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r88486 | antoine.pitrou | 2011-02-22 00:41:12 +0100 (mar., 22 févr. 2011) | 5 lines Issue #4681: Allow mmap() to work on file sizes and offsets larger than 4GB, even on 32-bit builds. Initial patch by Ross Lagerwall, adapted for 32-bit Windows. ........
* Merged revisions 87919 via svnmerge fromAlexander Belopolsky2011-02-151-1/+4
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r87919 | alexander.belopolsky | 2011-01-10 20:21:25 -0500 (Mon, 10 Jan 2011) | 4 lines Issue #1726687: time.mktime() will now correctly compute value one second before epoch. Original patch by Peter Wang, reported by Martin Blais. ........
* Merged revisions ↵R. David Murray2011-02-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 86542,87136,87216,87221,87228,87256,87337-87338,87372,87516,87571,88164 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86542 | r.david.murray | 2010-11-19 22:48:58 -0500 (Fri, 19 Nov 2010) | 2 lines Make test class name unique so that both test classes run. ........ r87136 | r.david.murray | 2010-12-08 17:53:00 -0500 (Wed, 08 Dec 2010) | 6 lines Have script_helper._assert_python strip refcount strings from stderr. This makes the output of the function and those that depend on it independent of whether or not they are being run under a debug build. ........ r87216 | r.david.murray | 2010-12-13 17:50:30 -0500 (Mon, 13 Dec 2010) | 2 lines #10698: fix typo in example. ........ r87221 | r.david.murray | 2010-12-13 19:55:46 -0500 (Mon, 13 Dec 2010) | 4 lines #10699: fix docstring for tzset: it does not take a parameter Thanks to Garrett Cooper for the fix. ........ r87228 | r.david.murray | 2010-12-13 21:25:43 -0500 (Mon, 13 Dec 2010) | 2 lines Turn on regrtest -W (rerun immediately) option for Windows, too. ........ r87256 | r.david.murray | 2010-12-14 21:19:14 -0500 (Tue, 14 Dec 2010) | 2 lines #10705: document what the values of debuglevel are and mean. ........ r87337 | r.david.murray | 2010-12-17 11:11:40 -0500 (Fri, 17 Dec 2010) | 2 lines #10559: provide instructions for accessing sys.argv when first mentioned. ........ r87338 | r.david.murray | 2010-12-17 11:29:07 -0500 (Fri, 17 Dec 2010) | 2 lines #10454: clarify the compileall docs and help messages. [changes to compileall.py were not backported, only the doc changes] ........ r87372 | r.david.murray | 2010-12-18 11:39:06 -0500 (Sat, 18 Dec 2010) | 2 lines #10728: the default for printing help is sys.stdout, not stderr. ........ r87516 | r.david.murray | 2010-12-27 15:09:32 -0500 (Mon, 27 Dec 2010) | 5 lines #7056: runtest and runtest_inner don't use testdir, so drop it from their sigs I've only tested regular runs and -j runs. If I've broken anything else I'm sure I'll hear about it sooner or later. ........ r87571 | r.david.murray | 2010-12-29 14:06:48 -0500 (Wed, 29 Dec 2010) | 2 lines Fix same typo in docs. ........ r88164 | r.david.murray | 2011-01-24 14:34:58 -0500 (Mon, 24 Jan 2011) | 12 lines #10960: fix 'stat' links, link to lstat from stat, general tidy of stat doc. Original patch by Michal Nowikowski, with some additions and wording fixes by me. I changed the wording from 'Performs a stat system call' to 'Performs the equivalent of a stat system call', since on Windows there are no stat/lstat system calls involved. I also extended Michal's breakout of the attributes into a list to the other paragraphs, and rearranged the order of the paragraphs in the 'stat' docs to make it flow better and put it in what I think is a more logical/useful order. ........
* Merged revisions 88284 via svnmerge fromAntoine Pitrou2011-01-312-1/+15
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r88284 | antoine.pitrou | 2011-01-31 22:08:57 +0100 (lun., 31 janv. 2011) | 4 lines Issue #8275: Fix passing of callback arguments with ctypes under Win64. Patch by Stan Mihai. Ok'ed by Georg. ........
* Issue 11004: Fix edge case for deque.count().Raymond Hettinger2011-01-251-4/+7
|
* Merged revisions 88131 via svnmerge fromAntoine Pitrou2011-01-201-0/+11
| | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r88131 | antoine.pitrou | 2011-01-20 22:07:24 +0100 (jeu., 20 janv. 2011) | 6 lines Issue #10955: Fix a potential crash when trying to mmap() a file past its length. Initial patch by Ross Lagerwall. This fixes a regression introduced by r88022. ........
* Merged revisions 88111 via svnmerge fromAntoine Pitrou2011-01-191-0/+2
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r88111 | antoine.pitrou | 2011-01-19 16:21:35 +0100 (mer., 19 janv. 2011) | 4 lines Issue #10898: Allow compiling the posix module when the C library defines a symbol named FSTAT. ........
* Merged revisions 88036 via svnmerge fromAntoine Pitrou2011-01-151-0/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r88036 | antoine.pitrou | 2011-01-15 18:25:58 +0100 (sam., 15 janv. 2011) | 3 lines Fix mmap and test_mmap under Windows too (followup to r88022) ........
* Merged revisions 88022 via svnmerge fromAntoine Pitrou2011-01-151-1/+1
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r88022 | antoine.pitrou | 2011-01-15 17:17:07 +0100 (sam., 15 janv. 2011) | 7 lines Issue #10916: mmap should not segfault when a file is mapped using 0 as length and a non-zero offset, and an attempt to read past the end of file is made (IndexError is raised instead). Patch by Ross Lagerwall. Requested by Georg. ........