Terry Jan Reedy
e93bc51b59
Issue 12510: Expand 2 bare excepts. Improve comments. Change deceptive name
...
'name' to 'expression' as the latter is what the string actually represents.
The bug in this issue was only catching NameError and AttributeError when
evaluating an expression that was not necessarily a name.
2012-06-03 00:58:36 -04:00
Terry Jan Reedy
f0775131f9
Issue 10365: Add and replace comments; condense defaulted attribute access.
...
Code patch by Roger Serwy.
2012-06-02 20:22:35 -04:00
Ned Deily
5e247b705e
Issue #14962 : Update text coloring in IDLE shell window after changing
...
options. Patch by Roger Serwy.
2012-05-31 09:17:29 -07:00
Vinay Sajip
c3ea4085f9
Changed comment on test skip.
2012-05-31 12:35:13 +01:00
Ned Deily
7148984d61
Issue #10997 : Prevent a duplicate entry in IDLE's "Recent Files" menu.
2012-05-29 10:42:34 -07:00
Meador Inge
fe7aa49f24
Issue #9041 : raised exception is misleading
...
An issue in ctypes.c_longdouble, ctypes.c_double, and ctypes.c_float that
caused an incorrect exception to be returned in the case of overflow has been
fixed.
2012-05-28 13:52:59 -05:00
Terry Jan Reedy
d9d276b0dc
Issue12510: Attempting to get invalid tooltip no longer closes Idle.
...
Original patch by Roger Serwy.
2012-05-27 21:28:42 -04:00
Terry Jan Reedy
7f5d4104b4
#10365 Trim trailing whitespace
2012-05-26 20:45:35 -04:00
Terry Jan Reedy
eaa7e7825e
Issue #10365 : File open dialog now works instead of crashing
...
even when parent window is closed. Patch by Roger Serwy.
2012-05-26 20:33:32 -04:00
Terry Jan Reedy
42f7b7ecb2
Issue #14876 : Use user-selected font for highlight configuration.
...
Patch by Roger Serwy.
2012-05-26 16:55:43 -04:00
Richard Oudkerk
6a942528ec
Issue #14881 : Allow normal non-main thread to spawn a dummy process
...
Fix suggested by Itay Brandes
2012-05-25 12:56:33 +01:00
Hynek Schlawack
877effc298
#4841 : Fix FileIO constructor to honor closefd when called repeatedly
...
Patch by Victor Stinner.
2012-05-25 09:24:18 +02:00
Antoine Pitrou
8e6287f50d
Fix other test requirements.
2012-05-24 22:30:19 +02:00
Antoine Pitrou
0673088ded
Fix memory constraint for test_decodeascii
2012-05-24 22:08:51 +02:00
Senthil Kumaran
37484dc324
Issue #14036 : return None when port in urlparse cross 65535
2012-05-24 21:54:34 +08:00
Ezio Melotti
ed8cf7a543
#14875 : Use float('inf') instead of float('1e66666') in the json module.
2012-05-21 17:46:55 -06:00
Senthil Kumaran
9237bb638f
merge heads
2012-05-20 16:59:51 +08:00
Senthil Kumaran
9cffd882ab
Fix for issue14426 - buildbots here I come
2012-05-20 16:56:24 +08:00
Vinay Sajip
269d21336a
Temporarily disabled test_race on Windows.
2012-05-20 09:53:13 +01:00
Martin v. Löwis
ed11a5d018
Issue #8767 : Restore building with --disable-unicode.
...
Original patch by Stefano Taschini.
2012-05-20 10:42:17 +02:00
Senthil Kumaran
f439a36630
Issue #14426 : Correct the Date format in Expires attribute of Set-Cookie. Patch by Federico Reghenzani and Müte Invert
2012-05-20 12:02:44 +08:00
Vinay Sajip
7961bb3043
Merged upstream changes.
2012-05-19 16:52:33 +01:00
Vinay Sajip
7b57750db5
Ignore exceptions on test handler closing.
2012-05-19 16:50:07 +01:00
Petri Lehtinen
5f39706b07
#14494 : Document that absolute imports became default in 3.0 instead of 2.7.
2012-05-19 18:36:04 +03:00
Ezio Melotti
6d9c1b1617
#14072 : Fix parsing of tel URIs in urlparse by making the check for ports stricter.
2012-05-19 17:12:17 +03:00
Senthil Kumaran
618802d55e
Fix Issue14721: Send Content-length: 0 for empty body () in the http.request
2012-05-19 16:52:21 +08:00
Senthil Kumaran
ea24dda01f
Issue9374 - Generic parsing of query and fragment portion of urls for any scheme
2012-05-19 08:10:40 +08:00
Petri Lehtinen
280e9f7ce5
#14798 : pyclbr now raises ImportError instead of KeyError for missing packages
2012-05-18 21:54:25 +03:00
R David Murray
6949392b56
#14832 : 'first' now really refers to first arg in unittest assertItemsEqual
...
This appears to have been a mixup introduced when we switched from
'expected/actual' to 'first/second'. The problem doesn't exist
in the corresponding assertCountEqual method in Python3.
2012-05-16 14:01:03 -04:00
Antoine Pitrou
38fbd799d1
Issue #14829 : Fix bisect issues under 64-bit Windows.
2012-05-16 15:01:40 +02:00
Antoine Pitrou
4cf3f69250
Skip test under 64-bit Windows
2012-05-16 14:50:25 +02:00
Ned Deily
724a55c525
Issue #14777 : In an X11 windowing environment, tkinter may return
...
undecoded UTF-8 bytes as a string when accessing the Tk clipboard.
Modify clipboad_get() to first request type UTF8_STRING when no
specific type is requested in an X11 windowing environment, falling
back to the current default type STRING if that fails.
Original patch by Thomas Kluyver.
2012-05-15 18:05:57 -07:00
Senthil Kumaran
b0d85fd1b5
Issue12541 - Add UserWarning for unquoted realms
2012-05-15 23:59:19 +08:00
Senthil Kumaran
6a2a6c2ee3
Issue #12541 : Be lenient with quotes around Realm field with HTTP Basic Authentation in urllib2.
2012-05-15 22:24:10 +08:00
Antoine Pitrou
b90252ed17
Followup to issue #14157 : respect the relative ordering of values produced by time.strptime().
...
Patch by Hynek.
2012-05-14 19:44:59 +02:00
Ned Deily
acdc56d0d0
Issue #14662 : Prevent shutil failures on OS X when destination does not
...
support chflag operations. (Patch by Hynek Schlawack)
2012-05-10 17:45:49 -07:00
Antoine Pitrou
c2b714ce21
Issue #14157 : Fix time.strptime failing without a year on February 29th.
...
Patch by Hynek Schlawack.
2012-05-10 20:17:46 +02:00
Jesus Cea
f2011e3e49
Closes #14768 : os.path.expanduser('~/a') doesn't works correctly when HOME is '/'
2012-05-10 05:01:11 +02:00
Benjamin Peterson
f1aeef27b3
remove basically bitrotted XXXs
2012-05-07 22:23:48 -04:00
Georg Brandl
9f9970b15d
#13183 : backport fixes to test_pdb to 2.7 branch
2012-05-06 11:53:51 +02:00
Richard Oudkerk
9a16fa69dd
Fix for issue 14725 for 2.7 branch
2012-05-05 20:41:08 +01:00
Antoine Pitrou
c642f67c63
Skip test_algorithms (known remote hosts need SNI, which is only available on 3.2+)
2012-05-04 16:33:30 +02:00
Vinay Sajip
e5d3bc4700
Changed order of cleanup operations to be more sensible.
2012-05-03 12:03:29 +01:00
Charles-François Natali
dee8dadf31
os.popen().close() returns None on success, not 0...
2012-05-02 20:48:21 +02:00
Charles-François Natali
666a573fa6
Issue #14698 : Make test_posix more robust when the current UID doesn't have an
...
associated pwd entry.
2012-05-02 20:00:37 +02:00
Richard Oudkerk
0c200c282b
Issue #9400 : Partial backport of fix for #9244
...
In multiprocessing, a pool worker process would die
if the result/error could not be pickled. This could
cause pool methods to hang.
In 3.x this was fixed by 0aa8af79359d (which also added
an error_callback argument to some methods), but the fix
was not back ported.
2012-05-02 16:36:26 +01:00
Senthil Kumaran
a9e18cdd7f
fix windows test failure - issue13183
2012-05-02 07:59:36 +08:00
Benjamin Peterson
042c47b2c7
fix calling the classmethod descriptor directly ( closes #14699 )
2012-05-01 09:51:09 -04:00
Senthil Kumaran
dc8cb3d08f
Have Bdb frame_returning in the finally clause
2012-05-01 10:46:59 +08:00
Senthil Kumaran
7f6d4e1926
issue13183 - Fix pdb skipping frames after hitting a breakpoint and running step. Patch by Xavier de Gaye
2012-05-01 10:36:28 +08:00