summaryrefslogtreecommitdiffstats
path: root/Misc
Commit message (Collapse)AuthorAgeFilesLines
* Added Steven Taschuk for efforts fixing zipfile.pyRaymond Hettinger2003-06-281-0/+1
|
* SF patch #756996: Bare except in ZipFile.testzip()Raymond Hettinger2003-06-271-0/+4
| | | | | | | | | (Contributed by Steven Taschuk) Replaces a bare except that caused all errors to be mis-reported as archive errors. Added a related NEWS item.
* SF patch #761519: Fixes for bugs 760703 and 757821Raymond Hettinger2003-06-271-0/+3
| | | | | | | | | | | | | | | | | | SF bug #760703: SocketHandler and LogRecord don't work well together SF bug #757821: logging module docs Applied Vinay Sajip's patch with a few minor fixups and a NEWS item. Patched __init__.py - added new function makeLogRecord (for bug report 760703). Patched handlers.py - updated some docstrings and deleted some old commented-out code. Patched test_logging.py to make use of makeLogRecord. Patched liblogging.tex to fill documentation gaps (both 760703 and bug 757821).
* A hack to ease compatibility with pre-2.3 Pythons: by default, doctestTim Peters2003-06-271-0/+8
| | | | | | | | | | | | | | now accepts "True" when a test expects "1", and similarly for "False" versus "0". This is un-doctest-like, but on balance makes it much more pleasant to write doctests that pass under 2.2 and 2.3. I expect it to go away again, when 2.2 is forgotten. In the meantime, there's a new doctest module constant that can be passed to a new optional argument, if you want to turn this behavior off. Note that this substitution is very simple-minded: the expected and actual outputs have to consist of single tokens. No attempt is made, e.g., to accept [True, False] when a test expects [1, 0]. This is a simple hack for simple tests, and I intend to keep it that way.
* 2.3b2 on Windows will ship with Tcl/Tk 8.4.3. Note: this still didn'tTim Peters2003-06-221-0/+2
| | | | | | | fix the hangs on Win98SE when starting IDLE via "python" from a DOS box, but did appear to make them harder to provoke. I closed that bug report as being hopeless (and if someone wants to open it again, don't dare assign it to me again <0.1 wink>).
* Remove short-circuitying grubbing by using last grubbed buffer. It'sKen Manheimer2003-06-171-9/+5
| | | | | | | | | evil - if the last grubbed buffer didn't happen to be the right one, you couldn't remedy. Mainline emacs compat - don't use third arg to buffer-substring (which was for explicitly identifying the buffer in which to seek the substring, and which turns out to be unnecessary).
* SF Patch 569574 - enhancements to cgitb for plain text displaySkip Montanaro2003-06-171-0/+3
|
* SF #754014: list.index() should accept optional start, end argumentsRaymond Hettinger2003-06-171-0/+3
| | | | Also, modified UserList.index() to match and expanded the related tests.
* Add item about new threading module functions.Jeremy Hylton2003-06-161-0/+5
|
* Added two mac items (pimp auto-update and OSA property access).Jack Jansen2003-06-161-0/+3
|
* mimetools.choose_boundary() news.Tim Peters2003-06-151-0/+4
|
* Support keyword and topics help in cli(). Fixes #715782.Martin v. Löwis2003-06-141-0/+2
|
* Copy builtin functions as atomic. Fixes #746304. Will backport to 2.2.Martin v. Löwis2003-06-141-0/+1
|
* dummy_thread modified to have interrupt_main and to behave appropriately whenBrett Cannon2003-06-131-0/+3
| | | | | | | called. Added announcement in Misc/NEWS for thread.interrupt_main and mention of dummy_thread's change.
* News about the new IDLE (is more needed?). News about SF patchGuido van Rossum2003-06-131-0/+9
| | | | 751998.
* SF patch 707900, fixing bug 702858, by Steven Taschuk.Guido van Rossum2003-06-131-0/+4
| | | | | Copying a new-style class that had a reference to itself didn't work. (The same thing worked fine for old-style classes.)
* Warn about creating global variables by __setattr__ that shadow builtinNeil Schemenauer2003-06-091-0/+6
| | | | | names. Unfortunately, this is not bulletproof since the module dictionary can be modified directly.
* Add the IDLEFORK team.Raymond Hettinger2003-06-091-0/+2
|
* Added a command line interface for difflib.pyRaymond Hettinger2003-06-081-0/+3
|
* Announce difflib.context_diff() and difflib.unified_diff().Raymond Hettinger2003-06-081-0/+2
|
* The fix to use . was incorporatedNeal Norwitz2003-06-081-2/+1
|
* - urllib2.py now knows how to order proxy classes, so the user doesn'tGustavo Niemeyer2003-06-071-0/+5
| | | | | | have to insert it in front of other classes, nor do dirty tricks like inserting a "dummy" HTTPHandler after a ProxyHandler when building an opener with proxy support.
* Remove -U from argument list.Martin v. Löwis2003-05-261-3/+0
|
* Fleshed out WeakKeyDictionary.__delitem__ NEWS to cover issues raised onTim Peters2003-05-251-5/+13
| | | | | | | | | Python-Dev. Fixed typos in test comments. Added some trivial new test guts to show the parallelism (now) among __delitem__, __setitem__ and __getitem__ wrt error conditions. Still a bugfix candidate for 2.2.3 final, but waiting for Fred to get a chance to chime in.
* SF 742860: WeakKeyDictionary __delitem__ uses iterkeysTim Peters2003-05-251-0/+6
| | | | | | | | | | | | | | | | | Someone review this, please! Final releases are getting close, Fred (the weakref guy) won't be around until Tuesday, and the pre-patch code can indeed raise spurious RuntimeErrors in the presence of threads or mutating comparison functions. See the bug report for my confusions: I can't see any reason for why __delitem__ iterated over the keys. The new one-liner implementation is much faster, can't raise RuntimeError, and should be better-behaved in all respects wrt threads. New tests test_weak_keyed_bad_delitem and test_weak_keyed_cascading_deletes fail before this patch. Bugfix candidate for 2.2.3 too, if someone else agrees with this patch.
* SF bug 705231: Assertion failed, python aborts.Tim Peters2003-05-241-0/+6
| | | | | | | float_pow(): Don't let the platform pow() raise -1.0 to an integer power anymore; at least glibc gets it wrong in some cases. Note that math.pow() will continue to deliver wrong (but platform-native) results in such cases.
* PyType_Ready(): Complain if the type is a base type, and gc'able, andTim Peters2003-05-211-0/+11
| | | | | | | | | | | | | | | | | | tp_free is NULL or PyObject_Del at the end. Because it's a base type it must call tp_free in its dealloc function, and because it's gc'able it must not call PyObject_Del. inherit_slots(): Don't inherit tp_free unless the type and its base agree about whether they're gc'able. If the type is gc'able and the base is not, and the base uses the default PyObject_Del for its tp_free, give the type PyObject_GC_Del for its tp_free (the appropriate default for a gc'able type). cPickle.c: The Pickler and Unpickler types claim to be base classes and gc'able, but their dealloc functions didn't call tp_free. Repaired that. Also call PyType_Ready() on these typeobjects, so that the correct (PyObject_GC_Del) default memory-freeing function gets plugged into these types' tp_free slots.
* SF bug 735293: Command line timeit.py sets sys.path badlyRaymond Hettinger2003-05-202-0/+3
| | | | | Paul Moore's patch to have timeit.py check the current directory for imports (instead of the directory for Lib/timeit.py).
* Fix array.array.insert(), so that it treats negative indices asWalter Dörwald2003-05-181-0/+3
| | | | | being relative to the end of the array, just like list.insert() does. This closes SF bug #739313.
* datetime.timedelta is now subclassable in Python. The new test showsTim Peters2003-05-171-2/+2
| | | | | | | | one good use: a subclass adding a method to express the duration as a number of hours (or minutes, or whatever else you want to add). The native breakdown into days+seconds+us is often clumsy. Incidentally moved a large chunk of object-initialization code closer to the top of the file, to avoid worse forward-reference trickery.
* datetime.datetime and datetime.time can now be subclassed in Python. Brr.Tim Peters2003-05-171-0/+3
|
* More fixes according to SF 549151:Guido van Rossum2003-05-161-0/+5
| | | | | | | | - When redirecting, always use GET. This is common practice and more-or-less sanctioned by the HTTP standard. - Add a handler for 307 redirection, which becomes an error for POST, but a regular redirect for GET and HEAD.
* Add optional 'onerror' argument to os.walk(), to control errorGuido van Rossum2003-05-131-0/+3
| | | | handling.
* John J. Lee contributed two urllib2 patches.Brett Cannon2003-05-121-0/+1
|
* Patch #718286: Support DESTDIR.Martin v. Löwis2003-05-111-0/+3
|
* Patch #612627: Add encoding attribute to file objects, and determineMartin v. Löwis2003-05-101-0/+3
| | | | the terminal encoding on Windows and Unix.
* Added a tool for making a rough check of LaTeX documents.Raymond Hettinger2003-05-101-0/+3
| | | | | It checks for known commands, forward slashes, unbalanced or mismatched delimters, and unbalanced or mismatched begin/end blocks.
* help with MSVC 7 support in distutilsJeremy Hylton2003-05-091-0/+1
|
* added note about autoGILJust van Rossum2003-05-091-0/+4
|
* Patch #734118: Add {get|set}busywaitinterval.Martin v. Löwis2003-05-091-0/+2
|
* Leading "C:" no longer hardcoded in the default installation directory.Tim Peters2003-05-081-0/+10
| | | | | | 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.
* SF bug #730296: Unexpected Changes in list IteratorRaymond Hettinger2003-05-071-0/+5
| | | | | | | | | | | | 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.
* add note about bsddb185 moduleSkip Montanaro2003-05-061-0/+4
|
* SF bug 622042: Don't expect response body from HEAD request.Jeremy Hylton2003-05-051-0/+1
| | | | Bug fix candidate.
* Somewhere along the way, the softspace attr of file objects became read-Tim Peters2003-05-041-0/+3
| | | | only. Repaired, and added new tests to test_file.py.
* Patch #711902: Cause pydoc to show data descriptor __doc__ strings.Martin v. Löwis2003-05-031-0/+3
|
* Note itertools.islice() bugfix.Raymond Hettinger2003-05-021-0/+3
|
* Slightly more lenient pdbtrack prompt recognition, for people who useKen Manheimer2003-05-011-1/+1
| | | | eg "pdb>".
* Allow for multiple parens around pdb prompt for (new) nested debuggingKen Manheimer2003-05-011-4/+4
| | | | sessions (and some cosmetic wording changes).
* document socket speed reclamation. Patch 729293.Skip Montanaro2003-04-291-0/+3
|