| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
and this breaks the AIX build with an INT_MAX redefinition error.
"config.h" is included in pgenheaders.h, so moving this down fixes the
problem.
|
| |
|
|
|
| |
The returned file is assigned to an instance variable;
otherwise the implied close hangs for a long time.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
AGREEMENT VERSION 1.
trade name -> trade names.
Note: depending on community feedback, we may end up taking the dual
licensing clause out for 2.0b1, and put it back into 2.0final, if
there's no other solution for assuring GPL compatibility by then.
See my message to python-dev and license-py20.
|
| |
|
|
|
|
| |
strings. closes PEP-223.
also added \U escape (eight hex digits).
|
| | |
|
| |
|
|
|
|
|
|
|
| |
This was a funny one! The test very subtly relied on 1.5.2's
behavior of treating "\x%" as "\x%", i.e. ignoring that was an
\x escape that didn't make sense. But /F implemented PEP 223,
which causes 2.0 to raise an exception on the bad escape.
Fixed by merely making the 3 such strings of this kind into
raw strings.
|
| | |
|
| |
|
|
|
|
|
| |
BeOpen.com added to the front.
(Even if maybe we won't print this long banner at startup, the string
must still be defined for sys.copyright.)
|
| |
|
|
| |
changes suggested by BobW.
|
| |
|
|
| |
for 8-bit strings.
|
| |
|
|
| |
None (as documented) from start/end/span. closes bug #113254
|
| |
|
|
|
|
| |
Tismer's clone, and to list Hajime Saitou's real name.
Added a note that the file uses Latin-1 (as distributed).
|
| |
|
|
|
| |
-- improved the SRE test harness: don't use asserts, test a few more
things (including more boundary conditions)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
can cause it to get called by multiple threads simultaneously.
Ditto for PyInterpreterState_Delete.
Of the former, the docs say "The interpreter lock need not be held, but may
be held if it is necessary to serialize calls to this function". This
kinda implies it both is and isn't thread-safe.
Of the latter, the docs merely say "The interpreter lock need not be
held.", and the clause about serializing is absent.
I expect it was *believed* these are both thread-safe, and the bit about
serializing via the global lock was meant as a permission rather than a
caution.
I also expect we've never seen a problem here because the Python core
(prior to the _PyPclose fix) only calls these functions once per run.
The Py_NewInterpreter subsystem exposed by the C API (but not used by
Python itself) also calls them, but that subsystem appears to be very
rarely used.
Whatever, they're both thread-safe now.
|
| | |
|
| |
|
|
| |
"sre_parse.py missing '7' in DIGITS"
|
| |
|
|
| |
This should match the situation in the 1.6b1 tree.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
out by Curtis Jensen on c.l.py and forwarded by Fredrik Lundh.
|
| | |
|
| |
|
|
|
|
|
|
| |
newlines at the start or end. Fiddle test_popen2 and popen2._test() to
tolerate this. Also change all "assert"s in these tests to raise
explicit exceptions, so that python -O doesn't render them useless.
Also, in case of error, make the msg display the reprs of what we
wrote and what we read, so we can tell exactly why it's failing.
|
| |
|
|
|
| |
URLs, add various useful URLs. Update address and email. Drop PSA
and copyright. Add license info.
|
| |
|
|
|
|
| |
Fix import support to work with import as variant of Python 2.0. The
grammar for import changed, requiring changes in transformer and code
generator, even to handle compilation of imports with as.
|
| |
|
|
|
|
|
| |
In the Welcome dialog:
Reworded reference to non-existent "Exit Setup" button.
Removed useless "Back" button.
Changed "push" to "click".
|
| |
|
|
| |
definitely change for the 2.0 final release.
|
| |
|
|
|
|
|
|
| |
very late in the process when running on Windows 2000 without admim
privs. Rearranged so that the admin check is done at the start
instead. Added words to the end of the blurb to make it very clear
how to abort the install (wasn't obvious to me that "Cancel" was
the right thing to click).
|
| | |
|
| |
|
|
| |
not ever see!
|
| | |
|
| | |
|
| |
|
|
| |
when PyDict_SetItemString() fails.
|
| | |
|
| |
|
|
| |
privileges". Untested except on Win98SE (where Wise writes to HKLM).
|
| | |
|
| |
|
|
| |
Connected to patch 100895
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Py_FatalError() from module initialization functions. The importing
mechanism already checks for PyErr_Occurred() after module importation
and it Does The Right Thing.
Unfortunately, the following either were not compiled or tested by the
regression suite, due to issues with my development platform:
almodule.c
cdmodule.c
mpzmodule.c
puremodule.c
timingmodule.c
|
| |
|
|
|
|
|
|
| |
by Martin v. Loewis, proofed by Barry Warsaw for coding standards,
typos, and to make command line options compatible with GNU msgfmt
where they overlap.
Closes patch #101295.
|
| |
|
|
| |
Removed installation of Lib/plat-win/*.py, because it no longer exists!
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Python test suite. Specifically,
- import time instead of strop in test_b1
- test for ClassType of exceptions using isinstance instead of
equality in test_exceptions
- remove __builtins__ from dir() output in test_pkg
test_pkg output needs to be regenerated.
|