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
Senthil Kumaran
fb5aebc1cc
Fix issue6085 - Remove the delay caused by fqdn lookup while logging in BaseHTTPRequestHandler
2012-04-29 13:39:16 +08:00
Senthil Kumaran
f5aaf6f025
httplib test for early eof response. related to Issue13684
2012-04-29 10:15:31 +08:00
Antoine Pitrou
3815316714
Issue #14664 : It is now possible to use @unittest.skip{If,Unless} on a test class that doesn't inherit from TestCase (i.e. a mixin).
2012-04-25 17:31:12 +02:00
Vinay Sajip
00086bb7e8
Fixed test to work on Windows.
2012-04-25 10:45:27 +01:00
Vinay Sajip
5820cc0f06
Updated year in docstring/comment.
2012-04-24 23:17:29 +01:00
Vinay Sajip
885f6fd472
Issue #14632 : Updated WatchedFileHandler to deal with race condition. Thanks to John Mulligan for the problem report and patch.
2012-04-24 23:15:10 +01:00
Lars Gustäbel
231d474a7b
Issue #14160 : TarFile.extractfile() failed to resolve symbolic links when
...
the links were not located in an archive subdirectory.
2012-04-24 22:42:08 +02:00
Benjamin Peterson
d157a4c3dd
don't use a slot wrapper from a different special method ( closes #14658 )
...
This also alters the fix to #11603 . Specifically, setting __repr__ to
object.__str__ now raises a recursion RuntimeError when str() or repr() is
called instead of silently bypassing the recursion. I believe this behavior is
more correct.
2012-04-24 11:06:25 -04:00
R David Murray
c313b1d9b0
#14638 : pydoc now treats non-str __name__ as None instead of raising
...
Original patch by Peter Otten.
2012-04-23 13:27:11 -04:00
Senthil Kumaran
0267185088
Fix for Issue13684 - httplib tunnel infinite loop
2012-04-23 23:46:46 +08:00
Benjamin Peterson
19e9beb2db
sleep here
2012-04-23 10:08:14 -04:00
Antoine Pitrou
52849bfaa3
Issue #14308 : Fix an exception when a "dummy" thread is in the threading module's active list after a fork().
2012-04-19 23:55:01 +02:00
Ezio Melotti
c45868ec69
#14538 : HTMLParser can now parse correctly start tags that contain a bare /.
2012-04-18 19:08:41 -06:00
Benjamin Peterson
76605557ea
SETUP_WITH acts like SETUP_FINALLY for the purposes of setting f_lineno ( closes #14612 )
2012-04-18 11:14:31 -04:00
Charles-François Natali
f838764444
Issue #5113 : Fix a test_posix failure on HP-UX, where non-root users can
...
chown() to root under certain circumstances.
2012-04-17 19:46:06 +02:00
Vinay Sajip
7e9c9d51b6
Issue #14452 : remove BOM insertion code.
2012-04-16 14:38:23 +01:00
Antoine Pitrou
9945a64a8b
Issue #14589 : Update certificate chain for sha256.tbs-internet.com, fixing a test failure in test_ssl.
2012-04-16 03:34:44 +02:00
Mark Dickinson
0407e96061
Issue 13496: Fix bisect.bisect overflow bug for large collections.
2012-04-15 16:43:19 +01:00
R David Murray
3f4ccbabaf
#14399 : zipfile now correctly handles comments added to empty zipfiles.
...
Patch by Serhiy Storchaka.
2012-04-12 18:42:47 -04:00
Senthil Kumaran
5f7e7345cf
Issue 10484 - Incorporate improvements to CGI module - Suggested by Glenn Linderman. Refactor code and tests
2012-04-12 02:23:23 +08:00
Senthil Kumaran
fb2e874707
fix the incorrect changes made for PATH_INFO value - Issue10484
2012-04-11 03:07:57 +08:00
Benjamin Peterson
ad6b3f570a
merge 2.7.3 release branch
2012-04-09 19:05:58 -04:00
Benjamin Peterson
e95a8f6ff1
bump to 2.7.3 final
2012-04-09 19:04:04 -04:00
Antoine Pitrou
b5588c3f94
Fix the patch for issue #7978 : select() raises select.error before 3.3, not OSError.
2012-04-09 01:41:34 +02:00
Antoine Pitrou
467a5c4067
Fix flakiness in test_socketserver
2012-04-09 01:15:06 +02:00
Antoine Pitrou
fa1d84107a
Issue #7978 : socketserver now restarts the select() call when EINTR is returned.
...
This avoids crashing the server loop when a signal is received.
Patch by Jerzy Kozera.
2012-04-09 00:47:24 +02:00
R David Murray
088a874c7f
Make test_mailbox runnable via python -m unittest.
2012-04-08 18:34:36 -04:00
Georg Brandl
f14a2bf3bc
Transplant 45287f2799f5 from default branch.
2012-04-04 20:19:09 +02:00
Benjamin Peterson
b6e21a0725
remove uneeded line
2012-04-02 14:22:50 -04:00
Benjamin Peterson
f73813a8bb
prevent writing to stderr from messing up the exception state ( closes #14474 )
2012-04-02 11:15:17 -04:00
R David Murray
93a224dd75
#14434 : make tutorial link in 'help' banner version-specific
...
Without this fix, both 2.7 and 3.x would always point to the "current"
docs...which means that before this fix python 3.2 'help' pointed to the 2.7
tutorial, and without this fix when we switch over to the 3.x docs being
current, 2.7 would have pointed to the python3 tutorial.
2012-03-31 12:10:48 -04:00
Andrew Svetlov
8af872983f
update NEWS for 2.7 as Terry Reedy proposed
2012-03-31 14:34:16 +03:00
Alex Gaynor
afa2e470db
Added a new crasher that targets mutating the underlying storage of a buffer. All work done by Armin Rigo.
2012-03-30 08:45:25 -04:00
Vinay Sajip
7ce9bda575
Closes #14436 : Convert msg + args to string before pickling.
2012-03-29 20:11:20 +01:00
Andrew Svetlov
c37db10e03
Backport of Issue #14409 to 2.7
...
IDLE doesn't not execute commands from shell with default keybinding
for <Return>.
Patch by Roger Serwy.
2012-03-29 19:54:58 +03:00
Georg Brandl
c56e667b6e
Closes #14411 : remove outdated comment in rlcompleter docstring.
2012-03-27 07:46:46 +02:00
R David Murray
4922a46e1a
#5301 : re-add image/vnd.microsoft.icon per discussion
...
We concluded that adding registered mimetypes present in most systems' mime
databases can be considered a bug fix.
2012-03-26 21:06:04 -04:00
Vinay Sajip
50d6f54b1a
Closes #14314 : backported fix.
2012-03-23 14:33:00 +00:00
Giampaolo Rodola'
ea605cd152
attempt to fix asyncore buildbot failure
2012-03-23 15:04:27 +01:00
Giampaolo Rodola'
96cb5d15c1
fix #10340 : properly handle EINVAL on OSX and also avoid to call handle_connect() in case of a disconnetected socket which is not meant to connect.
2012-03-22 16:06:43 +01:00
Benjamin Peterson
72c6227df8
merge heads
2012-03-22 08:57:56 -04:00
Benjamin Peterson
eff19a13ed
check by equality for __future__ not identity ( closes #14378 )
2012-03-22 08:19:04 -04:00
R David Murray
b3f95d7ff1
#12757 : Make doctest skipping in -OO mode work with unittest/regrtest -v
2012-03-21 15:02:30 -04:00
Andrew Svetlov
7c010ee00c
#3573 : idle now doesn't hungs if launched as: idle -e <directory>
...
Patch by Guilherme Polo.
2012-03-21 13:35:08 +02:00
Giampaolo Rodola'
3d3cf48e53
Fix issue #13694 : asynchronous connect in asyncore.dispatcher does not set addr.
2012-03-20 16:46:57 +01:00
R David Murray
5c2689a00c
#14333 : fix test_queue so it can be run via standard unittest test discovery.
2012-03-17 16:44:16 -04:00
Benjamin Peterson
dbc52f8a0d
check for string attribute names in old-style classes ( closes #14334 )
2012-03-16 10:58:46 -05:00
Benjamin Peterson
6e7832b04c
check to make sure the attribute is a string ( #14334 )
2012-03-16 09:32:59 -05:00
Senthil Kumaran
51a65c9161
2.7 - Issue #10484 : Fix the CGIHTTPServer's PATH_INFO handling problem
2012-03-16 01:07:16 -07:00
Senthil Kumaran
4c59211bd5
Fix the urllib closing issue which hangs on particular ftp urls/ftp servers. closes issue11199
2012-03-15 13:24:40 -07:00
Benjamin Peterson
f1acd0ab38
merge from 2.7 release branch
2012-03-15 13:01:04 -05:00
Benjamin Peterson
ee933eccc9
bump to 2.7.3rc2
2012-03-15 12:25:54 -05:00
Martin v. Löwis
f163efd736
Issue #5219 : Prevent event handler cascade in IDLE.
...
Patch by Roger Serwy.
2012-03-13 14:46:22 -07:00
Vinay Sajip
71e51d66d6
Merged upstream change.
2012-03-13 12:18:55 +00:00
Vinay Sajip
9790e083a5
Closes #14267 : Corrected computation of rollover filename.
2012-03-13 12:06:35 +00:00
Senthil Kumaran
d17a898fcf
Fix closes Issue14281 - Test for cgi.escape by Brian Landers
2012-03-13 01:48:41 -07:00
Ezio Melotti
b56b6fff1f
#14179 : add tests for re.compile. Patch by Florian Mladitsch.
2012-03-13 01:25:40 +02:00
Ezio Melotti
b60156e809
#14161 : fix test failures on Windows.
2012-03-12 02:09:02 +02:00
Ezio Melotti
11f8b6872a
#14161 : fix the __repr__ of file objects to escape the file name.
2012-03-12 01:17:02 +02:00
Antoine Pitrou
f60845b70a
Issue #14252 : Fix subprocess.Popen.terminate() to not raise an error under Windows when the child process has already exited.
2012-03-11 19:29:12 +01:00
Jason R. Coombs
e107ab3b6c
Moved symlink support into its own module. Ported can_symlink from Python 3.2, skipping symlink test when it cannot be invoked (such as when the symlink privilege is not present).
2012-03-08 18:28:08 -05:00
Jason R. Coombs
ea4629afa6
Improve the test case to avoid spurious errors about already existing symlinks.
2012-03-08 10:31:29 -05:00
Éric Araujo
021eddfff6
Fix long-standing bugs with MANIFEST.in parsing on Windows ( #6884 ).
...
These regex changes fix a number of issues for distutils on Windows:
- #6884 : impossible to include a file starting with 'build'
- #9691 and #14004 : sdist includes too many files
- #13193 : test_filelist failures
This commit replaces the incorrect changes done in 557a973709de,
c566a3447ba1 and 3925081a7ca0 to fix #13193 ; we were too eager to fix
the test failures and I did not study the code enough before
greenlighting patches. This time we have unit tests from the problems
reported by users to be sure we have the right fix.
Thanks to Nadeem Vawda for his help.
2012-02-25 16:13:53 +01:00
Benjamin Peterson
94e5c933ed
update pydoc-topics
2012-02-23 15:18:13 -05:00
Benjamin Peterson
a2aa2ef313
bump to 2.7.3rc1
2012-02-23 10:52:17 -05:00
Antoine Pitrou
341016e8bf
Fix sporadic test_os failure under Windows
2012-02-22 22:16:25 +01:00
Antoine Pitrou
4b670f541c
Fix (presumably) test_hash under big-endian systems (PPC).
2012-02-22 03:33:56 +01:00
Antoine Pitrou
93291534b7
Avoid py3k warnings related to sort() of unrelated types.
2012-02-22 00:28:46 +01:00
Antoine Pitrou
0607f731f2
Fix flaky os.urandom test.
2012-02-21 22:02:04 +01:00
Benjamin Peterson
e39ccef64c
carefully don't depend on any dict order
2012-02-21 09:07:40 -05:00
Benjamin Peterson
b6596c516b
remove extra zero
2012-02-21 08:08:29 -05:00
Petri Lehtinen
4ab701b2d3
sqlite3: Fix 64-bit integer handling in user functions on 32-bit architectures
...
Closes #8033 .
2012-02-21 14:04:46 +02:00
Ezio Melotti
36b7361fe7
HTMLParser is now able to handle slashes in the start tag.
2012-02-21 09:22:16 +02:00
Benjamin Peterson
c7bbd7be94
don't rely on dict order
2012-02-21 00:15:10 -05:00