summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* add explicit support for cancelling a running script (CFM-based MacPython ↵Just van Rossum2003-05-091-2/+25
| | | | had this built-in)
* more dead code removalJust van Rossum2003-05-091-32/+2
|
* dead code removalJust van Rossum2003-05-091-33/+6
|
* Patch #734118: Add {get|set}busywaitinterval.Martin v. Löwis2003-05-092-2/+46
|
* Yet another addition to [731644]: only use the lock if thread-supportJust van Rossum2003-05-091-2/+2
| | | | is enabled.
* Addition to [731644]: also use the lock when using the getaddrinfoJust van Rossum2003-05-091-2/+2
| | | | emulation (ie. when HAVE_GETADDRINFO isn't defined).
* [ 731644] & [ 604210 ] Release the GIL around getaddrinfo(), yet protectJust van Rossum2003-05-091-10/+45
| | | | | access with lock on those platforms that getaddrinfo() isn't (known to be) thread-safe. Thanks to MvL for mentoring this patch.
* 1. Implement processing of user code in subprocess MainThread. Pass loopKurt B. Kaiser2003-05-084-193/+267
| | | | | | | | | | | | is now interruptable on Windows. 2. Tweak signal.signal() wait parameters as called by various methods to improve I/O response, especially on Windows. 3. Debugger is disabled at this check-in pending further development. M NEWS.txt M PyShell.py M rpc.py M run.py
* Leading "C:" no longer hardcoded in the default installation directory.Tim Peters2003-05-082-2/+21
| | | | | | After removing that, two testers on machines where C: is not the system drive reported that the installer suggested their system drive instead of C:, and that's what they wanted it to do.
* Fixed small typo Pointed out by Michael Hudson.Jim Fulton2003-05-081-1/+1
|
* Fixed a typo in an example dealloc routine that calls it's "self"Jim Fulton2003-05-081-1/+1
| | | | argument "obj" rather than "self".
* Bump version numberBarry Warsaw2003-05-081-1/+1
|
* A couple of new parsedate test cases.Barry Warsaw2003-05-081-0/+10
|
* parsedate_tz(): Be slightly more lenient when there's no day of theBarry Warsaw2003-05-081-3/+2
| | | | | | | week. Patch given by Daniel Berlin in SF bug # 732761. Also closes SF bug # 727719. Backport candidate.
* Clarify the dedent() example a bit by indenting the input lines unevenly.Greg Ward2003-05-082-8/+8
|
* SF patch #598163 (Ville Vainio, vvainio@users.sourceforge.net):Greg Ward2003-05-081-4/+29
| | | | document dedent() function.
* Minor clarification of dedent().Greg Ward2003-05-081-3/+3
|
* Add DedentTestCase to test dedent() function.Greg Ward2003-05-081-3/+68
|
* SF patch #598163 (Ville Vainio, vvainio@users.sourceforge.net):Greg Ward2003-05-081-0/+42
| | | | | | | | | add dedent() function, to remove indentation from multiline strings (eg. triple-quoted strings). Differs from inspect.getdoc() by not special-casing the first line (often a sensible approach for non-docstring multiline strings). This should make this function more general (symmetric 'indent' also possible), and more fitting for the textwrap module.
* Update to Optik 1.4.1+: adds __all__ (Optik SF bug #728563).Greg Ward2003-05-081-3/+20
|
* Library documentation for the 'test' package. Still needs to be checked by ↵Brett Cannon2003-05-072-0/+276
| | | | Fred.
* Rewrote the basic section of the chapter on defining new types.Jim Fulton2003-05-073-125/+946
| | | | | | | | | | | | | | | | | | | | | | | | | | | Changed the example to show how to create types the new way: - Use a class new method rather than a new function. - Use self->ob_type->tp_free in deallocators - Use attribute descriptors rather than set/getattr methods. - Make the type usable as a base type. I split the example into 3 parts: 1. The minimal new type 2. Adding attributes and methods. 3. Finer control over attributes. It's much simpler to define builtin types. These updates hopefully show this. I also made minor wording changes in two other places. I still need to update xxobject.c
* More message updates and minor fixes.Raymond Hettinger2003-05-071-10/+9
|
* Update traceback messageRaymond Hettinger2003-05-071-1/+1
|
* Add list.insert() change for negative positionsAndrew M. Kuchling2003-05-071-9/+15
| | | | | | Add ~ to MvL's last name Fix use of all-caps for a name Bump version number
* add missing parens - verified w/ interpreter - sorry to dismiss your commentSkip Montanaro2003-05-071-1/+1
| | | | Fred
* set platform properly for OSF/1Skip Montanaro2003-05-071-2/+3
|
* replace most uses of `...` by repr(...), noting that `...` is discouraged,Skip Montanaro2003-05-071-17/+15
| | | | but convenient in interactive sessions.
* Merged 2.3b1 welcome message to the trunk.Jack Jansen2003-05-071-4/+17
|
* Merged 1.2.2.1 fixes:Jack Jansen2003-05-071-12/+14
| | | | | | - Don't generate README, but ask the user to provide it. - Create destination dir, if needed. - Updated for 2.3b1.
* SF bug #730296: Unexpected Changes in list IteratorRaymond Hettinger2003-05-074-8/+9
| | | | | | | | | | | | Reverted a Py2.3b1 change to iterator in subclasses of list and tuple. They had been changed to use __getitem__ whenever it had been overriden in the subclass. This caused some usabilty and performance problems. Also, it was inconsistent with the rest of python where many container methods access the underlying object directly without first checking for an overridden getter. Users needing a change in iterator behavior should override it directly.
* SF #596434: tweak wordsep_re so the definition of an em-dash isGreg Ward2003-05-071-1/+1
| | | | | stricter: specifically, "--" must be preceded by a limited set of characters, not by any non-whitespace character.
* SF #596434: add test_funky_parens() to probe some more of the trickyGreg Ward2003-05-071-3/+19
| | | | edge cases that David Goodger reported long ago (July 2002?).
* SF #726446: raise ValueError if width <= 0.Greg Ward2003-05-071-0/+2
|
* SF #726446: ensure wrap() raises ValueError when width <= 0.Greg Ward2003-05-071-0/+6
|
* SF patch #729395: Dictionary tuningRaymond Hettinger2003-05-071-2/+2
| | | | | Adjust resize argument for dict.update() and dict.copy(). Extends the previous change to dict.__setitem__().
* p.strip(os.sep) can't have possibly worked. It would have stripped bothSkip Montanaro2003-05-061-4/+2
| | | | leading and trailing '/' characters on Unix systems.
* build bsddb185 module in certain restricted circumstancesSkip Montanaro2003-05-061-0/+28
|
* add note about bsddb185 moduleSkip Montanaro2003-05-061-0/+4
|
* detect old version 2 hash files and return "bsddb185" as the appropriateSkip Montanaro2003-05-061-3/+4
| | | | module to load them
* add a note about the undocumented bsddb185 moduleSkip Montanaro2003-05-062-0/+12
|
* add open function to bsddb185 module so the file format sniffing can beSkip Montanaro2003-05-061-0/+2
| | | | restricted to the whichdb module
* don't need to worry about file endiannessSkip Montanaro2003-05-061-1/+0
|
* Data file for bsddb185 testSkip Montanaro2003-05-061-0/+0
|
* test case for bsddb185 moduleSkip Montanaro2003-05-061-0/+40
|
* the new bsddb185 module is an expected skip on most platforms (this may notSkip Montanaro2003-05-061-0/+12
| | | | be needed - just being anal)
* add Guido's reasoning behind running all tests twiceSkip Montanaro2003-05-061-0/+7
|
* add not-yet-supported Unicode test just so it doesn't get lost.Skip Montanaro2003-05-061-0/+20
|
* add testall target - just adds -uall to the regrtest runsSkip Montanaro2003-05-061-0/+5
|
* Fix for #731643: allow "lookup in documentation" to also work if theJack Jansen2003-05-064-5/+16
| | | | interactive window is frontmost.