Brian Curtin
ae57cec791
Fix #16788 . Add samestat to Lib/ntpath.py
2012-12-26 08:22:00 -06:00
Brian Curtin
e701ec5d3f
Add tests for Issue #10646 .
...
This issue is now fixed due to changes in Issue #11939 , so I've refactored
the tests to cover the hard link case. There are no code changes here.
2012-12-26 07:36:16 -06:00
Brian Curtin
490b32a397
Fix #11939 . Set st_dev attribute on Windows to simplify os.path.samefile.
...
By setting the st_dev attribute, we can then remove some Windows-specific
code and move os.path.samefile/sameopenfile/samestat to Lib/genericpath.py
so all platforms share the same implementation.
2012-12-26 07:03:03 -06:00
Senthil Kumaran
2bf61abe02
Issue #16702 : Skip proxies for localhost in urllib2_localnet tests
2012-12-26 01:47:09 -08:00
Senthil Kumaran
00679a7ee0
Issue #16702 : Skip proxies for localhost in urllib2_localnet tests
2012-12-26 01:46:39 -08:00
Senthil Kumaran
303eb478f2
Issue #16702 : Skip proxies for localhost in urllib2_localnet tests
2012-12-26 01:45:58 -08:00
Gregory P. Smith
a689e524e7
Test for issue16772 and redoes the previous fix to accept __index__-aware
...
objects as the base by using PyNumber_AsSsize_t similar to round().
2012-12-25 22:38:32 -08:00
Andrew Svetlov
f7a17b48d7
Replace IOError with OSError ( #16715 )
2012-12-25 16:47:37 +02:00
Andrew Svetlov
914ab8420e
Add test coverage for os.removedirs ( #16775 )
2012-12-25 12:21:49 +02:00
Andrew Svetlov
34dcdee177
Add test coverage for os.removedirs ( #16775 )
2012-12-25 12:20:39 +02:00
Andrew Svetlov
405faed511
Add test coverage for os.removedirs ( #16775 )
2012-12-25 12:18:09 +02:00
Senthil Kumaran
750909e618
Fix issue16713 - tel url parsing with params
2012-12-24 14:01:48 -08:00
Senthil Kumaran
bd6667aae3
Fix issue16713 - tel url parsing with params
2012-12-24 14:01:13 -08:00
Senthil Kumaran
ed30199e78
Fix issue16713 - tel url parsing with params
2012-12-24 14:00:20 -08:00
Andrew Svetlov
2552bc0601
fix typo ( #16720 )
2012-12-24 21:47:24 +02:00
Andrew Svetlov
1d960fe4c4
Keep ref to ECHILD in local scope ( #16650 )
2012-12-24 20:08:53 +02:00
Andrew Svetlov
5b187ce700
Keep ref to ECHILD in local scope ( #16650 )
2012-12-24 20:06:52 +02:00
Andrew Svetlov
08bab07291
Keep ref to ECHILD in local scope ( #16650 )
2012-12-24 20:06:35 +02:00
Andrew Svetlov
8b33dd8e54
Use OESeeror instead of os.error ( #16720 )
...
Patch by Serhiy Storchaka.
2012-12-24 19:58:48 +02:00
Andrew Svetlov
6a7a49c631
Issue #16511 : Use default IDLE width and height if config param is not valid.
...
Patch Serhiy Storchaka.
2012-12-24 13:17:11 +02:00
Andrew Svetlov
7174f0883c
Issue #16511 : Use default IDLE width and height if config param is not valid.
...
Patch Serhiy Storchaka.
2012-12-24 13:16:47 +02:00
Andrew Svetlov
8a495a48a5
Issue #16511 : Use default IDLE width and height if config param is not valid.
...
Patch Serhiy Storchaka.
2012-12-24 13:15:43 +02:00
Brian Curtin
445ad997ab
Fix #14470 . Remove w9xpopen per PEP 11.
...
As stated in PEP 11, 3.4 removes code on Windows platforms where
COMSPEC points to command.com. The w9xpopen project in Visual Studio
was added to support that case, and there was a special case in subprocess
to cover that situation. This change removes the w9xpopen project from
the Visual Studio solution and removes any references to the w9xpopen
executable.
2012-12-23 16:53:21 -06:00
Senthil Kumaran
0a6b9eca68
merge from 3.2
...
Fix Issue15701 - HTTPError info method call raises AttributeError. Fix that to return headers correctly
2012-12-23 09:12:13 -08:00
Senthil Kumaran
41e66a26b0
Fix Issue15701 - HTTPError info method call raises AttributeError. Fix that to return headers correctly
2012-12-23 09:04:24 -08:00
Andrew Svetlov
2cd8ce4690
Issue #9856 : Replace deprecation warinigs to raising TypeError in object.__format__
...
Patch by Florent Xicluna.
2012-12-23 14:27:17 +02:00
Andrew Svetlov
f347cf903c
merge heads
2012-12-23 12:51:40 +02:00
Andrew Svetlov
4b61d0fa7f
Issue #16045 : add more unit tests for built-in int()
...
Patch by Chris Jerdonek.
2012-12-23 12:50:02 +02:00
Andrew Svetlov
8e42e8a0c6
Issue #16045 : add more unit tests for built-in int()
...
Patch by Chris Jerdonek.
2012-12-23 12:49:33 +02:00
Brett Cannon
2909d6b47c
merge with 3.3
2012-12-22 19:38:32 -05:00
Brett Cannon
73b969ec70
Issue #16752 : Add a missing import to modulefinder.
...
Also fix Misc/ACKS to put part of it back in alphabetical order and
remove some duplicate names.
Patch by Berker Peksag.
2012-12-22 19:34:21 -05:00
Benjamin Peterson
4c05969fc4
merge 3.3 ( #16597 )
2012-12-20 11:55:16 -06:00
Benjamin Peterson
68623614f0
call close on the underlying stream even if flush raises ( closes #16597 )
...
Patch by Serhiy Storchaka.
2012-12-20 11:53:11 -06:00
Benjamin Peterson
7643c92cdd
merge 3.3 ( #16722 )
2012-12-19 15:28:46 -06:00
Benjamin Peterson
5ff3f73d94
try to call __bytes__ before __index__ ( closes #16722 )
2012-12-19 15:27:41 -06:00
Andrew Svetlov
fd43b4d3e4
replace threw with raised ( #16714 )
2012-12-19 22:55:40 +02:00
Andrew Svetlov
1f415cf2c2
replace threw with raised ( #16714 )
2012-12-19 22:54:47 +02:00
Andrew Svetlov
7bd61cbc03
replace threw with raised ( #16714 )
2012-12-19 22:49:25 +02:00
Antoine Pitrou
aa03a1fe2a
Small cleanup in test_ftplib
2012-12-19 20:44:37 +01:00
Antoine Pitrou
08d02724df
Small cleanup in test_ftplib
2012-12-19 20:44:02 +01:00
Andrew Svetlov
2606a6f197
Issue #16719 : Get rid of WindowsError. Use OSError instead
...
Patch by Serhiy Storchaka.
2012-12-19 14:33:35 +02:00
Antoine Pitrou
f23e3f7ad2
Silence sporadic failure in RecvmsgIntoSCTPStreamTest.testRecvmsgEOF (issue #13876 ) - probably not Python-related.
2012-12-18 23:44:59 +01:00
Antoine Pitrou
d5a070f586
Silence sporadic failure in RecvmsgIntoSCTPStreamTest.testRecvmsgEOF (issue #13876 ) - probably not Python-related.
2012-12-18 23:44:36 +01:00
Antoine Pitrou
dcac718236
Call importlib.invalidate_caches() after creating module files in test_threaded_import.
2012-12-18 23:28:24 +01:00
Antoine Pitrou
07edb82e4b
Call importlib.invalidate_caches() after creating module files in test_threaded_import.
2012-12-18 23:28:04 +01:00
Antoine Pitrou
1688812894
Try to make test_threaded_import faster and safer (issue #15599 ).
2012-12-18 23:04:10 +01:00
Antoine Pitrou
e0b1c23145
Try to make test_threaded_import faster and safer (issue #15599 ).
2012-12-18 23:03:42 +01:00
Antoine Pitrou
ad8c461e2c
Add sanity assertions in some import lock code (issue #15599 ).
2012-12-18 22:18:58 +01:00
Antoine Pitrou
202b60640b
Add sanity assertions in some import lock code (issue #15599 ).
2012-12-18 22:18:17 +01:00
Andrew Svetlov
0832af6628
Issue #16717 : get rid of socket.error, replace with OSError
2012-12-18 23:10:48 +02:00