Georg Brandl
d8d884947b
Merged revisions 85459-85465 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r85459 | georg.brandl | 2010-10-14 09:23:01 +0200 (Do, 14 Okt 2010) | 1 line
#9964 : Fix failure of test_dis under -OO.
........
r85460 | georg.brandl | 2010-10-14 09:24:28 +0200 (Do, 14 Okt 2010) | 1 line
#9964 : fix running test_import under -O or -OO.
........
r85461 | georg.brandl | 2010-10-14 09:29:08 +0200 (Do, 14 Okt 2010) | 1 line
#9964 : fix lib2to3 fixer fix_operator when running under -OO.
........
r85462 | georg.brandl | 2010-10-14 09:32:52 +0200 (Do, 14 Okt 2010) | 1 line
#9964 : fix running test_xml_etree under -OO.
........
r85463 | georg.brandl | 2010-10-14 09:34:56 +0200 (Do, 14 Okt 2010) | 1 line
Better check for "any optimize option given".
........
r85464 | georg.brandl | 2010-10-14 09:42:27 +0200 (Do, 14 Okt 2010) | 1 line
#9964 : fix running test_compileall under -O and -OO.
........
r85465 | georg.brandl | 2010-10-14 10:08:56 +0200 (Do, 14 Okt 2010) | 1 line
#9964 : fix running test_cmd_line_script under -O and -OO.
........
2010-11-26 07:29:03 +00:00
Georg Brandl
86e0c89b2a
Merged revisions 85455 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r85455 | georg.brandl | 2010-10-14 08:59:45 +0200 (Do, 14 Okt 2010) | 1 line
#1710703 : write zipfile structures also in the case of closing a new, but empty, archive.
........
2010-11-26 07:22:28 +00:00
Éric Araujo
31717e8a55
#10453 follow-up: Fix test_quiet on Windows, thanks to Stephan Krah.
2010-11-26 00:39:59 +00:00
Eric Smith
984bb58000
Issue #7094 : Add alternate ('#') flag to __format__ methods for float, complex and Decimal. Allows greater control over when decimal points appear. Added to make transitioning from %-formatting easier. '#g' still has a problem with Decimal which I'll fix soon.
2010-11-25 16:08:06 +00:00
Raymond Hettinger
5fa40c01ad
Clean-up docstring, comments, and whitespace.
2010-11-25 08:11:57 +00:00
Terry Reedy
99f9637de8
Issue 2986: Add autojunk paramater to SequenceMatcher to turn off heuristic. Patch by Terry Reedy, Eli Bendersky, and Simon Cross
2010-11-25 06:12:34 +00:00
Barry Warsaw
bd86301070
sys.abiflags is not defined on all platforms.
2010-11-25 03:46:44 +00:00
Barry Warsaw
d5eaa5fb5a
sys.abiflags may not be defined on all platforms.
2010-11-25 01:34:47 +00:00
Brian Curtin
1b9df39620
Fix #8879 . Add os.link support to Windows.
...
Additionally, the st_ino attribute of stat structures was not being filled
in. This was left out of the fix to #10027 and was noticed due to
test_tarfile failing when applying the patch for this issue. An earlier
version of the fix to #10027 included st_ino, but that attribute got lost
in the shuffle of a few review/fix cycles. All tests pass.
2010-11-24 20:24:31 +00:00
Barry Warsaw
14d98ac31b
Final patch for issue 9807.
2010-11-24 19:43:47 +00:00
Barry Warsaw
fdba067213
Remove unnecessary import.
2010-11-24 18:18:21 +00:00
Terry Reedy
277896ad4e
Issue 9222 Fix filetypes for open dialog
...
Merged from 86702
2010-11-23 06:44:05 +00:00
Terry Reedy
2b4cb96bf7
Issue 9222 Fix filetypes for open dialog
2010-11-23 06:07:04 +00:00
Terry Reedy
5e438570cb
Issue 9222 Fix filetypes for open dialog
2010-11-23 06:01:31 +00:00
Łukasz Langa
a9f054b423
zipfile: remove remaining ResourceWarnings
2010-11-23 00:15:02 +00:00
Łukasz Langa
e94980a64f
Issue #9846 : ZipExtFile provides no mechanism for closing the underlying file object
2010-11-22 23:31:26 +00:00
Alexander Belopolsky
5468f4ff10
Merged revisions 86697 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r86697 | alexander.belopolsky | 2010-11-22 14:40:51 -0500 (Mon, 22 Nov 2010) | 1 line
Issue #6878 : Fixed return type of tkinter methods documented to return lists.
........
2010-11-22 19:45:06 +00:00
Alexander Belopolsky
022f049fed
Issue #6878 : Fixed return type of tkinter methods documented to return lists.
2010-11-22 19:40:51 +00:00
Antoine Pitrou
55d935a145
Merged revisions 86694 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r86694 | antoine.pitrou | 2010-11-22 17:26:21 +0100 (lun., 22 nov. 2010) | 3 lines
Fix test_multiprocessing when ctypes isn't available
........
2010-11-22 16:35:57 +00:00
Antoine Pitrou
72d5a9d192
Merged revisions 86694 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r86694 | antoine.pitrou | 2010-11-22 17:26:21 +0100 (lun., 22 nov. 2010) | 3 lines
Fix test_multiprocessing when ctypes isn't available
........
2010-11-22 16:33:23 +00:00
Antoine Pitrou
7744e2ae5e
Fix test_multiprocessing when ctypes isn't available
2010-11-22 16:26:21 +00:00
Antoine Pitrou
0662bc297a
Fix tests when ctypes isn't available
2010-11-22 16:19:04 +00:00
Ezio Melotti
2baf1a69f4
#9424 : add a DeprecationWarning for assertEquals, assertNotEquals, assertAlmostEquals, assertNotAlmostEquals, and assert_
2010-11-22 12:56:58 +00:00
Michael Foord
b87ef8f872
Improve test for 'python -m unittest' launching test discovery
2010-11-22 10:41:27 +00:00
Martin v. Löwis
5cbc71e50a
Issue #10459 : Update CJK character names to Unicode 6.0.
2010-11-22 09:00:02 +00:00
Senthil Kumaran
0b7cac11bf
Merged revisions 86676 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r86676 | senthil.kumaran | 2010-11-22 12:48:26 +0800 (Mon, 22 Nov 2010) | 4 lines
Fix Issue4493 - urllib2 adds '/' to the path component of url, when it does not
starts with one. This behavior is exhibited by browser and other clients.
........
2010-11-22 05:04:33 +00:00
Senthil Kumaran
d17ebdba4a
Merged revisions 86676 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r86676 | senthil.kumaran | 2010-11-22 12:48:26 +0800 (Mon, 22 Nov 2010) | 4 lines
Fix Issue4493 - urllib2 adds '/' to the path component of url, when it does not
starts with one. This behavior is exhibited by browser and other clients.
........
2010-11-22 04:53:57 +00:00
Senthil Kumaran
c295862ce0
Fix Issue4493 - urllib2 adds '/' to the path component of url, when it does not
...
starts with one. This behavior is exhibited by browser and other clients.
2010-11-22 04:48:26 +00:00
Éric Araujo
5cb823d353
Fix one compileall test ( #10453 ). Patch by Michele Orrù.
2010-11-22 02:42:43 +00:00
Éric Araujo
300623d9b2
r84925 followup: add docstring for get_makefile_filename (+PEP 257 fixes)
2010-11-22 01:19:20 +00:00
Brian Curtin
558cc4e854
Merged revisions 86655 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r86655 | brian.curtin | 2010-11-21 18:01:01 -0600 (Sun, 21 Nov 2010) | 2 lines
Quote the paths in the event that they contain spaces.
........
2010-11-22 00:03:47 +00:00
Brian Curtin
b3d5531683
Merged revisions 86655 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r86655 | brian.curtin | 2010-11-21 18:01:01 -0600 (Sun, 21 Nov 2010) | 2 lines
Quote the paths in the event that they contain spaces.
........
2010-11-22 00:02:28 +00:00
Brian Curtin
2a0be783fe
Quote the paths in the event that they contain spaces.
2010-11-22 00:01:01 +00:00
Brian Curtin
2d011ed71c
Merged revisions 86651 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r86651 | brian.curtin | 2010-11-21 17:45:10 -0600 (Sun, 21 Nov 2010) | 5 lines
Fix #6378 . Start IDLE using the proper version of Python based on the directory
tree that idle.bat resides in.
Works with any/all versions of Python installed concurrently.
........
2010-11-21 23:50:51 +00:00
Brian Curtin
44c1db05fb
Merged revisions 86651 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r86651 | brian.curtin | 2010-11-21 17:45:10 -0600 (Sun, 21 Nov 2010) | 5 lines
Fix #6378 . Start IDLE using the proper version of Python based on the directory
tree that idle.bat resides in.
Works with any/all versions of Python installed concurrently.
........
2010-11-21 23:48:14 +00:00
Brian Curtin
f991642efe
Fix #6378 . Start IDLE using the proper version of Python based on the directory
...
tree that idle.bat resides in.
Works with any/all versions of Python installed concurrently.
2010-11-21 23:45:10 +00:00
Michael Foord
086f30815c
Issue 10470: 'python -m unittest' launches test discovery by default.(If you need to pass options to test discovery the discover subcommand must still be specified explicitly.)
2010-11-21 21:28:01 +00:00
Antoine Pitrou
3bce11cbbd
Make test_nntplib more robust
2010-11-21 17:14:19 +00:00
R. David Murray
719a449ba6
Fix TestBytesGeneratorIdempotent tests and a couple bugs they revealed.
...
The tests that were failing on (some) windows machines, where the
msg_XX.txt files used native \r\n lineseps are now also run on machines
that use \n natively, and conversely the \n tests are run on Windows.
The failing tests revealed one place where linesep needed to be added
to a flatten call in generator. There was also another that the tests
didn't catch, so I added a test for that case as well.
2010-11-21 16:53:48 +00:00
Senthil Kumaran
e4dad4f8e2
Fix issue3709 - BaseHTTPRequestHandler will buffer the headers and write only on end_headers call.
2010-11-21 14:36:14 +00:00
Łukasz Langa
a73dc9d5e8
configparser: read-only attributes to get the section name and parser from a SectionProxy instance
2010-11-21 13:56:42 +00:00
Łukasz Langa
5c86339bd0
Issue #10489 : removed broken __name__ support from configparser
2010-11-21 13:41:35 +00:00
Ezio Melotti
2623a37852
Merged revisions 86596 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r86596 | ezio.melotti | 2010-11-20 21:04:17 +0200 (Sat, 20 Nov 2010) | 1 line
#9424 : Replace deprecated assert* methods in the Python test suite.
........
2010-11-21 13:34:58 +00:00
Raymond Hettinger
d325c4b233
Revert r86517
2010-11-21 04:08:28 +00:00
Nick Coghlan
e0f04659cd
Issue #10220 : Add inspect.getgeneratorstate(). Initial patch by Rodolpho Eckhardt
2010-11-21 03:44:04 +00:00
Éric Araujo
a491cedaf4
Try to get more useful output from failing buildbot
2010-11-21 02:19:09 +00:00
Ezio Melotti
19f2aeba67
Merged revisions 86596 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r86596 | ezio.melotti | 2010-11-20 21:04:17 +0200 (Sat, 20 Nov 2010) | 1 line
#9424 : Replace deprecated assert* methods in the Python test suite.
........
2010-11-21 01:30:29 +00:00
Benjamin Peterson
d57bb55c7d
fix two broken tests
2010-11-20 23:03:34 +00:00
Benjamin Peterson
8d16ab3c56
merge all range tests into test_range
2010-11-20 23:01:55 +00:00
Benjamin Peterson
94ab7a0864
enable test that was commented out for whatever reason
2010-11-20 22:50:04 +00:00