summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* 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
|
* - 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.
* 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-201-0/+2
| | | | | 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.
* 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.
* 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
|
* 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
|
* document socket speed reclamation. Patch 729293.Skip Montanaro2003-04-291-0/+3
|
* A start on news for 2.3b2.Tim Peters2003-04-261-0/+41
|
* Merge back from r23b1-branchGuido van Rossum2003-04-261-3/+2
|
* Update version number and release date.Guido van Rossum2003-04-251-1/+1
|
* New generator os.walk() does a bit more than os.path.walk() does, andTim Peters2003-04-251-1/+6
| | | | | seems much easier to use. Code, docs, NEWS, and additions to test_os.py (testing this sucker is a bitch!).
* Move socket news to 2.3b1 section! And mention has_ipv6.Guido van Rossum2003-04-251-4/+5
|
* Patch by Jp Calderone:Guido van Rossum2003-04-251-0/+4
| | | | | | | | | - The socket module now provides the functions inet_pton and inet_ntop for converting between string and packed representation of IP addresses. See SF patch #658327. This still needs a bit of work in the doc area, because it is not available on all platforms (especially not on Windows).
* Fix caseAndrew M. Kuchling2003-04-241-1/+1
|
* [Patch #679505] Document that the rotor module is deprecatedAndrew M. Kuchling2003-04-241-0/+4
|
* New module platform.py, submitted by Marc-Andre Lemburg.Marc-André Lemburg2003-04-241-0/+3
| | | | | There's no separate documentation for this module yet - apart from the doc-strings which explain the APIs.
* Revert the previous enhancement to the bytecode optimizer.Raymond Hettinger2003-04-241-7/+0
| | | | The additional code complexity and new NOP opcode were not worth it.
* Mention the new getargs.c format codes.Thomas Heller2003-04-231-0/+3
|
* SF patch 557704: netrc module can't handle all passwordsRaymond Hettinger2003-04-231-0/+2
| | | | | | | | | Revised netrc.py to include the additional ascii punctuation characters. Omitted the other logic changes. See Lib/netrc.py 1.17. Since this is more of a feature request than a bug, including in Py2.3 but not recommending for backporting.
* Enable os.fsync() for Windows, mapping it to MS's _commit() there. TheTim Peters2003-04-231-0/+3
| | | | | | docs here are best-guess: the MS docs I could find weren't clear, and some even claimed _commit() has no effect on Win32 systems (which is easily shown to be false just by trying it).
* Adding new built-in function sum, with docs and tests.Alex Martelli2003-04-221-0/+4
|