| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| |
| |
| | |
Also adds tests to verify the documented behavior (which is probably a bug, as
indicated in the added comments).
Patch by Chris Jerdonek.
|
| |
| |
| |
| |
| |
| |
| | |
Also adds tests to verify the documented behavior (which is probably a bug, as
indicated in the added comments).
Patch by Chris Jerdonek.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
changeset: 77827:c23b442b5d5e
user: Antoine Pitrou <solipsis@pitrou.net>
date: Thu Jun 28 01:20:26 2012 +0200
summary: Avoid using scrdir, it's broken.
changeset: 77826:f0e58e778215
user: Neil Schemenauer <nas@arctrix.com>
date: Wed Jun 27 15:58:37 2012 -0600
summary: Fix bug in test_tools that prevented building is separate directory.
|
| | |
|
|\ \
| |/ |
|
| | |
|
|\ \
| |/
| |
| |
| |
| | |
tests.
Patch by Chris Jerdonek.
|
| |
| |
| |
| | |
Patch by Chris Jerdonek.
|
|\ \
| |/
| |
| |
| |
| |
| |
| | |
This fixes a regression introduced by the fix for issue #13922. Although args
is not documented as being allowed to be a tuple, previously this worked and
so naturally there are programs in the field that depend on it.
Patch by Zbyszek Jędrzejewski-Szmek.
|
| |
| |
| |
| |
| |
| |
| |
| | |
This fixes a regression introduced by the fix for issue #13922. Although args
is not documented as being allowed to be a tuple, previously this worked and
so naturally there are programs in the field that depend on it.
Patch by Zbyszek Jędrzejewski-Szmek.
|
|\ \
| |/
| |
| |
| |
| |
| |
| |
| | |
sporadic crashes in multi-thread programs when several long deallocator
chains ran concurrently and involved subclasses of built-in container
types.
Note that the trashcan functions are part of the stable ABI, therefore
they have to be kept around for binary compatibility of extensions.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
sporadic crashes in multi-thread programs when several long deallocator
chains ran concurrently and involved subclasses of built-in container
types.
Because of this change, a couple extension modules compiled for 3.2.4
(those which use the trashcan mechanism, despite it being undocumented)
will not be loadable by 3.2.3 and earlier. However, extension modules
compiled for 3.2.3 and earlier will be loadable by 3.2.4.
|
|\ \
| |/
| |
| |
| | |
and StringIO objects now raise ValueError when the object has been closed.
Patch by Alessandro Moura.
|
| |
| |
| |
| |
| | |
and StringIO objects now raise ValueError when the object has been closed.
Patch by Alessandro Moura.
|
| |
| |
| |
| |
| | |
Initial patch by Anton Barkovsky, refined a bit by me to further subdivide the
test methods. Provides tests for the previous two bug fix commits.
|
| | |
|
|\ \
| |/ |
|
| |
| |
| |
| | |
(closes #15846)
|
| | |
|
|\ \
| |/ |
|
| | |
|
|\ \
| |/
| |
| |
| |
| |
| |
| |
| | |
Before, the type function was called twice in the case where the default
was specified and the argument was given as well. This was especially
problematic for the FileType type, as a default file would always be
opened, even if a file argument was specified on the command line.
Patch by Arnaud Fontaine, with additional test by Mike Meyer.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Before, the type function was called twice in the case where the default
was specified and the argument was given as well. This was especially
problematic for the FileType type, as a default file would always be
opened, even if a file argument was specified on the command line.
Patch by Arnaud Fontaine, with additional test by Mike Meyer.
|
| |
| |
| |
| | |
return one.
|
| | |
|
| |
| |
| |
| |
| |
| | |
character for most keys, and an integer for special keys, instead of always
returning an integer. So it is now possible to distinguish special keys like
keypad keys.
|
|\ \ |
|
| | |
| | |
| | |
| | | |
errno error numbers and Windows error numbers.
|
|\ \ \
| |/ /
|/| /
| |/ |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
conservativeness.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
fromlist of __import__ propagate.
The problem previously was that if something listed in fromlist didn't
exist then that's okay. The fix for that was too broad in terms of
catching ImportError.
The trick with the solution to this issue is that the proper
refactoring of import thanks to importlib doesn't allow for a way to
distinguish (portably) between an ImportError because finders couldn't
find a loader, or a loader raised the exception. In Python 3.4 the
hope is to introduce a new exception (e.g. ModuleNotFound) to make it
clean to differentiate why ImportError was raised.
|
| | |
|
| |
| |
| |
| |
| |
| | |
already one.
Patch by Dave Malcolm.
|
|\ \
| |/
| |
| | |
Fix by Colin Su. Test by me, based on a test written by Petri Lehtinen.
|
| |
| |
| |
| | |
This is necessary for ZFS systems, which don't support UF_IMMUTABLE.
|
| |
| |
| |
| | |
file to the cached bytecode file. Test by Eric Snow.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
The new code correctly handles historic changes in UTC offsets.
A test for this should follow.
Original patch by Alexander Belopolsky.
|
| |
| |
| |
| |
| |
| |
| |
| | |
This is necessary for ZFS systems, which don't support UF_IMMUTABLE.
(Note: this commit is a manual merge of 78699:019a2390b014 as both
_test_chflags_regular_file and test_lchflags_symlink differ between
3.2 and default.)
|
|\ \
| |/ |
|
| | |
|
|\ \
| |/ |
|
| | |
|