]> granicus.if.org Git - python/log
python
12 years agoCleanup: remove not needed mocks.
Andrew Svetlov [Mon, 17 Dec 2012 17:27:10 +0000 (19:27 +0200)]
Cleanup: remove not needed mocks.

12 years agoIssue #16647: save socket error details in LMTP.connect()
Andrew Svetlov [Mon, 17 Dec 2012 16:57:16 +0000 (18:57 +0200)]
Issue #16647: save socket error details in LMTP.connect()

Initial patch by Serhiy Storchaka.

12 years agoIssue #16647: save socket error details in LMTP.connect()
Andrew Svetlov [Mon, 17 Dec 2012 16:55:10 +0000 (18:55 +0200)]
Issue #16647: save socket error details in LMTP.connect()

Patch by Serhiy Storchaka.

12 years agoIssue #16647: save socket error details in LMTP.connect()
Andrew Svetlov [Mon, 17 Dec 2012 16:54:53 +0000 (18:54 +0200)]
Issue #16647: save socket error details in LMTP.connect()

Patch by Serhiy Storchaka.

12 years agoRemove obsolete code: now IOError and WindowsError are aliases for OSError
Andrew Svetlov [Mon, 17 Dec 2012 14:15:35 +0000 (16:15 +0200)]
Remove obsolete code: now IOError and WindowsError are aliases for OSError

12 years agoFix issue #16646: ftplib.FTP.makeport() might lose socket error details. (patch...
Giampaolo Rodola' [Mon, 17 Dec 2012 13:23:41 +0000 (14:23 +0100)]
Fix issue #16646: ftplib.FTP.makeport() might lose socket error details.  (patch by Serhiy Storchaka)

12 years agoFix issue #16646: ftplib.FTP.makeport() might lose socket error details. (patch...
Giampaolo Rodola' [Mon, 17 Dec 2012 13:22:19 +0000 (14:22 +0100)]
Fix issue #16646: ftplib.FTP.makeport() might lose socket error details.  (patch by Serhiy Storchaka)

12 years agoFix issue #16646: ftplib.FTP.makeport() might lose socket error details. (patch...
Giampaolo Rodola' [Mon, 17 Dec 2012 13:20:27 +0000 (14:20 +0100)]
Fix issue #16646: ftplib.FTP.makeport() might lose socket error details.  (patch by Serhiy Storchaka)

12 years agoUpdate example: Counter.subtract returns None, not self
Andrew Svetlov [Mon, 17 Dec 2012 12:01:45 +0000 (14:01 +0200)]
Update example: Counter.subtract returns None, not self

12 years agoUpdate example: Counter.subtract returns None, not self
Andrew Svetlov [Mon, 17 Dec 2012 12:01:29 +0000 (14:01 +0200)]
Update example: Counter.subtract returns None, not self

12 years agoUpdate example: Counter.subtract returns None, not self
Andrew Svetlov [Mon, 17 Dec 2012 12:01:16 +0000 (14:01 +0200)]
Update example: Counter.subtract returns None, not self

12 years agoFix typo
Andrew Svetlov [Mon, 17 Dec 2012 11:42:57 +0000 (13:42 +0200)]
Fix typo

12 years agoFix typo
Andrew Svetlov [Mon, 17 Dec 2012 11:42:40 +0000 (13:42 +0200)]
Fix typo

12 years agoFix typo
Andrew Svetlov [Mon, 17 Dec 2012 11:42:04 +0000 (13:42 +0200)]
Fix typo

12 years agoAdd Ashish Nitin Patil for work on Issue #14901
Brian Curtin [Mon, 17 Dec 2012 06:08:28 +0000 (00:08 -0600)]
Add Ashish Nitin Patil for work on Issue #14901

12 years agoMerge 3.3
Brian Curtin [Mon, 17 Dec 2012 06:06:02 +0000 (00:06 -0600)]
Merge 3.3

12 years agoMerge 3.2
Brian Curtin [Mon, 17 Dec 2012 06:04:30 +0000 (00:04 -0600)]
Merge 3.2

12 years agoFix #14901. Update the Windows FAQ.
Brian Curtin [Mon, 17 Dec 2012 05:58:09 +0000 (23:58 -0600)]
Fix #14901. Update the Windows FAQ.

Patch by Ashish Nitin Patil.

12 years agoMerge 3.3.
Stefan Krah [Sun, 16 Dec 2012 20:11:35 +0000 (21:11 +0100)]
Merge 3.3.

12 years agoIssue #15783: Support None default values in the Context() constructor.
Stefan Krah [Sun, 16 Dec 2012 20:10:35 +0000 (21:10 +0100)]
Issue #15783: Support None default values in the Context() constructor.

12 years agoSilence sporadic failure in RecvmsgSCTPStreamTest.testRecvmsgEOF (issue #13876) ...
Antoine Pitrou [Sun, 16 Dec 2012 15:40:22 +0000 (16:40 +0100)]
Silence sporadic failure in RecvmsgSCTPStreamTest.testRecvmsgEOF (issue #13876) - probably not Python-related.

12 years agoSilence sporadic failure in RecvmsgSCTPStreamTest.testRecvmsgEOF (issue #13876) ...
Antoine Pitrou [Sun, 16 Dec 2012 15:40:04 +0000 (16:40 +0100)]
Silence sporadic failure in RecvmsgSCTPStreamTest.testRecvmsgEOF (issue #13876) - probably not Python-related.

12 years agoNull merge
Antoine Pitrou [Sun, 16 Dec 2012 15:11:51 +0000 (16:11 +0100)]
Null merge

12 years agoNull merge
Antoine Pitrou [Sun, 16 Dec 2012 15:11:31 +0000 (16:11 +0100)]
Null merge

12 years agoFix ResourceWarnings in test_pty
Antoine Pitrou [Sun, 16 Dec 2012 15:09:11 +0000 (16:09 +0100)]
Fix ResourceWarnings in test_pty

12 years agoIssue #16696: fix comparison between bytes and string. Also, improve glob tests.
Antoine Pitrou [Sun, 16 Dec 2012 15:03:57 +0000 (16:03 +0100)]
Issue #16696: fix comparison between bytes and string. Also, improve glob tests.

12 years agoIssue #16696: fix comparison between bytes and string. Also, improve glob tests.
Antoine Pitrou [Sun, 16 Dec 2012 15:03:42 +0000 (16:03 +0100)]
Issue #16696: fix comparison between bytes and string. Also, improve glob tests.

12 years agoIssue #16696: fix comparison between bytes and string. Also, improve glob tests.
Antoine Pitrou [Sun, 16 Dec 2012 15:03:01 +0000 (16:03 +0100)]
Issue #16696: fix comparison between bytes and string. Also, improve glob tests.

12 years agoIssue #16626: Fix infinite recursion in glob.glob() on Windows when the pattern conta...
Antoine Pitrou [Sun, 16 Dec 2012 12:54:14 +0000 (13:54 +0100)]
Issue #16626: Fix infinite recursion in glob.glob() on Windows when the pattern contains a wildcard in the drive or UNC path.
Patch by Serhiy Storchaka.

12 years agoIssue #16626: Fix infinite recursion in glob.glob() on Windows when the pattern conta...
Antoine Pitrou [Sun, 16 Dec 2012 12:50:19 +0000 (13:50 +0100)]
Issue #16626: Fix infinite recursion in glob.glob() on Windows when the pattern contains a wildcard in the drive or UNC path.
Patch by Serhiy Storchaka.

12 years agoIssue #16626: Fix infinite recursion in glob.glob() on Windows when the pattern conta...
Antoine Pitrou [Sun, 16 Dec 2012 12:49:37 +0000 (13:49 +0100)]
Issue #16626: Fix infinite recursion in glob.glob() on Windows when the pattern contains a wildcard in the drive or UNC path.
Patch by Serhiy Storchaka.

12 years agoFixup abc.ABC wording and add versionadded.
Georg Brandl [Sun, 16 Dec 2012 12:32:33 +0000 (13:32 +0100)]
Fixup abc.ABC wording and add versionadded.

12 years ago#16664: Add regression tests for glob's behaviour concerning "."-entries
Hynek Schlawack [Sun, 16 Dec 2012 11:46:58 +0000 (12:46 +0100)]
#16664: Add regression tests for glob's behaviour concerning "."-entries

Patch by Sebastian Kreft.

12 years ago#16664: Add regression tests for glob's behaviour concerning "."-entries
Hynek Schlawack [Sun, 16 Dec 2012 11:44:07 +0000 (12:44 +0100)]
#16664: Add regression tests for glob's behaviour concerning "."-entries

Patch by Sebastian Kreft.

12 years ago#16664: Add regression tests for glob's behaviour concerning "."-entries
Hynek Schlawack [Sun, 16 Dec 2012 11:39:11 +0000 (12:39 +0100)]
#16664: Add regression tests for glob's behaviour concerning "."-entries

Patch by Sebastian Kreft.

12 years agoMerge 3.3.
Stefan Krah [Sat, 15 Dec 2012 21:36:49 +0000 (22:36 +0100)]
Merge 3.3.

12 years agoIssue #15783: Except for the number methods, the C version of decimal now
Stefan Krah [Sat, 15 Dec 2012 21:33:33 +0000 (22:33 +0100)]
Issue #15783: Except for the number methods, the C version of decimal now
supports all None default values present in decimal.py. These values were
largely undocumented.

12 years agoMerge: use OSError instead of os.error in the docs.
Andrew Svetlov [Sat, 15 Dec 2012 20:59:55 +0000 (22:59 +0200)]
Merge: use OSError instead of os.error in the docs.

12 years agoUse OSError instead of os.error in the docs.
Andrew Svetlov [Sat, 15 Dec 2012 20:59:24 +0000 (22:59 +0200)]
Use OSError instead of os.error in the docs.

12 years agomerge heads
Benjamin Peterson [Sat, 15 Dec 2012 20:46:20 +0000 (15:46 -0500)]
merge heads

12 years agomerge 3.3
Benjamin Peterson [Sat, 15 Dec 2012 20:44:18 +0000 (15:44 -0500)]
merge 3.3

12 years agomerge 3.2
Benjamin Peterson [Sat, 15 Dec 2012 20:44:08 +0000 (15:44 -0500)]
merge 3.2

12 years agoremove dead code
Benjamin Peterson [Sat, 15 Dec 2012 20:43:58 +0000 (15:43 -0500)]
remove dead code

12 years ago#11175: argparse.FileType now accepts encoding and errors arguments.
Petri Lehtinen [Sat, 15 Dec 2012 20:39:32 +0000 (22:39 +0200)]
#11175: argparse.FileType now accepts encoding and errors arguments.

Patch by Lucas Maystre.

12 years agoIssue #16488: epoll() objects now support the `with` statement.
Antoine Pitrou [Sat, 15 Dec 2012 20:14:21 +0000 (21:14 +0100)]
Issue #16488: epoll() objects now support the `with` statement.
Patch by Serhiy Storchaka.

12 years agoMerge
Antoine Pitrou [Sat, 15 Dec 2012 18:26:38 +0000 (19:26 +0100)]
Merge

12 years agoIssue #16298: In HTTPResponse.read(), close the socket when there is no Content-Lengt...
Antoine Pitrou [Sat, 15 Dec 2012 18:23:34 +0000 (19:23 +0100)]
Issue #16298: In HTTPResponse.read(), close the socket when there is no Content-Length and the incoming stream is finished.
Patch by Eran Rundstein.

12 years agoIssue #16298: In HTTPResponse.read(), close the socket when there is no Content-Lengt...
Antoine Pitrou [Sat, 15 Dec 2012 18:22:30 +0000 (19:22 +0100)]
Issue #16298: In HTTPResponse.read(), close the socket when there is no Content-Length and the incoming stream is finished.
Patch by Eran Rundstein.

12 years agoIssue #16298: In HTTPResponse.read(), close the socket when there is no Content-Lengt...
Antoine Pitrou [Sat, 15 Dec 2012 18:11:54 +0000 (19:11 +0100)]
Issue #16298: In HTTPResponse.read(), close the socket when there is no Content-Length and the incoming stream is finished.
Patch by Eran Rundstein.

12 years agouse error label instead of breaking eval loop (closes #16693)
Benjamin Peterson [Sat, 15 Dec 2012 17:51:05 +0000 (12:51 -0500)]
use error label instead of breaking eval loop (closes #16693)

12 years agoRemove compile warnings for _testimportmodule
Andrew Svetlov [Sat, 15 Dec 2012 16:16:47 +0000 (18:16 +0200)]
Remove compile warnings for _testimportmodule

12 years agoRename test module names for #16421 to don't clash with other tests.
Andrew Svetlov [Sat, 15 Dec 2012 15:22:59 +0000 (17:22 +0200)]
Rename test module names for #16421 to don't clash with other tests.

12 years agocleanup and fix refleaks
Benjamin Peterson [Sat, 15 Dec 2012 05:05:16 +0000 (00:05 -0500)]
cleanup and fix refleaks

12 years ago#16683: merge with 3.3.
Ezio Melotti [Fri, 14 Dec 2012 18:20:07 +0000 (20:20 +0200)]
#16683: merge with 3.3.

12 years ago#16683: merge with 3.2.
Ezio Melotti [Fri, 14 Dec 2012 18:19:49 +0000 (20:19 +0200)]
#16683: merge with 3.2.

12 years ago#16683: restore alphabetical order in audioop docs. Patch by Serhiy Storchaka.
Ezio Melotti [Fri, 14 Dec 2012 18:18:46 +0000 (20:18 +0200)]
#16683: restore alphabetical order in audioop docs.  Patch by Serhiy Storchaka.

12 years ago#16681: merge with 3.3.
Ezio Melotti [Fri, 14 Dec 2012 18:14:17 +0000 (20:14 +0200)]
#16681: merge with 3.3.

12 years ago#16681: merge with 3.2.
Ezio Melotti [Fri, 14 Dec 2012 18:13:39 +0000 (20:13 +0200)]
#16681: merge with 3.2.

12 years ago#16681: use "bidirectional class" instead of "bidirectional category" in the docstrin...
Ezio Melotti [Fri, 14 Dec 2012 18:12:25 +0000 (20:12 +0200)]
#16681: use "bidirectional class" instead of "bidirectional category" in the docstring too.

12 years ago#16681: use "bidirectional class" instead of "bidirectional category".
Ezio Melotti [Fri, 14 Dec 2012 18:06:43 +0000 (20:06 +0200)]
#16681: use "bidirectional class" instead of "bidirectional category".

12 years agoCleanup filecmp: starting from 3.3 os.error is alias for OSError
Andrew Svetlov [Fri, 14 Dec 2012 16:02:27 +0000 (18:02 +0200)]
Cleanup filecmp: starting from 3.3 os.error is alias for OSError

12 years agoIssue #16421: allow to load multiple modules from the same shared object.
Andrew Svetlov [Fri, 14 Dec 2012 15:04:59 +0000 (17:04 +0200)]
Issue #16421: allow to load multiple modules from the same shared object.

Patch by Václav Šmilauer.

12 years agocompile doesn't accept code objects
Philip Jenvey [Thu, 13 Dec 2012 23:44:18 +0000 (15:44 -0800)]
compile doesn't accept code objects

12 years agoIssue #16049: add abc.ABC helper class.
Andrew Svetlov [Thu, 13 Dec 2012 17:09:33 +0000 (19:09 +0200)]
Issue #16049: add abc.ABC helper class.

Patch by Bruno Dupuis.

12 years agoMerge with 3.3 for #16661
Ross Lagerwall [Thu, 13 Dec 2012 15:21:16 +0000 (15:21 +0000)]
Merge with 3.3 for #16661

12 years agoIssue #16661: Fix the os.getgrouplist() test by not assuming that it
Ross Lagerwall [Thu, 13 Dec 2012 15:20:26 +0000 (15:20 +0000)]
Issue #16661: Fix the os.getgrouplist() test by not assuming that it
gives the same output as "id -G".

12 years agoexpose TCP_FASTOPEN and MSG_FASTOPEN
Benjamin Peterson [Thu, 13 Dec 2012 03:24:47 +0000 (22:24 -0500)]
expose TCP_FASTOPEN and MSG_FASTOPEN

12 years agoCross compiling needs host and build settings. configure no longer
Christian Heimes [Wed, 12 Dec 2012 12:10:32 +0000 (13:10 +0100)]
Cross compiling needs host and build settings. configure no longer
creates a broken PYTHON_FOR_BUILD variable when --build is missing.

12 years agoCross compiling needs host and build settings. configure no longer
Christian Heimes [Wed, 12 Dec 2012 12:10:21 +0000 (13:10 +0100)]
Cross compiling needs host and build settings. configure no longer
creates a broken PYTHON_FOR_BUILD variable when --build is missing.

12 years agoJust to be sure, initialize with a copy of the compiler's lib and inc dirs.
Christian Heimes [Wed, 12 Dec 2012 11:57:03 +0000 (12:57 +0100)]
Just to be sure, initialize with a copy of the compiler's lib and inc dirs.

12 years agoJust to be sure, initialize with a copy of the compiler's lib and inc dirs.
Christian Heimes [Wed, 12 Dec 2012 11:56:51 +0000 (12:56 +0100)]
Just to be sure, initialize with a copy of the compiler's lib and inc dirs.

12 years agoFix cross compiling issue in setup.py, ensure that lib_dirs and inc_dirs are
Christian Heimes [Wed, 12 Dec 2012 11:41:50 +0000 (12:41 +0100)]
Fix cross compiling issue in setup.py, ensure that lib_dirs and inc_dirs are
defined in cross compiling mode, too.

12 years agoFix cross compiling issue in setup.py, ensure that lib_dirs and inc_dirs are
Christian Heimes [Wed, 12 Dec 2012 11:41:00 +0000 (12:41 +0100)]
Fix cross compiling issue in setup.py, ensure that lib_dirs and inc_dirs are
defined in cross compiling mode, too.

12 years agoCode style fixup: No need for double ((parenthesis)) and use {} on an if else.
Gregory P. Smith [Tue, 11 Dec 2012 04:22:55 +0000 (20:22 -0800)]
Code style fixup: No need for double ((parenthesis)) and use {} on an if else.

12 years agoCode style fixup: No need for double ((parenthesis)) and use {} on an if else.
Gregory P. Smith [Tue, 11 Dec 2012 04:22:31 +0000 (20:22 -0800)]
Code style fixup: No need for double ((parenthesis)) and use {} on an if else.

12 years agoCode style fixup: No need for double ((parenthesis)) and use {} on an if else.
Gregory P. Smith [Tue, 11 Dec 2012 04:20:20 +0000 (20:20 -0800)]
Code style fixup: No need for double ((parenthesis)) and use {} on an if else.

12 years agoFix the internals of our hash functions to used unsigned values during hash
Gregory P. Smith [Tue, 11 Dec 2012 03:51:29 +0000 (19:51 -0800)]
Fix the internals of our hash functions to used unsigned values during hash
computation as the overflow behavior of signed integers is undefined.

NOTE: This change is smaller compared to 3.2 as much of this cleanup had
already been done.  I added the comment that my change in 3.2 added so that the
code would match up.  Otherwise this just adds or synchronizes appropriate UL
designations on some constants to be pedantic.

In practice we require compiling everything with -fwrapv which forces overflow
to be defined as twos compliment but this keeps the code cleaner for checkers
or in the case where someone has compiled it without -fwrapv or their
compiler's equivalent.  We could work to get rid of the -fwrapv requirement
in 3.4 but that requires more planning.

Found by Clang trunk's Undefined Behavior Sanitizer (UBSan).

Cleanup only - no functionality or hash values change.

12 years agonull merge, no change needed in 3.3.
Gregory P. Smith [Tue, 11 Dec 2012 02:34:29 +0000 (18:34 -0800)]
null merge, no change needed in 3.3.

12 years agoKeep y a Py_hash_t instead of Py_uhash_t as it is compared with == -1 and the
Gregory P. Smith [Tue, 11 Dec 2012 02:34:09 +0000 (18:34 -0800)]
Keep y a Py_hash_t instead of Py_uhash_t as it is compared with == -1 and the
compiler logic will do the right thing with just x as a Py_uhash_t.  This
matches what was already done in the 3.3 version.

cleanup only - no functionality or hash values change.

12 years agoFix the internals of our hash functions to used unsigned values during hash
Gregory P. Smith [Tue, 11 Dec 2012 02:32:53 +0000 (18:32 -0800)]
Fix the internals of our hash functions to used unsigned values during hash
computation as the overflow behavior of signed integers is undefined.

NOTE: This change is smaller compared to 3.2 as much of this cleanup had
already been done.  I added the comment that my change in 3.2 added so that the
code would match up.  Otherwise this just adds or synchronizes appropriate UL
designations on some constants to be pedantic.

In practice we require compiling everything with -fwrapv which forces overflow
to be defined as twos compliment but this keeps the code cleaner for checkers
or in the case where someone has compiled it without -fwrapv or their
compiler's equivalent.

Found by Clang trunk's Undefined Behavior Sanitizer (UBSan).

Cleanup only - no functionality or hash values change.

12 years agoFix the internals of our hash functions to used unsigned values during hash
Gregory P. Smith [Tue, 11 Dec 2012 02:15:46 +0000 (18:15 -0800)]
Fix the internals of our hash functions to used unsigned values during hash
computation as the overflow behavior of signed integers is undefined.

In practice we require compiling everything with -fwrapv which forces overflow
to be defined as twos compliment but this keeps the code cleaner for checkers
or in the case where someone has compiled it without -fwrapv or their
compiler's equivalent.

Found by Clang trunk's Undefined Behavior Sanitizer (UBSan).

Cleanup only - no functionality or hash values change.

12 years agoUsing 'long double' to force this structure to be worst case aligned is no
Gregory P. Smith [Tue, 11 Dec 2012 02:05:05 +0000 (18:05 -0800)]
Using 'long double' to force this structure to be worst case aligned is no
longer required as of Python 2.5+ when the gc_refs changed from an int (4
bytes) to a Py_ssize_t (8 bytes) as the minimum size is 16 bytes.

The use of a 'long double' triggered a warning by Clang trunk's
Undefined-Behavior Sanitizer as on many platforms a long double requires
16-byte alignment but the Python memory allocator only guarantees 8 byte
alignment.

So our code would allocate and use these structures with technically improper
alignment.  Though it didn't matter since the 'dummy' field is never used.
This silences that warning.

Spelunking into code history, the double was added in 2001 to force better
alignment on some platforms and changed to a long double in 2002 to appease
Tru64.  That issue should no loner be present since the upgrade from int to
Py_ssize_t where the minimum structure size increased to 16 (unless anyone
knows of a platform where ssize_t is 4 bytes?) or 24 bytes depending on if the
build uses 4 or 8 byte pointers.

We can probably get rid of the double and this union hack all together today.
That is a slightly more invasive change that can be left for later.

A more correct non-hacky alternative if any alignment issues are still found
would be to use a compiler specific alignment declaration on the structure and
determine which value to use at configure time.

12 years ago1 << 31 is invalid for signed integers, fix it by making 1 unsigned.
Gregory P. Smith [Tue, 11 Dec 2012 01:45:16 +0000 (17:45 -0800)]
1 << 31 is invalid for signed integers, fix it by making 1 unsigned.

Found by Clang trunk's Undefined-Behavior Sanitizer.  [more to come]

12 years ago1 << 31 is invalid for signed integers, fix it by making 1 unsigned.
Gregory P. Smith [Tue, 11 Dec 2012 01:45:03 +0000 (17:45 -0800)]
1 << 31 is invalid for signed integers, fix it by making 1 unsigned.

Found by Clang trunk's Undefined-Behavior Sanitizer.  [more to come]

12 years ago1 << 31 is invalid for signed integers, fix it by making 1 unsigned.
Gregory P. Smith [Tue, 11 Dec 2012 01:44:44 +0000 (17:44 -0800)]
1 << 31 is invalid for signed integers, fix it by making 1 unsigned.

Found by Clang trunk's Undefined-Behavior Sanitizer.  [more to come]

12 years ago#15872: Some more Windows related tuning to shutil.rmtree tests
Hynek Schlawack [Mon, 10 Dec 2012 15:35:16 +0000 (16:35 +0100)]
#15872: Some more Windows related tuning to shutil.rmtree tests

Turns out, the snakebite bots have also their peculiarities.

I'm really not proud of this stream of commits. :(

12 years ago#15872: Some more Windows related tuning to shutil.rmtree tests
Hynek Schlawack [Mon, 10 Dec 2012 15:33:41 +0000 (16:33 +0100)]
#15872: Some more Windows related tuning to shutil.rmtree tests

Turns out, the snakebite bots behave also their peculiarities.

I'm really not proud of this stream of commits. :(

12 years ago#15872: Some more Windows related tuning to shutil.rmtree tests
Hynek Schlawack [Mon, 10 Dec 2012 15:29:57 +0000 (16:29 +0100)]
#15872: Some more Windows related tuning to shutil.rmtree tests

Turns out, the snakebite bots behave also their peculiarities.

I'm really not proud of this stream of commits. :(

12 years ago#15872: Be flexible with appending *.* in shutil.rmtree test case
Hynek Schlawack [Mon, 10 Dec 2012 11:05:45 +0000 (12:05 +0100)]
#15872: Be flexible with appending *.* in shutil.rmtree test case

The Windows buildbots seem to be unable to agree whether they need them or not.

12 years ago#15872: Be flexible with appending *.* in shutil.rmtree test case
Hynek Schlawack [Mon, 10 Dec 2012 11:02:26 +0000 (12:02 +0100)]
#15872: Be flexible with appending *.* in shutil.rmtree test case

The Windows buildbots seem to be unable to agree whether they need them or not.

12 years ago#15872: Be flexible with appending *.* in shutil.rmtree test case
Hynek Schlawack [Mon, 10 Dec 2012 11:01:28 +0000 (12:01 +0100)]
#15872: Be flexible with appending *.* in shutil.rmtree test case

The Windows buildbots seem to be unable to agree whether they need them or not.

12 years ago#15872: More shutil test fixes for Windows
Hynek Schlawack [Mon, 10 Dec 2012 10:12:57 +0000 (11:12 +0100)]
#15872: More shutil test fixes for Windows

This one is different from 3.2 and 3.3.  Windows ceased using *.* since 3.4
apparently.

12 years agoFix Issue15701 : add .headers attribute to urllib.error.HTTPError
Senthil Kumaran [Mon, 10 Dec 2012 10:09:35 +0000 (02:09 -0800)]
Fix Issue15701 : add .headers attribute to urllib.error.HTTPError

12 years ago#15872: More shutil test fixes for Windows
Hynek Schlawack [Mon, 10 Dec 2012 10:08:59 +0000 (11:08 +0100)]
#15872: More shutil test fixes for Windows

12 years ago#15872: More shutil test fixes for Windows
Hynek Schlawack [Mon, 10 Dec 2012 10:08:09 +0000 (11:08 +0100)]
#15872: More shutil test fixes for Windows

12 years ago#15872: Fix shutil.rmtree error tests for Windows
Hynek Schlawack [Mon, 10 Dec 2012 09:10:40 +0000 (10:10 +0100)]
#15872: Fix shutil.rmtree error tests for Windows

12 years ago#15872: Fix shutil.rmtree error tests for Windows
Hynek Schlawack [Mon, 10 Dec 2012 09:08:41 +0000 (10:08 +0100)]
#15872: Fix shutil.rmtree error tests for Windows

12 years ago#15872: Fix shutil.rmtree error tests for Windows
Hynek Schlawack [Mon, 10 Dec 2012 09:07:11 +0000 (10:07 +0100)]
#15872: Fix shutil.rmtree error tests for Windows

12 years ago#15872: Fix 3.3 regression introduced by the new fd-based shutil.rmtree
Hynek Schlawack [Mon, 10 Dec 2012 08:15:23 +0000 (09:15 +0100)]
#15872: Fix 3.3 regression introduced by the new fd-based shutil.rmtree

It caused rmtree to not ignore certain errors when ignore_errors was set.

Patch by Alessandro Moura and Serhiy Storchaka.

12 years ago#15872: Fix 3.3 regression introduced by the new fd-based shutil.rmtree
Hynek Schlawack [Mon, 10 Dec 2012 08:11:25 +0000 (09:11 +0100)]
#15872: Fix 3.3 regression introduced by the new fd-based shutil.rmtree

It caused rmtree to not ignore certain errors when ignore_errors was set.

Patch by Alessandro Moura and Serhiy Storchaka.