Senthil Kumaran
3d0f388a6b
Remove the comment used while testing.
2010-11-29 12:42:29 +00:00
Senthil Kumaran
6f1070485f
Fix #10561 - Fix pdb behavior. Delete the breakpoints by breakpoint number.
...
Handle multiple breakpoints at same line. Update docs/test.
Patch by Xavier de Gaye.
2010-11-29 11:54:17 +00:00
Raymond Hettinger
ead22227cc
Issue #10565 : Iterator ABC should require both __next__ and __iter__.
2010-11-29 03:56:12 +00:00
Ezio Melotti
263cbdfdfb
Use assertCountEqual instead of assertItemsEqual
2010-11-29 02:02:10 +00:00
Raymond Hettinger
40b8cf528f
Do not add an obsolete unittest name to Py3.2.
2010-11-29 01:38:25 +00:00
Brian Curtin
fc889c48ed
Fix for #8879 .
...
Amaury noticed that this was originally written in a way that would fail on
names that can't be encoded with the mbcs codec. Restructured the function
to work with wide names first then narrow names second, to fall in line
with the way other functions are written in posixmodule.c.
2010-11-28 23:59:46 +00:00
Antoine Pitrou
e71362d3de
Issue #10518 : Bring back the callable() builtin.
...
Approved by Guido (BDFL) and Georg (RM).
2010-11-27 22:00:11 +00:00
Raymond Hettinger
6e165b30de
Issue 10242: unittest.assertItemsEqual makes too many assumptions.
2010-11-27 09:31:37 +00:00
Raymond Hettinger
db213a297d
Replace _nbits() with int.bit_length().
2010-11-27 08:09:40 +00:00
Alexander Belopolsky
1f75f5d506
Fixed deprecation warnings.
2010-11-26 18:51:39 +00:00
Georg Brandl
9aed6cca89
Modernize code in effective().
2010-11-26 12:05:27 +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
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
022f049fed
Issue #6878 : Fixed return type of tkinter methods documented to return lists.
2010-11-22 19:40:51 +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
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
2a0be783fe
Quote the paths in the event that they contain spaces.
2010-11-22 00:01:01 +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
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
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
Benjamin Peterson
0b458d52f9
count() should return integers #10474
2010-11-20 22:35:41 +00:00
Éric Araujo
2e579f0a87
Fix typos and style in compileall.
2010-11-20 21:53:02 +00:00
R. David Murray
650f147298
#10453 : compileall now uses argparse instead of getopt, so -h works.
...
Patch by Michele Orrù.
2010-11-20 21:18:51 +00:00
Georg Brandl
74abf6f873
#9724 : add nonlocal to pydoc topics.
2010-11-20 19:54:36 +00:00