summaryrefslogtreecommitdiffstats
path: root/Misc
Commit message (Collapse)AuthorAgeFilesLines
* Module and tests:Raymond Hettinger2004-07-091-0/+3
| | | | | | | | | | | | * Map conditions to related signals. * Make contexts unhashable. * Eliminate used "default" attribute in exception definitions. * Eliminate the _filterfunc in favor of a straight list. Docs: * Eliminate documented references to conditions that are not signals. * Eliminate parenthetical notes such as "1/0 --> Inf" which are no longer true with the new defaults.
* post-release funAnthony Baxter2004-07-091-9/+45
|
* 2.4a1Anthony Baxter2004-07-081-1/+1
|
* release datesAnthony Baxter2004-07-081-1/+1
|
* This closes patch:Michael W. Hudson2004-07-071-0/+1
| | | | | | | | | | | | | | | | | [ 960406 ] unblock signals in threads although the changes do not correspond exactly to any patch attached to that report. Non-main threads no longer have all signals masked. A different interface to readline is used. The handling of signals inside calls to PyOS_Readline is now rather different. These changes are all a bit scary! Review and cross-platform testing much appreciated.
* Made the explanation more accurate; trimmed trailing whitespace; fixedTim Peters2004-07-071-16/+22
| | | | a typo.
* Add msg for bug #981530 (shutil.rmtree). Somehow that got missed inGuido van Rossum2004-07-061-0/+4
| | | | the checkin.
* Typo fixesAndrew M. Kuchling2004-07-041-6/+6
|
* Clarify last added comment (bug #754449).Brett Cannon2004-07-031-2/+3
|
* threading.Thread objects will now print a traceback for an exception raisedBrett Cannon2004-07-031-0/+3
| | | | | | | during interpreter shutdown instead of masking it with another traceback about accessing a NoneType when trying to print the exception out in the first place. Closes bug #754449 (using patch #954922).
* Make weak references subclassable:Fred Drake2004-07-021-0/+5
| | | | | | | | | | | | | | | | | | | | | | - weakref.ref and weakref.ReferenceType will become aliases for each other - weakref.ref will be a modern, new-style class with proper __new__ and __init__ methods - weakref.WeakValueDictionary will have a lighter memory footprint, using a new weakref.ref subclass to associate the key with the value, allowing us to have only a single object of overhead for each dictionary entry (currently, there are 3 objects of overhead per entry: a weakref to the value, a weakref to the dictionary, and a function object used as a weakref callback; the weakref to the dictionary could be avoided without this change) - a new macro, PyWeakref_CheckRefExact(), will be added - PyWeakref_CheckRef() will check for subclasses of weakref.ref This closes SF patch #983019.
* SF #951851 fixed.Thomas Heller2004-07-021-0/+3
|
* SF Bug #215126: Over restricted type checking on eval() functionRaymond Hettinger2004-07-021-0/+2
| | | | | | The builtin eval() function now accepts any mapping for the locals argument. Time sensitive steps guarded by PyDict_CheckExact() to keep from slowing down the normal case. My timings so no measurable impact.
* Move Decimal from the sandbox into production.Raymond Hettinger2004-07-011-0/+2
|
* tyopMichael W. Hudson2004-06-301-1/+1
|
* restore NEWS entry for 957240Michael W. Hudson2004-06-301-0/+3
|
* [Patch #974633] Check PyObject_MALLOC return for errorAndrew M. Kuchling2004-06-291-0/+1
|
* Fix stupid mistake of forgetting to mention that the fix for bug #981299Brett Cannon2004-06-291-2/+2
| | | | entailed editing the urlparse module.
* rsync is now a recognized protocol that uses "netloc" (i.e. specifies a networkBrett Cannon2004-06-291-0/+3
| | | | | | location) in its addressing. Closes bug #981299.
* Added socket.getservbyport(), and make its second argument and that ofBarry Warsaw2004-06-281-0/+3
| | | | getservbyname() optional. Update the tests and the docs.
* Patch #923098: Share interned strings in marshal.Martin v. Löwis2004-06-271-0/+3
|
* Modules/getpath.c now compiles properly under OS X when using theBrett Cannon2004-06-261-0/+3
| | | | | | | --disable-framework build; header file was protected in an #if using the wrong macro to check. Closes bug #978645.
* Make distutils "install --home" support all platforms.Fred Drake2004-06-251-0/+3
|
* Fix leak found by Eric Huss.Raymond Hettinger2004-06-251-0/+1
|
* SF patch 876130: add C API to datetime module, from Anthony Tuininga.Tim Peters2004-06-202-0/+5
| | | | | | The LaTeX is untested (well, so is the new API, for that matter). Note that I also changed NULL to get spelled consistently in concrete.tex. If that was a wrong thing to do, Fred should yell at me.
* Bug 975996: Add _PyTime_DoubleToTimet to C APITim Peters2004-06-201-3/+12
| | | | | | | | | | | New include file timefuncs.h exports private API function _PyTime_DoubleToTimet() from timemodule.c. timemodule should export some other functions too (look for painful bits in datetimemodule.c). Added insane-argument checking to datetime's assorted fromtimestamp() and utcfromtimestamp() methods. Added insane-argument tests of these to test_datetime, and insane-argument tests for ctime(), localtime() and gmtime() to test_time.
* shutil.move() will raise an exception when trying to move a directory intoBrett Cannon2004-06-192-0/+4
| | | | | | itself. Closes bug #919012 . Thanks Johannes Gijsbers.
* Add news item about raising ValueError when timemodule.c code that usesBrett Cannon2004-06-191-0/+4
| | | | timestamps will lose precision thanks to time_t < double (bug #919012).
* pydoc.stripid() is now case-insensitive for its regex to support platforms thatBrett Cannon2004-06-192-1/+4
| | | | | | have pointer addresses in uppercase. Closes bug #934282. Thanks Robin Becker.
* allow developers to more easily build a profiling version of the interpreterSkip Montanaro2004-06-181-0/+3
| | | | and modules by configuring with the --enable-profiling flag.
* Patch #826074: cmath.log optional base argument, fixes #823209Raymond Hettinger2004-06-141-0/+3
| | | | (Contributed by Andrew Gaul.)
* Back out #957240.Martin v. Löwis2004-06-141-2/+0
|
* Bug 957381: rpmbuild builds a -debuginfo rpm on recent Redhat and Fedora ↵Anthony Baxter2004-06-111-1/+4
| | | | | | | | | | releases. Ignore it, rather than breaking. Will backport. (and r1.1000 for Misc/NEWS!)
* Fix for bug #966623 - classes created with type() in an exec(, {}) don'tAnthony Baxter2004-06-111-0/+4
| | | | | | have a __module__. Test for this case. Bugfix candidate, will backport.
* Add a final permutation step to the tuple hash function.Raymond Hettinger2004-06-101-0/+1
| | | | | Prevents a collision pattern that occurs with nested tuples. (Yitz Gale provided code that repeatably demonstrated the weakness.)
* SF patch #969791: Add nlargest() and nsmallest() to heapq.Raymond Hettinger2004-06-101-1/+3
|
* Patch #774665: Make Python LC_NUMERIC agnostic.Martin v. Löwis2004-06-081-0/+4
|
* Feature request #935915: Add os.path.devnull.Martin v. Löwis2004-06-081-0/+2
|
* Patch #510695: Add TSC profiling for the VM.Martin v. Löwis2004-06-081-0/+3
|
* SF 952807: Unpickling pickled instances of subclasses of datetime.date,Tim Peters2004-06-071-0/+4
| | | | | | | datetime.datetime and datetime.time could yield insane objects. Thanks to Jiwon Seo for the fix. Bugfix candidate. I'll backport it to 2.3.
* Fix a refcount bug in an obscure code corner.Thomas Heller2004-06-071-0/+2
|
* Add some doc about using valgrindNeal Norwitz2004-06-063-0/+289
|
* SF #877165: Give an info about what C++ compiler command should beHye-Shik Chang2004-06-051-0/+3
| | | | used in cygwin and mingw32. (Reported by Michael Droettboom)
* Fix a bug that robotparser starves memory when the server responsesHye-Shik Chang2004-06-051-0/+2
| | | | | in HTTP/0.9 due to dissonance of httplib.LineAndFileWrapper and urllib.addbase.
* Refactored site.py into functions. Also moved over to using sets.Brett Cannon2004-06-051-0/+3
| | | | New regression test suite.
* Patch #926209: Patch to setup.py to run on x86_64 Linux.Martin v. Löwis2004-06-041-0/+3
|
* Warn abou missing mutate flag to ioctl. Fixes #696535.Martin v. Löwis2004-06-031-0/+2
|
* Fix the grammar a bit more. (Adjusted by Tony Meyer)Hye-Shik Chang2004-06-031-2/+3
|
* Patch #957240: Add count parameter to asyncore.loop.Martin v. Löwis2004-06-031-0/+2
|
* One more attempt to fix the grammar.Martin v. Löwis2004-06-031-2/+2
|