| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
specifications, raises IOErrors when proxies for unsupported protocols
are defined, and uses the https proxy on https redirections.
|
| |
|
| |
|
|
|
|
|
|
|
| |
This didn't crash on Linux, but valgrind complained.
I'm not sure if this test is valid on Windows.
Will backport.
|
|
|
|
|
|
| |
Fix signatures to conform to doc (also fixed ungetmouse()).
Will backport.
|
| |
|
|
|
|
| |
Modified since ast-arenas was implemented.
|
| |
|
| |
|
|
|
|
|
|
| |
exception (e.g., passing in an illegal argument).
Applies patch #1314396. Thanks Eric Blossom.
|
|
|
|
|
|
| |
Fix a typo that caused step to be ignored.
Will backport.
|
|
|
|
|
|
|
|
|
|
| |
This change implements a new bytecode compiler, based on a
transformation of the parse tree to an abstract syntax defined in
Parser/Python.asdl.
The compiler implementation is not complete, but it is in stable
enough shape to run the entire test suite excepting two disabled
tests.
|
| |
|
|
|
|
|
|
| |
in latin_1, but Python incorrectly assumes it is in UTF-8 format
Will backport.
|
|
|
|
|
|
| |
returns in cStringIO.c. Thanks to Andrew Bennetts.
This must be a backport candidate.
|
| |
|
|
|
|
|
|
| |
sanity checks on tzname if HAVE_TZNAME defined.
Closes bug #1096244. Thanks Gregory Bond.
|
| |
|
|
|
|
| |
the changes.
|
| |
|
|
|
|
| |
(First draft of patch contributed by Steven Bethard.)
|
|
|
|
|
|
| |
(Contributed by Niki W. Waibel.)
Simple renaming to avoid a conflict that prevented compilation on Solaris.
|
|
|
|
| |
If read() returned less than the number of bytes request, the full amount was subtracted from length instead of the actually read amount.
|
|
|
|
| |
Applies patch #1051866. Thanks Felix Wiemann.
|
| |
|
|
|
|
|
| |
Python's own setup.py that did the same thing (and tested on Solaris,
where LDSHARED is needed...)
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
SF patch #1015989
The basic idea of this patch is to compute lineno attributes for all AST nodes. The actual
implementation lead to a lot of restructing and code cleanup.
The generated AST nodes now have an optional lineno argument to constructor. Remove the
top-level asList(), since it didn't seem to serve any purpose. Add an __iter__ to ast nodes.
Use isinstance() instead of explicit type tests.
Change transformer to use the new lineno attribute, which replaces three lines of code with one.
Use universal newlines so that we can get rid of special-case code for line endings. Use
lookup_node() in a few more frequently called, but simple com_xxx methods(). Change string
exception to class exception.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This checkin is adapted from part 1 (of 3) of Trevor Perrin's patch set.
x_mul()
- sped a little by optimizing the C
- sped a lot (~2X) if it's doing a square; note that long_pow() squares
often
k_mul()
- more cache-friendly now if it's doing a square
KARATSUBA_CUTOFF
- boosted; gradeschool mult is quicker now, and it may have been too low
for many platforms anyway
KARATSUBA_SQUARE_CUTOFF
- new
- since x_mul is a lot faster at squaring now, the point at which
Karatsuba pays for squaring is much higher than for general mult
|
| |
|
|
|
|
| |
subclasses.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Misc/ACKS.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[ 960406 ] unblock signals in threads
although the changes do not correspond exactly to any patch attached to
that report.
Non-main threads no longer have all signals masked.
A different interface to readline is used.
The handling of signals inside calls to PyOS_Readline is now rather
different.
These changes are all a bit scary! Review and cross-platform testing
much appreciated.
|
| |
|
| |
|
|
|
|
|
|
| |
The LaTeX is untested (well, so is the new API, for that matter).
Note that I also changed NULL to get spelled consistently in concrete.tex.
If that was a wrong thing to do, Fred should yell at me.
|
|
|
|
|
|
| |
itself.
Closes bug #919012 . Thanks Johannes Gijsbers.
|
|
|
|
|
|
| |
have pointer addresses in uppercase.
Closes bug #934282. Thanks Robin Becker.
|
|
|
|
|
| |
Prevents a collision pattern that occurs with nested tuples.
(Yitz Gale provided code that repeatably demonstrated the weakness.)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(Code contributed by Jiwon Seo.)
The documentation portion of the patch is being re-worked and will be
checked-in soon. Likewise, PEP 289 will be updated to reflect Guido's
rationale for the design decisions on binding behavior (as described in
in his patch comments and in discussions on python-dev).
The test file, test_genexps.py, is written in doctest format and is
meant to exercise all aspects of the the patch. Further additions are
welcome from everyone. Please stress test this new feature as much as
possible before the alpha release.
|
| |
|