summaryrefslogtreecommitdiffstats
path: root/Misc
Commit message (Collapse)AuthorAgeFilesLines
* #1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and ↵Christian Heimes2007-12-191-0/+3
| | | | Py_REFCNT. Macros for b/w compatibility are available.
* Applied patch #1635: Float patch for inf and nan on Windows (and other ↵Christian Heimes2007-12-181-0/+7
| | | | | | platforms). The patch unifies float("inf") and repr(float("inf")) on all platforms.
* Give meaning to the oparg for BUILD_MAP: estimated size of the dictionary.Raymond Hettinger2007-12-181-0/+4
| | | | | | | | | | | Allows dictionaries to be pre-sized (upto 255 elements) saving time lost to re-sizes with their attendant mallocs and re-insertions. Has zero effect on small dictionaries (5 elements or fewer), a slight benefit for dicts upto 22 elements (because they had to resize once anyway), and more benefit for dicts upto 255 elements (saving multiple resizes during the build-up and reducing the number of collisions on the first insertions). Beyond 255 elements, there is no addional benefit.
* Issue #1642: Fix segfault in ctypes when trying to delete attributes.Thomas Heller2007-12-181-0/+2
|
* Fixed #1638: %zd configure test fails on LinuxChristian Heimes2007-12-161-0/+2
|
* Fixed bug #1620: New @spam.getter property syntax modifies the property in ↵Christian Heimes2007-12-141-0/+3
| | | | | | place. I added also the feature that a @prop.getter decorator does not overwrite the doc string of the property if it was given as an argument to property().
* Patch #1608. Someone with access to autoconf 2.61 or higher needs toGuido van Rossum2007-12-132-0/+5
| | | | run it and check in the resulting configure file.
* Fix bug 1604. deque.__init__() did not clear existing contents like ↵Raymond Hettinger2007-12-131-0/+4
| | | | list.__init__. Not a backport candidate.
* Patch #1643738 by Ulisses Furquim -- make the is_tripped variableGuido van Rossum2007-12-101-0/+1
| | | | | in signalmodule.c more robust. Includes Martin von Loewis's suggestion to set is_tripped after .tripped.
* Backport of r59456:59458 from py3k to trunkChristian Heimes2007-12-101-0/+4
| | | | | | Issue #1580: New free format floating point representation based on "Floating-Point Printer Sample Code", by Robert G. Burger. For example repr(11./5) now returns '2.2' instead of '2.2000000000000002'. Thanks to noam for the patch! I had to modify doubledigits.c slightly to support X64 and IA64 machines on Windows. I also added the new file to the three project files.
* Added wide char api variants of getch and putch to msvcrt module. The wide ↵Christian Heimes2007-12-101-0/+3
| | | | char methods are required to fix #1578 in py3k. I figured out that they might be useful in 2.6, too.
* Add Jeff Wheeler.Georg Brandl2007-12-091-0/+1
|
* When splitting, avoid making a copy of the string if the split doesn't findSkip Montanaro2007-12-081-0/+3
| | | | anything (issue 1538).
* Fix Eren's name.Georg Brandl2007-12-081-1/+1
|
* Be (just a bit :) more specific about release date.Guido van Rossum2007-12-081-1/+1
|
* Increase unit test coverage of SimpleXMLRPCServer.Georg Brandl2007-12-071-0/+1
| | | | Written for GHOP by Turkay Eren.
* Spelling fixAndrew M. Kuchling2007-12-051-1/+1
|
* Added msg to Misc/NEWSChristian Heimes2007-12-051-0/+3
|
* Move nt.access change into the right section.Martin v. Löwis2007-12-041-2/+2
|
* Forward-port r59310:Martin v. Löwis2007-12-031-0/+2
| | | | os.access now returns True on Windows for any existing directory.
* Patch #1537 from Chad AustinChristian Heimes2007-12-031-0/+2
| | | | | Change GeneratorExit's base class from Exception to BaseException (This time I'm applying the patch to the correct sandbox.)
* Issue #1727780: Support loading pickles of random.Random objects createdMartin v. Löwis2007-12-032-0/+6
| | | | | | on 32-bit systems on 64-bit systems, and vice versa. As a consequence of the change, Random pickles created by Python 2.6 cannot be loaded in Python 2.5.
* Added comment to Misc/NEWS for r59290Christian Heimes2007-12-031-0/+3
|
* Implement PEP 366Nick Coghlan2007-12-031-0/+4
|
* Add test suite for cmd module.Georg Brandl2007-12-011-0/+1
| | | | Written by Michael Schneider for GHOP.
* Issue #1531: Read fileobj from the current offset, do not seek toLars Gustäbel2007-12-011-0/+3
| | | | | | the start. (will backport to 2.5)
* Feature #1534Christian Heimes2007-12-011-0/+6
| | | | | Added PyFloat_GetMax(), PyFloat_GetMin() and PyFloat_GetInfo() to the float API. Added a dictionary sys.float_info with information about the internal floating point type to the sys module.
* Issue #1521: on 64bit platforms, str.decode fails on very long strings.Amaury Forgeot d'Arc2007-11-301-0/+5
| | | | | | The t# and w# formats were not correctly handled. Will backport.
* Add a NEWS entry for r59231Amaury Forgeot d'Arc2007-11-301-0/+4
|
* Expose Py_Py3kWarningFlag as sys.py3kwarning as discussed in #1504Christian Heimes2007-11-271-0/+4
| | | | Also added a warning.warnpy3k() as convenient method for Python 3.x related deprecation warnings.
* back in these go - thanks to Titus Brown for the fixSkip Montanaro2007-11-241-0/+3
|
* Issue #1445: Fix a SystemError when accessing the ``cell_contents``Amaury Forgeot d'Arc2007-11-241-0/+3
| | | | attribute of an empty cell object. Now a ValueError is raised.
* revertSkip Montanaro2007-11-241-3/+0
|
* issue 1429818Skip Montanaro2007-11-231-0/+3
|
* Add a NEWS entry for r59076.Amaury Forgeot d'Arc2007-11-211-0/+3
|
* Added NEWS entryChristian Heimes2007-11-211-0/+1
| | | | Thanks for the reminder, Brett
* doctest assumed that a package's __loader__.get_data() method used universalBrett Cannon2007-11-211-0/+3
| | | | | | | newlines; it doesn't. To rectify this the string returned replaces all instances of os.linesep with '\n' to fake universal newline support. Backport candidate.
* Patch #1739468: Directories and zipfiles containing __main__.py are now ↵Nick Coghlan2007-11-181-0/+4
| | | | executable
* Merge from py3k branch:Amaury Forgeot d'Arc2007-11-131-0/+4
| | | | | | | | | | | | | | | | | | | | | | Correction for issue1265 (pdb bug with "with" statement). When an unfinished generator-iterator is garbage collected, PyEval_EvalFrameEx is called with a GeneratorExit exception set. This leads to funny results if the sys.settrace function itself makes use of generators. A visible effect is that the settrace function is reset to None. Another is that the eventual "finally" block of the generator is not called. It is necessary to save/restore the exception around the call to the trace function. This happens a lot with py3k: isinstance() of an ABCMeta instance runs def __instancecheck__(cls, instance): """Override for isinstance(instance, cls).""" return any(cls.__subclasscheck__(c) for c in {instance.__class__, type(instance)}) which lets an opened generator expression each time it returns True. Backport candidate, even if the case is less frequent in 2.5.
* Patch #1418: Make the AC_REPLACE_FUNCS object files actually work.Martin v. Löwis2007-11-121-0/+2
|
* Add Amaury Forgeot d'Arc.Martin v. Löwis2007-11-091-0/+3
|
* Add set.isdisjoint()Raymond Hettinger2007-11-081-0/+2
|
* Add missing NEWS entryNick Coghlan2007-11-071-0/+3
|
* Add build option for faster loop execution.Raymond Hettinger2007-11-071-0/+5
|
* Fix marshal's incorrect handling of subclasses of builtin types (backport ↵Raymond Hettinger2007-11-071-0/+4
| | | | candidate).
* Fixes Issue 1385: The hmac module now computes the correct hmac when usingGregory P. Smith2007-11-061-0/+3
| | | | hashes with a block size other than 64 bytes (such as sha384 and sha512).
* Add the bsddb.db.DBEnv.lock_id_free method.Gregory P. Smith2007-11-051-0/+2
| | | | Improve test_lock's tempdir creation and cleanup.
* Fixes bug 477182 on pybsddb.sf.net. DB objects now load the flags andGregory P. Smith2007-11-051-0/+8
| | | | | | | | | | pay attention to them when opening an existing database. This means that d[] behaves properly even on databases previously created with DB_DUP or DB_DUPSORT flags to allow duplicate keys. http://sourceforge.net/tracker/index.php?func=detail&aid=477182&group_id=13900&atid=113900 Do not backport, this bugfix could be considered an API change.
* Issue #1292: On alpha, arm, ppc, and s390 linux systems theThomas Heller2007-11-021-0/+3
| | | | | --with-system-ffi configure option defaults to "yes" because the bundled libffi sources are too old.
* false "fix" undone as correct problem was found and fixed.Gregory P. Smith2007-11-011-4/+0
|