summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Various edits. Most importantly, added dual licensing. Also someGuido van Rossum2000-09-031-34/+41
| | | | changes suggested by BobW.
* changed \x to consume exactly two hex digits. implements PEP-223Fredrik Lundh2000-09-021-16/+28
| | | | for 8-bit strings.
* return -1 for undefined groups (as implemented in 1.5.2) instead ofFredrik Lundh2000-09-022-17/+10
| | | | None (as documented) from start/end/span. closes bug #113254
* Patch by Martin von Löwis to give him his umlaut, to remove ChristianGuido van Rossum2000-09-021-3/+4
| | | | | | Tismer's clone, and to list Hajime Saitou's real name. Added a note that the file uses Latin-1 (as distributed).
* -- tightened up parsing of octal numbersFredrik Lundh2000-09-023-198/+158
| | | | | -- improved the SRE test harness: don't use asserts, test a few more things (including more boundary conditions)
* PyInterpreterState_New is not thread-safe, and the recent fix to _PyPcloseTim Peters2000-09-021-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Cosmetic cleanup by Vladimir.Thomas Wouters2000-09-021-43/+49
|
* SourceForge patch 101396, by an anonymous friend.Tim Peters2000-09-021-1/+1
| | | | "sre_parse.py missing '7' in DIGITS"
* REMOVED all CWI, CNRI and BeOpen copyright markings.Guido van Rossum2000-09-01194-1805/+5
| | | | This should match the situation in the 1.6b1 tree.
* Rewritten some pieces of PyNumber_InPlaceAdd() for clarity.Guido van Rossum2000-09-011-15/+20
|
* Updated to include all files here.Guido van Rossum2000-09-011-3/+7
|
* Delete too.Guido van Rossum2000-09-011-77/+0
|
* Deleted. Long obsolete.Guido van Rossum2000-09-011-48/+0
|
* Deleted. We no longer require disclaimers on contributions.Guido van Rossum2000-09-012-96/+0
|
* Deleted; this is ancient info.Guido van Rossum2000-09-011-399/+0
|
* Deleted. This is obsoleted by Tools/scripts/fixnotice.py.Guido van Rossum2000-09-011-75/+0
|
* Ready to go.Guido van Rossum2000-09-011-120/+123
|
* Remove the 1.5.2 news. 2.0 news is still to be done.Guido van Rossum2000-09-011-2337/+2
|
* Moved NEWS from 1.5.2 here.Guido van Rossum2000-09-011-0/+2334
|
* Deleted. This information is now in ../LICENSE.Guido van Rossum2000-09-011-32/+0
|
* The second argument to start_new_thread() is not a tuple, as pointedGuido van Rossum2000-09-011-2/+2
| | | | out by Curtis Jensen on c.l.py and forwarded by Fredrik Lundh.
* patch by Neil Schemenauer to improve (fix?) line number generationJeremy Hylton2000-09-014-34/+64
|
* The "more" cmd varies across Windows flavors, sometimes adding strayTim Peters2000-09-012-14/+32
| | | | | | | | 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.
* Clean up a bit. Drop -X option, update date, remove documentationGuido van Rossum2000-09-011-56/+27
| | | | | URLs, add various useful URLs. Update address and email. Drop PSA and copyright. Add license info.
* Update magic number.Jeremy Hylton2000-09-014-30/+94
| | | | | | 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.
* Install LICENSE.txt and README.txt.Tim Peters2000-09-011-12/+11
| | | | | | | In the Welcome dialog: Reworded reference to non-existent "Exit Setup" button. Removed useless "Back" button. Changed "push" to "click".
* Tentative license. Could still change for the 2.0b1 release and willGuido van Rossum2000-09-011-1/+103
| | | | definitely change for the 2.0 final release.
* Guido pointed out that the "non-admin install" blurb got displayedTim Peters2000-09-011-13/+11
| | | | | | | | 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).
* Adding new files, removing some.Guido van Rossum2000-09-0118-256/+2711
|
* Repaired damaged comments, and extra spaces in fatal error msgs we'd betterTim Peters2000-09-011-6/+7
| | | | not ever see!
* The usualGuido van Rossum2000-09-0140-886/+1767
|
* Correct configure.in version.Guido van Rossum2000-09-011-1/+1
|
* Move the Py_DECREF(x) after the error: label so that we don't leak xGuido van Rossum2000-09-011-1/+1
| | | | when PyDict_SetItemString() fails.
* Rob Hooft, Moshe Zadka: converted to 4 space indents and re instead of regex.Guido van Rossum2000-09-012-72/+78
|
* Back off to HKCU (instead of HKLM) if user doesn't have "NT adminstratorTim Peters2000-09-011-1/+61
| | | | privileges". Untested except on Win98SE (where Wise writes to HKLM).
* Cosmetics on Py_Get/SetRecursionLimit (for the style guide)Vladimir Marangozov2000-09-011-2/+4
|
* Update documentation for PyErr_Format, because the function has changed.Moshe Zadka2000-09-011-9/+19
| | | | Connected to patch 100895
* Do the absolute minimal amount of modifications to eradicateBarry Warsaw2000-09-0115-67/+31
| | | | | | | | | | | | | | | 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
* Tool to generate binary GNU .mo file from .po template files. WrittenBarry Warsaw2000-09-011-0/+194
| | | | | | | | 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.
* Added installation of w9xpopen.exe.Tim Peters2000-09-011-1/+6
| | | | Removed installation of Lib/plat-win/*.py, because it no longer exists!
* Fix grouping, again. This time properly :-) Sorry, guys.Thomas Wouters2000-09-011-3/+3
|
* Applying patch #100994 to allow JPython to use more of the standardBarry Warsaw2000-09-014-12/+19
| | | | | | | | | | | | | 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.
* Fix test_popen2 on Windows, recently broken by changes to the dict(!)Tim Peters2000-09-011-1/+57
| | | | | | | implementation. You don't want to know. I've asked Guido to give this a critical review (we agreed on the approach, but the implementation proved more ... interesting ... than anticipated). This will almost certainly be the highlight of Mark Hammond's day <wink>.
* Applied patch #101350, closing it.Barry Warsaw2000-09-011-1/+3
|
* Document the new optional argument "rest" on the transfercmd(),Barry Warsaw2000-09-011-5/+22
| | | | | ntransfercmd(), and retrbinary() commands. This closes SF patch #101187.
* Added support for RFC 959's REST command (restart), closing SF patchBarry Warsaw2000-09-011-23/+38
| | | | | | | | | | | | | | | | | | | | #101187, which some modifications. Specifically, ntransfercmd(), transfercmd(), and retrbinary() all grow an optional `rest' argument, which if not None, is used as the argument to an FTP REST comman dbefore the socket is returned. Differences from the SF patch: - always compare against None with `is' or `is not' instead of == or != - no parens around conditional - RFC 959 defines the argument to REST is a string containing any ASCII characters in the range [33..126]. Therefore, we use the %s format character instead of %f or %d as suggested in the patch's comments. Note that we do /not/ sanity checkthe contents of the rest argument (but we'll document this in the library reference manual).
* Document PyImport_AppendInittab(), PyImport_ExtendInittab(), andFred Drake2000-09-011-1/+39
| | | | | | struct _inittab. This closes SourceForge bug #111499.
* set the default threshold much higherJeremy Hylton2000-09-011-1/+1
| | | | we don't need to run gc frequently
* code part of patch #100895 by Fredrik LundhJeremy Hylton2000-09-011-4/+124
| | | | | PyErr_Format computes size of buffer needed rather than relying on static buffer.
* Don't call Py_FatalError in module initializationJeremy Hylton2000-09-012-7/+0
| | | | (leaving the rest of the modules for Barry)