Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | modify other occurrence of test_bad_address | Antoine Pitrou | 2008-12-15 | 1 | -1/+1 |
| | |||||
* | try to fix failure in test_bad_address on some buildbots | Antoine Pitrou | 2008-12-14 | 1 | -1/+1 |
| | |||||
* | Backport r67759 (fix io.IncrementalNewlineDecoder for UTF-16 et al.). | Antoine Pitrou | 2008-12-14 | 1 | -41/+73 |
| | |||||
* | Add file that was missed from r67750 | Nick Coghlan | 2008-12-14 | 1 | -0/+203 |
| | |||||
* | Fix several issues relating to access to source code inside zipfiles. ↵ | Nick Coghlan | 2008-12-14 | 4 | -23/+86 |
| | | | | Initial work by Alexander Belopolsky. See Misc/NEWS in this checkin for details. | ||||
* | Issue #4163: Use unicode-friendly word splitting in the textwrap functions ↵ | Antoine Pitrou | 2008-12-13 | 1 | -1/+9 |
| | | | | when given an unicode string. | ||||
* | Issue #4616: TarFile.utime(): Restore directory times on Windows. | Lars Gustäbel | 2008-12-12 | 1 | -6/+3 |
| | |||||
* | Issue #4084: Fix max, min, max_mag and min_mag Decimal methods to | Facundo Batista | 2008-12-11 | 1 | -0/+17 |
| | | | | | | give correct results in the case where one argument is a quiet NaN and the other is a finite number that requires rounding. Thanks Mark Dickinson. | ||||
* | #4559: When a context manager's __exit__() method returns an object whose | Amaury Forgeot d'Arc | 2008-12-10 | 1 | -0/+30 |
| | | | | | | | conversion to bool raises an exception, 'with' loses that exception. Reviewed by Jeffrey Yasskin. Already ported to 2.5, will port to 2.6 and 3.0 | ||||
* | Add simple unittests for Request | Jeremy Hylton | 2008-12-09 | 1 | -1/+47 |
| | |||||
* | Issue 4597: Fix several cases in EvalFrameEx where an exception could be | Jeffrey Yasskin | 2008-12-08 | 1 | -0/+14 |
| | | | | "raised" without setting x, err, or why to let the eval loop know. | ||||
* | Issue #4509: bugs in bytearray with exports (buffer protocol) | Antoine Pitrou | 2008-12-06 | 1 | -0/+32 |
| | |||||
* | Issue #4445: save 3 bytes (on average, on a typical machine) per | Mark Dickinson | 2008-12-05 | 1 | -2/+2 |
| | | | | string allocation. | ||||
* | #4529: fix parser's validation for try-except-finally statements. | Georg Brandl | 2008-12-05 | 1 | -0/+10 |
| | |||||
* | #4458: recognize "-" as an argument, not a malformed option in gnu_getopt(). | Georg Brandl | 2008-12-05 | 1 | -0/+5 |
| | |||||
* | rename the new check_call_output to check_output. its less ugly. | Gregory P. Smith | 2008-12-05 | 1 | -11/+11 |
| | |||||
* | Adds a subprocess.check_call_output() function to return the output from a | Gregory P. Smith | 2008-12-04 | 1 | -0/+34 |
| | | | | process on success or raise an exception on error. | ||||
* | Issue #1055234: cgi.parse_header(): Fixed parsing of header parameters to | Fred Drake | 2008-12-04 | 1 | -0/+26 |
| | | | | | support unusual filenames (such as those containing semi-colons) in Content-Disposition headers. | ||||
* | Issue #4384: Added logging integration with warnings module using ↵ | Vinay Sajip | 2008-12-03 | 1 | -2/+29 |
| | | | | captureWarnings(). This change includes a NullHandler which does nothing; it will be of use to library developers who want to avoid the "No handlers could be found for logger XXX" message which can appear if the library user doesn't configure logging. | ||||
* | Backport r67478 | Raymond Hettinger | 2008-12-03 | 1 | -0/+2 |
| | |||||
* | Reflow long lines. | Jeremy Hylton | 2008-11-29 | 1 | -5/+10 |
| | |||||
* | Add unittests that verify documented behavior of public methods in Transport | Jeremy Hylton | 2008-11-24 | 1 | -1/+86 |
| | | | | | | | | class. These methods can be overridden. The tests verify that the overridden methods are called, and that changes to the connection have a visible effect on the request. | ||||
* | #4396 make the parser module correctly validate the with syntax | Benjamin Peterson | 2008-11-24 | 1 | -0/+4 |
| | |||||
* | backport r67325: make FileIO.mode always contain 'b' | Benjamin Peterson | 2008-11-22 | 2 | -9/+9 |
| | |||||
* | don't segfault when \N escapes are used and unicodedata fails to load | Benjamin Peterson | 2008-11-21 | 1 | -2/+25 |
| | | | | Fixes #4367 | ||||
* | Fixed issue #4233. | Amaury Forgeot d'Arc | 2008-11-20 | 1 | -0/+24 |
| | | | | | | | | | | Changed semantic of _fileio.FileIO's close() method on file objects with closefd=False. The file descriptor is still kept open but the file object behaves like a closed file. The FileIO object also got a new readonly attribute closefd. Approved by Barry Backport of r67106 from the py3k branch | ||||
* | backport r67300 | Benjamin Peterson | 2008-11-20 | 1 | -0/+31 |
| | |||||
* | oops! didn't mean to disable that test | Benjamin Peterson | 2008-11-20 | 1 | -1/+1 |
| | |||||
* | make sure that bytearray methods return a new bytearray even if there is no ↵ | Benjamin Peterson | 2008-11-19 | 1 | -0/+10 |
| | | | | | | | change Fixes #4348 Reviewed by Brett | ||||
* | #4317: Fix an Array Bounds Read in imageop.rgb2rgb8. | Amaury Forgeot d'Arc | 2008-11-18 | 1 | -1/+2 |
| | | | | Will backport to 2.4. | ||||
* | when __getattr__ is a descriptor, call it correctly; fixes #4230 | Benjamin Peterson | 2008-11-17 | 1 | -0/+40 |
| | | | | patch from Ziga Seilnacht | ||||
* | check for assignment to __debug__ during AST generation | Benjamin Peterson | 2008-11-08 | 1 | -10/+8 |
| | | | | Also, give assignment to None a better error message | ||||
* | move a FileIO test to test_fileio | Benjamin Peterson | 2008-11-03 | 2 | -8/+9 |
| | |||||
* | #4048 make the parser module accept relative imports as valid | Benjamin Peterson | 2008-11-03 | 1 | -0/+2 |
| | |||||
* | make sure the parser flags and passed onto the compiler | Benjamin Peterson | 2008-10-31 | 2 | -0/+14 |
| | | | | | This fixes "from __future__ import unicode_literals" in an exec statment See #4225 | ||||
* | Issue #4237: io.FileIO() was raising invalid warnings caused by insufficient ↵ | Christian Heimes | 2008-10-30 | 1 | -0/+7 |
| | | | | initialization of PyFileIOObject struct members. | ||||
* | Issue #4176: Pickle would crash the interpreter when a __reduce__ function | Amaury Forgeot d'Arc | 2008-10-30 | 1 | -0/+23 |
| | | | | | | | | | does not return an iterator for the 4th and 5th items. (sequence-like and mapping-like state) A list is not an iterator... Will backport to 2.6 and 2.5. | ||||
* | Fixed a modulefinder crash on certain relative imports. | Thomas Heller | 2008-10-30 | 1 | -0/+16 |
| | |||||
* | Fix one of the tests: it relied on being present in an "output test" in | Armin Rigo | 2008-10-28 | 1 | -7/+3 |
| | | | | | | order to actually test what it was supposed to test, i.e. that the code in the __del__ method did not crash. Use instead the new helper test_support.captured_output(). | ||||
* | add forgotten test for r67030 | Benjamin Peterson | 2008-10-26 | 1 | -0/+21 |
| | |||||
* | fix __future__ imports when multiple features are given | Benjamin Peterson | 2008-10-26 | 1 | -2/+6 |
| | |||||
* | give a py3k warning when 'nonlocal' is used as a variable name | Benjamin Peterson | 2008-10-25 | 1 | -41/+23 |
| | |||||
* | Issue #4183: Some tests didn't run with pickle.HIGHEST_PROTOCOL. | Hirokazu Yamamoto | 2008-10-23 | 2 | -3/+3 |
| | |||||
* | #4157 move two test functions out of platform.py. | Amaury Forgeot d'Arc | 2008-10-21 | 1 | -0/+34 |
| | | | | | | Turn them into unit tests, and correct an obvious typo: (("a", "b") ("c", "d") ("e", "f")) compiles even with the missing commas, but does not execute very well... | ||||
* | make sure to call iteritems() | Benjamin Peterson | 2008-10-21 | 1 | -3/+1 |
| | |||||
* | give poplib a real test suite | Benjamin Peterson | 2008-10-11 | 1 | -23/+267 |
| | | | | #4088 from Giampaolo Rodola'x | ||||
* | #3935: properly support list subclasses in the C impl. of bisect. | Georg Brandl | 2008-10-08 | 1 | -0/+11 |
| | | | | Patch reviewed by Raymond. | ||||
* | #4069: aSet.remove(otherSet) would always report the empty frozenset([]) as ↵ | Amaury Forgeot d'Arc | 2008-10-07 | 1 | -0/+11 |
| | | | | | | | | the missing key. Now it correctly refers to the initial otherset. Reviewed by Raymond. Will backport to 2.6. | ||||
* | more intensive test on dbm. | Hirokazu Yamamoto | 2008-10-07 | 1 | -8/+10 |
| | |||||
* | save/restore stdout/stderr instead of relying on __*__ versions | Skip Montanaro | 2008-10-07 | 1 | -2/+4 |
| |