Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #13817: After fork(), reinit the ad-hoc TLS implementation earlier to fix | Charles-François Natali | 2012-02-02 | 1 | -1/+3 |
| | | | | | a random deadlock when fork() is called in a multithreaded process in debug mode, and make PyOS_AfterFork() more robust. | ||||
* | sqlite3: Handle strings with embedded zeros correctly | Petri Lehtinen | 2012-02-01 | 2 | -8/+9 |
| | | | | Closes #13676. | ||||
* | Fix zip_import.c's read_directory() to use appropriate types for the values | Gregory P. Smith | 2012-01-30 | 1 | -4/+5 |
| | | | | | | | | being read from the header vs the values being used by fseek and ftell (Py_ssize_t for those) and how they are computed. Py_ssize_t is used for actual file offsets so that files greater than 2gigs could be supported. Updates the Py_BuildValue format string to match (including several existing wrong 'i's that should have been 'l's). | ||||
* | Issue #13848: open() and the FileIO constructor now check for NUL characters ↵ | Antoine Pitrou | 2012-01-29 | 1 | -22/+11 |
| | | | | | | in the file name. Patch by Hynek Schlawack. | ||||
* | Issue #13806: The size check in audioop decompression functions was too ↵ | Antoine Pitrou | 2012-01-28 | 1 | -3/+3 |
| | | | | | | strict and could reject valid compressed data. Patch by Oleg Plakhotnyuk. | ||||
* | Issue #13885: CVE-2011-3389: the _ssl module would always disable the CBC IV ↵ | Antoine Pitrou | 2012-01-27 | 1 | -2/+4 |
|\ | | | | | | | attack countermeasure. | ||||
| * | Issue #13885: CVE-2011-3389: the _ssl module would always disable the CBC IV ↵ | Antoine Pitrou | 2012-01-27 | 1 | -1/+2 |
| | | | | | | | | attack countermeasure. | ||||
* | | - Issue #13840: Fix ctypes.create_string_buffer exception message and docs. | Meador Inge | 2012-01-26 | 1 | -1/+1 |
| | | |||||
* | | merge heads | Benjamin Peterson | 2012-01-24 | 1 | -11/+0 |
|\ \ | |||||
| * | | Issue #13772: In os.symlink() under Windows, do not try to guess the link | Antoine Pitrou | 2012-01-24 | 1 | -11/+0 |
| | | | | | | | | | | | | | | | target's type (file or directory). The detection was buggy and made the call non-atomic (therefore prone to race conditions). | ||||
* | | | fix declaration style | Benjamin Peterson | 2012-01-23 | 1 | -24/+31 |
|/ / | |||||
* | | Fix FreeBSD, NetBSD and OpenBSD behavior of the issue #8052 fix. | Gregory P. Smith | 2012-01-22 | 1 | -9/+47 |
| | | |||||
* | | Another issue #8052 bugfix (related to previous commit). | Gregory P. Smith | 2012-01-21 | 1 | -4/+2 |
| | | | | | | | | "oops" while rearranging the #defines. | ||||
* | | Bugfix for issue #8052 fix on *BSD variants. | Gregory P. Smith | 2012-01-21 | 1 | -9/+13 |
| | | | | | | | | | | Many lack readdir64, use readdir. Only use readdir64 on solaris where it is required to work around a solaris bug. | ||||
* | | Fixes issue #8052: The posix subprocess module's close_fds behavior was | Gregory P. Smith | 2012-01-21 | 1 | -35/+258 |
| | | | | | | | | | | | | | | | | suboptimal by closing all possible file descriptors rather than just the open ones in the child process before exec(). It now closes only the open fds when it is possible to safely determine what those are. | ||||
* | | Avoid the compiler warning about the unused return value. | Gregory P. Smith | 2012-01-21 | 1 | -6/+9 |
| | | |||||
* | | Fix the _io module leaking references when a sub-interpreter is created. | Antoine Pitrou | 2012-01-18 | 1 | -48/+36 |
| | | |||||
* | | #13665: s/string/bytes/ in error message. | Ezio Melotti | 2012-01-18 | 1 | -1/+1 |
| | | |||||
* | | Test running of code in a sub-interpreter | Antoine Pitrou | 2012-01-17 | 1 | -0/+27 |
| | | | | | | | | (prelude to issue #6531). | ||||
* | | Issue #9975: socket: Fix incorrect use of flowinfo and scope_id. Patch by | Charles-François Natali | 2012-01-02 | 1 | -8/+21 |
| | | | | | | | | Vilmos Nebehaj. | ||||
* | | Don't redefine _GNU_SOURCE if it's already defined. | Ross Lagerwall | 2011-12-22 | 1 | -2/+2 |
| | | |||||
* | | Issue #11006: Don't issue low level warning in subprocess when pipe2() fails. | Ross Lagerwall | 2011-12-22 | 1 | -6/+0 |
| | | |||||
* | | Handle correctly _Py_fopen() error: don't replace the exception | Victor Stinner | 2011-12-18 | 1 | -3/+5 |
| | | |||||
* | | Issue #13530: Document os.lseek() result | Victor Stinner | 2011-12-17 | 1 | -1/+2 |
| | | | | | | | | Patch written by Jérémy Anger. | ||||
* | | Issue #10951: Fix a compiler warning in timemodule.c | Victor Stinner | 2011-12-17 | 1 | -0/+4 |
| | | |||||
* | | main() now displays an error message before exiting if a command line argument | Victor Stinner | 2011-12-16 | 1 | -1/+5 |
| | | | | | | | | cannot be decoded | ||||
* | | Issue #10350: Read and save errno before calling a function which might ↵ | Antoine Pitrou | 2011-12-16 | 5 | -11/+27 |
| | | | | | | | | | | | | overwrite it. Original patch by Hallvard B Furuseth. | ||||
* | | Issue #4028: Make multiprocessing build on SunOS. | Charles-François Natali | 2011-12-14 | 1 | -1/+1 |
| | | |||||
* | | Issue #13505: Make pickling of bytes object compatible with Python 2. | Alexandre Vassalotti | 2011-12-13 | 1 | -13/+45 |
| | | | | | | | | Initial patch by sbt. | ||||
* | | Fix docstring typo. | Florent Xicluna | 2011-12-09 | 1 | -1/+1 |
| | | |||||
* | | Issue #5905: time.strftime() is now using the locale encoding, instead of | Victor Stinner | 2011-12-09 | 1 | -9/+4 |
| | | | | | | | | UTF-8, if the wcsftime() function is not available. | ||||
* | | Issue #13415: Test in configure if unsetenv() has a return value or not. | Charles-François Natali | 2011-11-27 | 1 | -0/+6 |
| | | |||||
* | | decref correct object | Benjamin Peterson | 2011-11-23 | 1 | -1/+1 |
| | | |||||
* | | plug refleak | Benjamin Peterson | 2011-11-23 | 1 | -1/+3 |
| | | |||||
* | | Issue #13458: Fix a memory leak in the ssl module when decoding a ↵ | Antoine Pitrou | 2011-11-23 | 1 | -0/+1 |
| | | | | | | | | | | | | certificate with a subjectAltName. Patch by Robert Xiao. | ||||
* | | Issue #13415: os.unsetenv() doesn't ignore errors anymore. | Victor Stinner | 2011-11-22 | 1 | -17/+11 |
| | | |||||
* | | Issue #13093: Fix error handling on PyUnicode_EncodeDecimal() | Victor Stinner | 2011-11-22 | 1 | -2/+49 |
| | | | | | | | | | | * Add tests for PyUnicode_EncodeDecimal() and PyUnicode_TransformDecimalToASCII() * Remove the unused "e" variable in replace() | ||||
* | | Issue #13322: Fix BufferedWriter.write() to ensure that BlockingIOError is | Antoine Pitrou | 2011-11-21 | 1 | -32/+46 |
| | | | | | | | | | | | | | | raised when the wrapped raw file is non-blocking and the write would block. Previous code assumed that the raw write() would raise BlockingIOError, but RawIOBase.write() is defined to returned None when the call would block. Patch by sbt. | ||||
* | | Fix few typos. | Florent Xicluna | 2011-11-11 | 1 | -1/+1 |
| | | |||||
* | | #13379: update Unicode version in unicodedata docstrings and comments. | Ezio Melotti | 2011-11-10 | 1 | -5/+6 |
| | | |||||
* | | Issue #13339: Fix compile error in posixmodule.c due to missing semicolon. | Ross Lagerwall | 2011-11-04 | 1 | -1/+1 |
| | | | | | | | | Thanks to Robert Xiao. | ||||
* | | Issue #12342: Improve _tkinter error message on unencodable character | Victor Stinner | 2011-11-03 | 1 | -2/+4 |
| | | |||||
* | | Issue #10570: curses.putp() is now expecting a byte string, instead of a | Victor Stinner | 2011-11-03 | 1 | -1/+2 |
| | | | | | | | | | | | | | | Unicode string. This is an incompatible change, but putp() is used to emit terminfo commands, which are bytes strings, not Unicode strings. | ||||
* | | Issue #10570: curses.tigetstr() is now expecting a byte string, instead of a | Victor Stinner | 2011-11-02 | 1 | -1/+1 |
| | | | | | | | | | | | | Unicode string. This is an incompatible change, but the previous behaviour was completly wrong. | ||||
* | | Closes #2892: preserve iterparse events in case of SyntaxError. | Florent Xicluna | 2011-11-01 | 1 | -15/+23 |
| | | |||||
* | | Issue #13255: wrong docstrings in array module. | Florent Xicluna | 2011-10-24 | 1 | -4/+4 |
| | | |||||
* | | 3.2 - Fix Issue 12604 - Use a proper no-op macro expansion for VTRACE macro ↵ | Senthil Kumaran | 2011-10-19 | 1 | -1/+1 |
| | | | | | | | | in _sre.c | ||||
* | | Issue #10653: Fix time.strftime() on Windows, check for invalid format strings | Victor Stinner | 2011-10-16 | 1 | -4/+4 |
| | | |||||
* | | Issue #10653: On Windows, use strftime() instead of wcsftime() because | Victor Stinner | 2011-10-14 | 1 | -0/+5 |
| | | | | | | | | wcsftime() doesn't format time zone correctly. | ||||
* | | Issue #13159: Replace FileIO's quadratic-time buffer growth algorithm with a ↵ | Nadeem Vawda | 2011-10-13 | 2 | -30/+8 |
| | | | | | | | | | | | | linear-time one. Also fix the bz2 module, whose classes used the same algorithm. |