summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Issue 11351 - apply patch by Steffen Daode Nurpmeso which should fix ↵Giampaolo Rodolà2011-03-031-13/+29
| | | | TestSendfile.test_headers failure on OSX.
* Remove useless argument of _PyUnicode_AsDefaultEncodedString()Victor Stinner2011-03-022-2/+2
|
* Issue #10866: Add socket.sethostname(). Initial patch by Ross Lagerwall.Antoine Pitrou2011-02-281-0/+35
|
* Issue #11140: Lock.release() now raises a RuntimeError when attemptingAntoine Pitrou2011-02-281-1/+3
| | | | | to release an unacquired lock, as claimed in the threading documentation. The _thread.error exception is now an alias of RuntimeError.
* revert accidental formatting changeBenjamin Peterson2011-02-261-2/+3
|
* this isn't true anymoreBenjamin Peterson2011-02-261-3/+2
|
* Check error return from _parse_off_t(), and remove cruft from the 2->3 ↵Antoine Pitrou2011-02-261-5/+4
| | | | transition.
* Issue #10755: Add the posix.fdlistdir() function. Patch by Ross Lagerwall.Antoine Pitrou2011-02-251-0/+73
|
* Issue #4761: Add the *at() family of functions (openat(), etc.) to the posixAntoine Pitrou2011-02-251-0/+614
| | | | module. Patch by Ross Lagerwall.
* Issue #10956: Buffered I/O classes retry reading or writing after a signalAntoine Pitrou2011-02-251-2/+49
| | | | has arrived and the handler returned successfully.
* Issue 10784: adds os.getpriority() and os.setpriority() functions.Giampaolo Rodolà2011-02-251-0/+62
|
* Issue #11114: Fix catastrophic performance of tell() on text files (upAntoine Pitrou2011-02-251-39/+96
| | | | | to 1000x faster in some cases). It is still one to two order of magnitudes slower than binary tell().
* Rename internal helper function and make it static.Georg Brandl2011-02-251-5/+5
|
* Issue 10882: add os.sendfile(). (patch provided by Ross Lagerwall)Giampaolo Rodolà2011-02-251-16/+232
|
* Issue #11286: Raise a ValueError from calling PyMemoryView_FromBuffer withAntoine Pitrou2011-02-241-0/+11
| | | | a buffer struct having a NULL data pointer.
* Issue #11286: Fixed unpickling of empty 2.x strings.Alexander Belopolsky2011-02-241-5/+0
|
* Issue #8914: fix various warnings from the Clang static analyzer v254.Brett Cannon2011-02-2217-43/+24
|
* Issue #10924: Adding salt and Modular Crypt Format to crypt library.Sean Reifscheider2011-02-222-3/+3
|
* Issue #4681: Allow mmap() to work on file sizes and offsets larger thanAntoine Pitrou2011-02-211-48/+59
| | | | | 4GB, even on 32-bit builds. Initial patch by Ross Lagerwall, adapted for 32-bit Windows.
* Fix compile error under MSVC introduced by r88460.Antoine Pitrou2011-02-211-2/+2
|
* Fix issues on 32-bit systems introduced by r88460Antoine Pitrou2011-02-211-6/+6
|
* Issue #10276: Fix the results of zlib.crc32() and zlib.adler32() on buffersAntoine Pitrou2011-02-211-2/+22
| | | | larger than 4GB. Patch by Nadeem Vawda.
* #941346: Fix broken shared library build on AIX. Patch by Sebastien Sable, ↵Georg Brandl2011-02-151-1/+1
| | | | review by Antoine Pitrou.
* Issue #11135: Remove redundant doc field from PyType_Spec.Martin v. Löwis2011-02-111-6/+4
| | | | Reviewed by Georg Brandl.
* Issue #11067: Add PyType_GetFlags, to support PyUnicode_CheckMartin v. Löwis2011-02-051-1/+7
| | | | in the limited ABI
* There was a possibility that the initialization of _sqlite, when it failed,Brett Cannon2011-02-041-1/+1
| | | | | | would lead to a decref of a NULL. Fixes issue #11110.
* Issue #8275: Fix passing of callback arguments with ctypes under Win64.Antoine Pitrou2011-01-312-1/+15
| | | | Patch by Stan Mihai. Ok'ed by Georg.
* Issue #10989: Fix a crash on SSLContext.load_verify_locations(None, True).Victor Stinner2011-01-291-1/+1
| | | | Patch reviewed by Antoine Pitrou, okayed by Georg Brandl.
* Issue #11004: Repair edge case in deque.count().Raymond Hettinger2011-01-251-4/+7
| | | | | | | | | (Reviewed by Georg Brandl.) Also made similar changes to deque.reverse() though this wasn't strictly necessary (the edge case cannot occur with two pointers moving to meet in the middle). Making the change in reverse() was more a matter of future-proofing.
* Issue #10987: Fix the recursion limit handling in the _pickle module.Antoine Pitrou2011-01-231-12/+19
|
* Issue #10955: zipimport uses ASCII at bootstrapVictor Stinner2011-01-221-1/+19
| | | | | | | zipimport uses ASCII encoding instead of cp497 to decode filenames, at bootstrap, if the codec registry is not ready yet. It is still possible to have non-ASCII filenames using the Unicode flag (UTF-8 encoding) for file entries in the ZIP file.
* Issue #10955: Fix a potential crash when trying to mmap() a file past itsAntoine Pitrou2011-01-201-0/+11
| | | | | | length. Initial patch by Ross Lagerwall. This fixes a regression introduced by r88022.
* Issue #10898: Allow compiling the posix module when the C library definesAntoine Pitrou2011-01-191-0/+2
| | | | a symbol named FSTAT.
* Fix mmap and test_mmap under Windows too (followup to r88022)v3.2rc1Antoine Pitrou2011-01-151-0/+1
|
* Issue #10916: mmap should not segfault when a file is mapped using 0 asAntoine Pitrou2011-01-151-1/+1
| | | | | | | 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.
* Remove call to nonexisting function (relic from Python 2.x) under #ifdef ↵Eli Bendersky2011-01-141-1/+0
| | | | __INSURE__. Issue 9844
* Issue #5109: array.array constructor will now use fast code whenAlexander Belopolsky2011-01-111-5/+15
| | | | initial data is provided in an array object with correct type.
* Issue #1726687: time.mktime() will now correctly compute value oneAlexander Belopolsky2011-01-111-1/+4
| | | | | second before epoch. Original patch by Peter Wang, reported by Martin Blais.
* Issue #9611: remove useless and dangerous explicit conversion to size_tVictor Stinner2011-01-112-3/+3
|
* Issue #9566: Fix pyparse.xmlparser.ParseFile()Victor Stinner2011-01-101-22/+12
| | | | | | Fix readinst() if file.read(n) returns a bytes object longer than n: return -1 instead of the the buffer size to raise an exception. Simplify also the function code.
* Issue #10872: The repr() of TextIOWrapper objects now includes the modeAntoine Pitrou2011-01-091-7/+34
| | | | | | if available. (at Georg's request)
* Issue #10864: limit year to [1; 9999] for strftime() on SolarisVictor Stinner2011-01-081-1/+1
|
* Issue #1777412: Remove all limits on tm_year from time.strftime()Victor Stinner2011-01-081-8/+1
| | | | The buildbots will tell us which platform does support or not negative years.
* Issue #1777412: strftime() accepts year >= 1 instead of year >= 1900Victor Stinner2011-01-081-6/+12
| | | | | * With Visual Studio, year have to be in [1; 9999] * Add more tests on the year field
* Fixed error handling branches. ThanksAlexander Belopolsky2011-01-081-14/+19
| | | | Victor Stinner for pointing this out.
* Issue #1777412: extended year range of strftime down to 1000.Alexander Belopolsky2011-01-082-8/+8
|
* Issue #10827: Changed the rules for 2-digit years. The time.asctimeAlexander Belopolsky2011-01-071-15/+32
| | | | | | | | function will now format any year when time.accept2dyear is false and will accept years >= 1000 otherwise. The year range accepted by time.mktime and time.strftime is still system dependent, but time.mktime will now accept full range supported by the OS. Conversion of 2-digit years to 4-digit is deprecated.
* Issue #10841: set binary mode on files; the parser translates newlinesVictor Stinner2011-01-072-3/+11
| | | | | | On Windows, set the binary mode on stdin, stdout, stderr and all io.FileIO objects (to not translate newlines, \r\n <=> \n). The Python parser translates newlines (\r\n => \n).
* Further simplify gettmarg()Alexander Belopolsky2011-01-061-19/+5
|
* Issue #7858: Raise an error properly when os.utime() fails under WindowsAntoine Pitrou2011-01-061-0/+1
| | | | | | on an existing file. (this does not seem to be easily testable)