- 26 Dec, 2010 6 commits
-
-
R. David Murray authored
If a .pth file contained an error, it could cause a traceback in site.py, terminating its processing. In 2.7 and 3.2, the interpreter will then not start. Previously, a message would print saying to use -v to get the traceback. In either case, the traceback generated for a failed .pth file did not include the .pth filename, making it difficult to debug the problem. Now site.py reports not only the .pth filename but also the line number causing the error, and just skips the remainder of the file.
-
Vinay Sajip authored
-
Éric Araujo authored
-
Terry Reedy authored
-
Éric Araujo authored
-
Éric Araujo authored
-
- 25 Dec, 2010 2 commits
-
-
Victor Stinner authored
pipes (bug specific to Windows). Improve also the unit test: write a portable unit test.
-
Brian Quinlan authored
-
- 24 Dec, 2010 16 commits
-
-
Brian Quinlan authored
-
R. David Murray authored
The RFC is bit hard to understand on this point, but the examples clearly show that parameter values that are encoded according to its charset/language rules don't have surrounding quotes, and the ABNF does not allow for quotes. So when we produce such encoded values, we no longer add quotes.
-
Terry Reedy authored
-
Raymond Hettinger authored
-
Vinay Sajip authored
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
Raymond Hettinger authored
New output looks like this: Traceback (most recent call last): File "test.py", line 5, in test_ce self.assertCountEqual('abracadabra xx', 'simsalabim xx') AssertionError: Element counts were not equal: Expected 5, got 2: 'a' Expected 2, got 1: 'b' Expected 0, got 2: 'i' Expected 0, got 2: 'm' Expected 0, got 1: 'l' Expected 0, got 2: 's' Expected 1, got 0: 'c' Expected 1, got 0: 'd' Expected 2, got 0: 'r'
-
Alexander Belopolsky authored
-
Senthil Kumaran authored
problem with Content-Length header and uncommenting the test.
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
Alexander Belopolsky authored
-
- 23 Dec, 2010 14 commits
-
-
Benjamin Peterson authored
-
Éric Araujo authored
-
Terry Reedy authored
Addition OKed by GB on IRC (R. David Murray). No backport.
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Raymond Hettinger authored
part of the iterator had been consumed. Also, fix argument names which did not match the docs and were a bit misleading.
-
R. David Murray authored
Original patch by Thomas Herve.
-
R. David Murray authored
self.handlers is still used in one urllib2 test, but not by the code iteslf.
-
Éric Araujo authored
-
Éric Araujo authored
-
Éric Araujo authored
-
Alexander Belopolsky authored
-
Alexander Belopolsky authored
-
- 22 Dec, 2010 2 commits
-
-
Antoine Pitrou authored
-
Michael Foord authored
-