Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #11286: Raise a ValueError from calling PyMemoryView_FromBuffer with | Antoine Pitrou | 2011-02-24 | 1 | -0/+11 |
| | | | | a buffer struct having a NULL data pointer. | ||||
* | Issue #11286: Fixed unpickling of empty 2.x strings. | Alexander Belopolsky | 2011-02-24 | 1 | -5/+0 |
| | |||||
* | Issue #8914: fix various warnings from the Clang static analyzer v254. | Brett Cannon | 2011-02-22 | 17 | -43/+24 |
| | |||||
* | Issue #10924: Adding salt and Modular Crypt Format to crypt library. | Sean Reifscheider | 2011-02-22 | 2 | -3/+3 |
| | |||||
* | Issue #4681: Allow mmap() to work on file sizes and offsets larger than | Antoine Pitrou | 2011-02-21 | 1 | -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 Pitrou | 2011-02-21 | 1 | -2/+2 |
| | |||||
* | Fix issues on 32-bit systems introduced by r88460 | Antoine Pitrou | 2011-02-21 | 1 | -6/+6 |
| | |||||
* | Issue #10276: Fix the results of zlib.crc32() and zlib.adler32() on buffers | Antoine Pitrou | 2011-02-21 | 1 | -2/+22 |
| | | | | larger than 4GB. Patch by Nadeem Vawda. | ||||
* | #941346: Fix broken shared library build on AIX. Patch by Sebastien Sable, ↵ | Georg Brandl | 2011-02-15 | 1 | -1/+1 |
| | | | | review by Antoine Pitrou. | ||||
* | Issue #11135: Remove redundant doc field from PyType_Spec. | Martin v. Löwis | 2011-02-11 | 1 | -6/+4 |
| | | | | Reviewed by Georg Brandl. | ||||
* | Issue #11067: Add PyType_GetFlags, to support PyUnicode_Check | Martin v. Löwis | 2011-02-05 | 1 | -1/+7 |
| | | | | in the limited ABI | ||||
* | There was a possibility that the initialization of _sqlite, when it failed, | Brett Cannon | 2011-02-04 | 1 | -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 Pitrou | 2011-01-31 | 2 | -1/+15 |
| | | | | Patch by Stan Mihai. Ok'ed by Georg. | ||||
* | Issue #10989: Fix a crash on SSLContext.load_verify_locations(None, True). | Victor Stinner | 2011-01-29 | 1 | -1/+1 |
| | | | | Patch reviewed by Antoine Pitrou, okayed by Georg Brandl. | ||||
* | Issue #11004: Repair edge case in deque.count(). | Raymond Hettinger | 2011-01-25 | 1 | -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 Pitrou | 2011-01-23 | 1 | -12/+19 |
| | |||||
* | Issue #10955: zipimport uses ASCII at bootstrap | Victor Stinner | 2011-01-22 | 1 | -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 its | Antoine Pitrou | 2011-01-20 | 1 | -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 defines | Antoine Pitrou | 2011-01-19 | 1 | -0/+2 |
| | | | | a symbol named FSTAT. | ||||
* | Fix mmap and test_mmap under Windows too (followup to r88022)v3.2rc1 | Antoine Pitrou | 2011-01-15 | 1 | -0/+1 |
| | |||||
* | Issue #10916: mmap should not segfault when a file is mapped using 0 as | Antoine Pitrou | 2011-01-15 | 1 | -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 Bendersky | 2011-01-14 | 1 | -1/+0 |
| | | | | __INSURE__. Issue 9844 | ||||
* | Issue #5109: array.array constructor will now use fast code when | Alexander Belopolsky | 2011-01-11 | 1 | -5/+15 |
| | | | | initial data is provided in an array object with correct type. | ||||
* | Issue #1726687: time.mktime() will now correctly compute value one | Alexander Belopolsky | 2011-01-11 | 1 | -1/+4 |
| | | | | | second before epoch. Original patch by Peter Wang, reported by Martin Blais. | ||||
* | Issue #9611: remove useless and dangerous explicit conversion to size_t | Victor Stinner | 2011-01-11 | 2 | -3/+3 |
| | |||||
* | Issue #9566: Fix pyparse.xmlparser.ParseFile() | Victor Stinner | 2011-01-10 | 1 | -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 mode | Antoine Pitrou | 2011-01-09 | 1 | -7/+34 |
| | | | | | | if available. (at Georg's request) | ||||
* | Issue #10864: limit year to [1; 9999] for strftime() on Solaris | Victor Stinner | 2011-01-08 | 1 | -1/+1 |
| | |||||
* | Issue #1777412: Remove all limits on tm_year from time.strftime() | Victor Stinner | 2011-01-08 | 1 | -8/+1 |
| | | | | The buildbots will tell us which platform does support or not negative years. | ||||
* | Issue #1777412: strftime() accepts year >= 1 instead of year >= 1900 | Victor Stinner | 2011-01-08 | 1 | -6/+12 |
| | | | | | * With Visual Studio, year have to be in [1; 9999] * Add more tests on the year field | ||||
* | Fixed error handling branches. Thanks | Alexander Belopolsky | 2011-01-08 | 1 | -14/+19 |
| | | | | Victor Stinner for pointing this out. | ||||
* | Issue #1777412: extended year range of strftime down to 1000. | Alexander Belopolsky | 2011-01-08 | 2 | -8/+8 |
| | |||||
* | Issue #10827: Changed the rules for 2-digit years. The time.asctime | Alexander Belopolsky | 2011-01-07 | 1 | -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 newlines | Victor Stinner | 2011-01-07 | 2 | -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 Belopolsky | 2011-01-06 | 1 | -19/+5 |
| | |||||
* | Issue #7858: Raise an error properly when os.utime() fails under Windows | Antoine Pitrou | 2011-01-06 | 1 | -0/+1 |
| | | | | | | on an existing file. (this does not seem to be easily testable) | ||||
* | Use PyOS_snprintf for better portability. | Alexander Belopolsky | 2011-01-06 | 1 | -5/+5 |
| | |||||
* | - time.accept2dyear = True is now equivalent to time.accept2dyear = 1 | Alexander Belopolsky | 2011-01-05 | 1 | -34/+19 |
| | | | | | | - removed unnecessary struct_time to tuple conversion - added more unit tests (See issue #10827 for discussion.) | ||||
* | Issue #10756: atexit normalizes the exception before displaying it. | Victor Stinner | 2011-01-05 | 1 | -0/+1 |
| | |||||
* | test_unicode: use ctypes to test PyUnicode_FromFormat() | Victor Stinner | 2011-01-05 | 1 | -12/+0 |
| | | | | | Instead of _testcapi.format_unicode() because it has a limited API: it requires exactly one argument of type unicode. | ||||
* | Issue #9566: PyUnicode_FromFormatV() doesn't support %zi, use %zd instead | Victor Stinner | 2011-01-04 | 1 | -1/+1 |
| | |||||
* | Issue #9566: explain why (int)len cannot underflow | Victor Stinner | 2011-01-04 | 1 | -0/+1 |
| | |||||
* | Whitespace cleanup | Alexander Belopolsky | 2011-01-04 | 1 | -2/+1 |
| | |||||
* | Issue #8013: time.asctime and time.ctime no longer call system asctime | Alexander Belopolsky | 2011-01-04 | 1 | -22/+39 |
| | | | | | | | and ctime functions. The year range for time.asctime is now 1900 through maxint. The range for time.ctime is the same as for time.localtime. The string produced by these functions is longer than 24 characters when year is greater than 9999. | ||||
* | Issue #9566: use Py_ssize_t instead of int | Victor Stinner | 2011-01-04 | 10 | -26/+23 |
| | |||||
* | Issue #8650: zlib.compress() and zlib.decompress() raise an OverflowError if | Victor Stinner | 2011-01-04 | 1 | -4/+18 |
| | | | | | the input buffer length doesn't fit into an unsigned int (length bigger than 2^32-1 bytes). | ||||
* | Issue #9015, #9611: FileIO.readinto(), FileIO.write() and os.write() clamp the | Victor Stinner | 2011-01-04 | 2 | -6/+27 |
| | | | | length to 2^31-1 on Windows. | ||||
* | Issue #10333: Remove ancient GC API, which has been deprecated since | Antoine Pitrou | 2011-01-04 | 2 | -9/+1 |
| | | | | Python 2.2. | ||||
* | Issue #10806, issue #9905: Fix subprocess pipes when some of the standard | Antoine Pitrou | 2011-01-03 | 1 | -8/+21 |
| | | | | | file descriptors (0, 1, 2) are closed in the parent process. Initial patch by Ross Lagerwall. | ||||
* | Make C helper function more closely match the pure python version, and add ↵ | Raymond Hettinger | 2011-01-03 | 1 | -22/+49 |
| | | | | tests. |