Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | #15840: make docs consistent by saying operations on closed files raise ↵ | Andrew Kuchling | 2014-04-15 | 1 | -2/+2 |
| | | | | | | | | | | | | ValueError. Patch by Caelyn McAulay. Neither Caelyn nor I could find any cases in 2.7 or 3.4/5 where an operation on a closed stream raised IOError; generally the C implementation have a macro to check for the stream being closed, and these macros all raised ValueError. If we find any, a new bug should be opened. | ||||
* | add missing NULL check | Benjamin Peterson | 2014-04-14 | 1 | -5/+9 |
| | |||||
* | when an exception is raised in fdopen, never close the fd (changing on my ↵ | Benjamin Peterson | 2014-04-14 | 1 | -14/+27 |
| | | | | mind on #21191) | ||||
* | disallow a negative idx parameter | Benjamin Peterson | 2014-04-14 | 1 | -8/+10 |
| | |||||
* | in scan_once, prevent the reading of arbitrary memory when passed a negative ↵ | Benjamin Peterson | 2014-04-14 | 1 | -2/+8 |
| | | | | | | index Bug reported by Guido Vranken. | ||||
* | make sure fdopen always closes the fd in error cases (closes #21191) | Benjamin Peterson | 2014-04-09 | 1 | -4/+12 |
| | |||||
* | fix overflow detection of strop.expandtabs | Benjamin Peterson | 2014-03-31 | 1 | -13/+15 |
| | |||||
* | Issue #6676: Ensure a meaningful exception is raised when attempting | Ned Deily | 2014-03-27 | 1 | -1/+1 |
| | | | | | | to parse more than one XML document per pyexpat xmlparser instance. (Original patches by Hirokazu Yamamoto and Amaury Forgeot d'Arc, with suggested wording by David Gutteridge) | ||||
* | fix ctypes test alignment assumptions (closes #20946) | Benjamin Peterson | 2014-03-16 | 1 | -3/+3 |
| | | | | Patch by Andreas Schwab. | ||||
* | #13530: port to 2.7 branch (document what os.lseek returns). | Georg Brandl | 2014-03-11 | 1 | -1/+2 |
| | |||||
* | Issue #20283: RE pattern methods now accept the string keyword parameters | Serhiy Storchaka | 2014-03-06 | 1 | -16/+81 |
| | | | | | as documented. The pattern and source keyword parameters are left as deprecated aliases. | ||||
* | finish backing out #19081 | Benjamin Peterson | 2014-02-16 | 1 | -241/+53 |
| | |||||
* | backout #19081 to fix #20621 | Benjamin Peterson | 2014-02-16 | 1 | -102/+66 |
| | |||||
* | Issue #17671: Fixed a crash when use non-initialized io.BufferedRWPair. | Serhiy Storchaka | 2014-02-12 | 1 | -2/+7 |
| | | | | Based on patch by Stephen Tu. | ||||
* | avoid name clash with posix_close (closes #20594) | Benjamin Peterson | 2014-02-11 | 1 | -2/+6 |
| | |||||
* | Issue #20437: Fixed 43 potential bugs when deleting objects references. | Serhiy Storchaka | 2014-02-09 | 11 | -66/+35 |
| | |||||
* | Issue #20374: delete spurious empty line | Ned Deily | 2014-02-06 | 1 | -1/+0 |
| | |||||
* | Issue #20374: Avoid compiler warnings when compiling readline with libedit. | Ned Deily | 2014-02-06 | 1 | -0/+9 |
| | |||||
* | Issue #20368: The null character now correctly passed from Tcl to Python (in | Serhiy Storchaka | 2014-02-03 | 1 | -99/+116 |
| | | | | unicode strings only). Improved error handling in variables-related commands. | ||||
* | Remove inaccurate comment and a the related recently added | Gregory P. Smith | 2014-01-28 | 1 | -7/+0 |
| | | | | | | Py_VerboseFlag print that can never be triggered. prefix[0] is always equal to 0 at this point in the code. | ||||
* | Issue #19081: Remove the zipimporter.files reference as the zip TOC | Gregory P. Smith | 2014-01-27 | 1 | -55/+97 |
| | | | | | | | | | | | | | caches are module global in the zip_directory_cache. When it is updated due to a changed zip file, all zipimporter instances need to see the same updates TOC cache. This fixes the bug for the overlooked submodule import case from the earlier round of changes. Includes tests that would fail otherwise. It also refactors zipimporter_init in the process to make it a bit easier to read and understand. Less reuse of the same variable for multiple purposes and the local path buffer is malloc'ed instead of consuming a large MAXPATHLEN+2 chunk stack space. | ||||
* | new plan: just remove typecasts (closes #20374) | Benjamin Peterson | 2014-01-24 | 1 | -4/+4 |
| | |||||
* | use new readline function types (closes #20374) | Benjamin Peterson | 2014-01-24 | 1 | -3/+3 |
| | |||||
* | Issue #19936: Added executable bits or shebang lines to Python scripts which | Serhiy Storchaka | 2014-01-16 | 2 | -0/+0 |
| | | | | | | requires them. Disable executable bits and shebang lines in test and benchmark files in order to prevent using a random system python, and in source files of modules which don't provide command line interface. | ||||
* | remove overly strict assertion (closes #20251) | Benjamin Peterson | 2014-01-14 | 1 | -1/+0 |
| | |||||
* | correct defaultdict signature in docstring (closes #20250) | Benjamin Peterson | 2014-01-14 | 1 | -1/+3 |
| | | | | Patch from Andrew Barnert. | ||||
* | complain when nbytes > buflen to fix possible buffer overflow (closes #20246) | Benjamin Peterson | 2014-01-14 | 1 | -0/+4 |
| | |||||
* | Issue #20207: Always disable SSLv2 except when PROTOCOL_SSLv2 is explicitly ↵ | Antoine Pitrou | 2014-01-09 | 1 | -2/+5 |
| | | | | asked for. | ||||
* | fix zipimport ref leak | Benjamin Peterson | 2014-01-09 | 1 | -3/+1 |
| | |||||
* | cleanup for the issue 19081 fix - pull the file open and close outside of the | Gregory P. Smith | 2014-01-08 | 1 | -8/+8 |
| | | | | | zip_searchorder scanning loop in get_module_code(). [already done in 3.3 and 3.4] | ||||
* | Should fix the issue19081 fix on Windows. Don't let the previous | Gregory P. Smith | 2014-01-07 | 1 | -1/+4 |
| | | | | posix module ImportError cause the nt module import to fail. | ||||
* | Fixes issue19081: When a zipimport .zip file in sys.path being imported | Gregory P. Smith | 2014-01-06 | 1 | -53/+241 |
| | | | | | | | | | | | | | from is modified during the lifetime of the Python process after zipimport has already opened and cached the zip's table of contents it now fstat's the file after opening it upon every attempt to access anything within and will re-read the table of contents if the .zip file inode, size or mtime have changed. It would've been nicer to hold any .zip file used by zipimport open for the duration of the process but that would be more invasive and add an additional open file descriptor to all zipimport using processes. It also would likely not fix the problem on Windows due to different filesystem semantics. | ||||
* | Issue #20026: Fix the sqlite module to handle correctly invalid isolation level | Victor Stinner | 2013-12-19 | 1 | -1/+4 |
| | | | | (wrong type). | ||||
* | Issue #18829: csv.Dialect() now checks type for delimiter, escapechar and | Serhiy Storchaka | 2013-12-19 | 1 | -14/+20 |
| | | | | quotechar fields. Original patch by Vajrasky Kok. | ||||
* | remove trailing spaces. | Gregory P. Smith | 2013-12-18 | 1 | -7/+7 |
| | |||||
* | Issue #16404: Add checks for return value of PyInt_FromLong() in | Serhiy Storchaka | 2013-12-17 | 1 | -8/+1 |
| | | | | | sys.getwindowsversion() and ossaudiodev.setparameters(). Reported by Ned Batchelder. | ||||
* | Issue #17919: Fixed integer overflow in the eventmask parameter. | Serhiy Storchaka | 2013-12-14 | 1 | -7/+25 |
| | |||||
* | Issue #17919: select.poll.poll() again works with poll.POLLNVAL on AIX. | Serhiy Storchaka | 2013-12-13 | 1 | -3/+2 |
| | |||||
* | Issue #14432: Generator now clears the borrowed reference to the thread state | Victor Stinner | 2013-12-13 | 1 | -0/+94 |
| | | | | | | | Fix a crash when a generator is created in a C thread that is destroyed while the generator is still used. The issue was that a generator contains a frame, and the frame kept a reference to the Python state of the destroyed C thread. The crash occurs when a trace function is setup. | ||||
* | Issue #19099: The struct module now supports Unicode format strings. | Serhiy Storchaka | 2013-12-08 | 1 | -4/+19 |
| | |||||
* | Closes #19878: Fix segfault in bz2 module. | Nadeem Vawda | 2013-12-08 | 1 | -7/+10 |
| | | | | Initial patch by Vajrasky Kok. | ||||
* | Issue #6477: Revert fbb97f6eb3b3 as it broke test_xpickle. | Alexandre Vassalotti | 2013-12-01 | 1 | -63/+1 |
| | |||||
* | Issue #6477: Added pickling support for singletons and their types. | Alexandre Vassalotti | 2013-12-01 | 1 | -1/+63 |
| | |||||
* | Fix indentation from previous commit | Eli Bendersky | 2013-11-28 | 1 | -2/+2 |
| | |||||
* | Issue #19815: Fix segfault when parsing empty namespace declaration. | Eli Bendersky | 2013-11-28 | 1 | -1/+4 |
| | | | | Based on patches by Christian Heimes and Vajrasky Kok | ||||
* | Issue #11489: JSON decoder now accepts lone surrogates. | Serhiy Storchaka | 2013-11-26 | 1 | -36/+13 |
| | |||||
* | backport #18985: Improve fcntl documentation. | R David Murray | 2013-11-07 | 1 | -11/+13 |
| | |||||
* | Issue #19227 / Issue #18747: Remove pthread_atfork() handler to remove ↵ | Christian Heimes | 2013-10-29 | 1 | -65/+0 |
| | | | | | | OpenSSL re-seeding It is causing trouble like e.g. hanging processes. | ||||
* | Issue #19405: Fixed outdated comments in the _sre module. | Serhiy Storchaka | 2013-10-27 | 1 | -2/+1 |
| | |||||
* | just return toplevel symbol table rather than all blocks (closes #19393) | Benjamin Peterson | 2013-10-26 | 1 | -1/+1 |
| |