| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
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)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
I don't agree it had a bug (see the report), so this is *not* a candidate
for backporting, but the docs were confusing and the Queue implementation
was old enough to vote.
Rewrote put/put_nowait/get/get_nowait from scratch, to use a pair of
Conditions (not_full and not_empty), sharing a common mutex. The code
is 1/4 the size now, and 6.25x easier to understand. For blocking
with timeout, we also get to reuse (indirectly) the tedious timeout
code from threading.Condition. The Full and Empty exceptions raised
by non-blocking calls are now easy (instead of nearly impossible) to
explain truthfully: Full is raised if and only if the Queue truly
is full when the non-blocking put call checks the queue size, and
similarly for Empty versus non-blocking get.
What I don't know is whether the new implementation is slower (or
faster) than the old one. I don't really care. Anyone who cares
a lot is encouraged to check that.
|
| |
|
|
|
|
|
| |
Modified Files:
urllib2.py test/test_urllib2.py
|
|
|
|
|
|
| |
that behaves as if both lists has an empty string in each of them.
Closes bug #979794 (and duplicate bug #980117).
|
|
|
|
| |
Closes bug #980938.
|
|
|
|
|
|
| |
the loop starts.
Closes bug #930024. Thanks AM Kuchling.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Read multiple special headers
- fixed/improved handling of extended/special headers
in read-mode (adding new extended headers should be
less painful now).
- improved nts() function.
- removed TarFile.chunks datastructure which is not
(and was never) needed.
- fixed TarInfo.tobuf(), fields could overflow with too
large values, values are now clipped.
|
| |
|
|
|
|
|
|
| |
path. Also clarifies UNC handling and adds appropriate tests.
Applies patch #988607 to fix bug #980327. Thanks Paul Moore.
|
| |
|
|
|
|
|
|
|
|
| |
(ZIP file spec. says in section K, "General notes" in point 1 that unless
specified otherwise values are unsigned and they are not specified as signed in
the spec).
Closes bug #679953. Thanks Jimmy Burgett.
|
| |
|
| |
|
| |
|
|
|
|
| |
OverflowError. Fix from Albert Chin
|
| |
|
|
|
|
|
|
| |
Don't output empty tags
Escape page header
Remove <p> before <table> (tidy complains)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Rename "trap_enablers" to just "traps".
* Simplify names of "settraps" and "setflags" to just "traps" and "flags".
* Show "capitals" in the context representation
* Simplify the Context constructor to match its repr form so that only
the set flags and traps need to be listed.
* Representation can now be run through eval().
Improve the error message when the Decimal constructor is given a float.
The test suite no longer needs a duplicate reset_flags method.
|
|
|
|
| |
any restriction on the return type (like unicode.encode() et al. do).
|
|
|
|
|
| |
create a testing method that can be called to make sure that the handling of
the .pth file was correct.
|
|
|
|
|
| |
match old verion's argument list (overlooked since API of the file is
undocumented).
|
| |
|
|
|
|
|
|
|
|
| |
public.
* Removed the non-signal conditions from __all__.
* Removed the XXX comment which was resolved.
* Use ^ instead of operator.xor
* Remove the threading lock which is no longer necessary.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Map conditions to related signals.
* Make contexts unhashable.
* Eliminate used "default" attribute in exception definitions.
* Eliminate the _filterfunc in favor of a straight list.
Docs:
* Eliminate documented references to conditions that are not signals.
* Eliminate parenthetical notes such as "1/0 --> Inf" which are no
longer true with the new defaults.
|
|
|
|
| |
* add more __init__ tests
|
|
|
|
|
| |
* use assertions instead of tests after internal calls that can't fail.
* expand test coverage
|
|
|
|
| |
first day of the week.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Need to return -1 on error.
Needs backport.
|
| |
|
| |
|
|
|
|
|
|
| |
readline() very similar, so they're refactored into _read. Patch by Johannes Gijsbers.
2.3 bugfix candidate.
|
|
|
|
| |
Rearrange code for writable() case to make the parallel logic clearer
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Patch from Mark Hammond:
bdist_wininst attempts to use the correct MSVC runtime for the current
version of Python. This doesn't work correctly when --target-version
is set. In that case, bdist_wininst still uses the *current*
sys.version (ie, 2.4) rather than the version specified as
--target-version. Thus, the msvc7 runtime based executable stub is
*always* used.
This patch "hard-codes" knowledge of earlier Python versions,
providing the correct result when Python 2.4 is used to build Python
2.3 and earlier distributions.
Remove the short variant (-v) of the --target-version command line
options, it conflicts with the --verbose/-v standard distutils switch.
|
|
|
|
| |
Windows (XP at least ;). Test in this order: echo, daytime, domain.
|