| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Removes CVS keywords from this binary file, so that test_tarfile passes
regardless of whether Python is checked out with -kk.
|
|
|
|
|
|
| |
results when byte-code compilation is requested (in particular, make
sure that package data doesn't get a bogus byte-code listing
generated)
|
|
|
|
|
|
|
|
| |
rather than in docstrings. Rewrote so that _active_limbo_lock is released
no matter what happens (it could have been left locked if _sys got None'd
out). Use "in" in preference to has_key() for dict lookup. Don't bother
looking for 'dummy_threading' in sys.modules unless KeyError is raised.
Since the heart of the method is the del, do that in only one place.
|
|
|
|
| |
at Rev 1.54. Python Bug 990954
|
|
|
|
|
|
|
|
|
| |
and Thread.__delete() was called after a Thread instance was created. Problem
resulted from a currentThread() call in an 'assert' statement being optimized
out and dummy_thread.get_ident() always returning -1 and thus overwriting the
entry for the _MainThread() instance created in 'threading' at import time.
Closes bug #993394.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Fixed to keep backwards-compatibility for the undocumented function.
Closes bug #986795.
|
|
|
|
|
|
| |
__oct__, and __hex__. Raise TypeError if an invalid type is
returned. Note that PyNumber_Int and PyNumber_Long can still
return ints or longs. Fixes SF bug #966618.
|
|
|
|
| |
Fixes SF bug #990307.
|
|
|
|
|
| |
change as well.
Recompiled binaries after this change.
|
|
|
|
| |
change as well. Add a comment explaining this.
|
|
|
|
| |
isn't available. (Spotted by Raymond Hettinger)
|
| |
|
|
|
|
|
| |
another hack remains in test___all__.py, but the problem that one
addresses is more general than *just* FCNTL, so leaving it alone.
|
| |
|
|
|
|
| |
to fail when running with -O. Changed to raise AssertionError instead.
|
| |
|
| |
|
|
|
|
|
|
| |
and installed layouts to make maintenance simple and easy. And it
also adds four new codecs; big5hkscs, euc-jis-2004, shift-jis-2004
and iso2022-jp-2004.
|
|
|
|
|
| |
that pyclbr doesn't need to special-case modules that do "from types
import *".
|
|
|
|
|
|
|
|
| |
causing test_pyclbr to fail on all other platforms. Added that routine
to the urllib "ignore" list.
Removed the special case for "g" in the pickle module. types.py deletes
"g" from its namespace; maybe it didn't always. Whatever, the special
case isn't needed today.
|
| |
|
|
|
|
|
| |
If someone has other ideas for the numbering scheme, please change to
something else (1.1.0 ?).
|
|
|
|
| |
to unix-style).
|
|
|
|
| |
Windows
|
|
|
|
| |
Editing of bgenlocations.py isn't easy if your Python was supplied by Apple.
|
| |
|
|
|
|
|
|
|
|
|
| |
(darwin). Also, Mac Safari browser requires full file:// URIs. SF 900580
M EditorWindow.py
M NEWS.txt
M configHelpSourceEdit.py
M idlever.py
|
| |
|
| |
|
|
|
|
| |
http://mail.python.org/pipermail/python-dev/2004-June/045785.html
|
|
|
|
|
| |
- Fixed the display of tests in verbose output
- Allow setUp and tearDown functions to be provided for DocTestSuites.
|
|
|
|
|
|
|
| |
by the locals() call in the context constructor.
* Remove unnecessary properties for int, exp, and sign which duplicated
information returned by as_tuple().
|
|
|
|
|
| |
* Context.create_decimal can take a zero default just like Decimal().
* Fix typo in comment.
|
| |
|
|
|
|
|
|
|
|
| |
the documented behavior: the function passed to the onerror()
handler can now also be os.listdir.
[I could've sworn I checked this in, but apparently I didn't, or it
got lost???]
|
|
|
|
|
|
|
|
| |
the documented behavior: the function passed to the onerror()
handler can now also be os.listdir.
[I could've sworn I checked this in, but apparently I didn't, or it
got lost???]
|
|
|
|
| |
put everything in the tuple in caps to use str.upper() instead of str.lower().
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
original
module that is removed for testing "import" lines. Originally deleted the
entry from sys.modules and then just let other code that needed it to import it
again. Problem with this solution is that it lead to code that had already
imported the module in question to have their own reference to a new copy of
the module in question that new code couldn't reach. This lead to a failure in
test_strptime since it monkey-patched the 'time' module it had a reference to
while _strptime had its own reference to another copy of 'time' from being
imported by test___all__ that it was using for a calculation.
Also moved the testing code out of the PthFile class and into the actual test
class. This was to stop using 'assert' which is useless with a -O execution.
|
|
|
|
| |
collate, so setting it back to the function name
|
| |
|
|
|
|
| |
output more telling details when there is a failure.
|
| |
|
|
|
|
|
|
|
|
| |
[ 988698 ] compiler.transformer fix for (a, b) = 1, 2
fixing bug
[ 988613 ] compiler.transformer and tuple unpacking
|
|
|
|
|
|
|
|
|
|
|
| |
a non-standard protocol and on a lower port than the tcp/udp entries,
which breaks the assumption that there will only be one service by a
given name on a given port when no protocol is specified.
Previous versions of this code have had other problems as a result of
different service definitions amongst common platforms. As this platform
has an extra, unexpected, service entry, I've special cased the platform
rather than re-order the list of services checked to highlight the pitfall.
|
|
|
|
| |
list returned by glob.glob() (SF #987166)
|
| |
|