summaryrefslogtreecommitdiffstats
path: root/Misc
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Adding Christian Heimes.Martin v. Löwis2007-10-311-0/+3
|
* - Add support for FreeBSD 8 which is recently forked from FreeBSD 7.Hye-Shik Chang2007-10-281-0/+3
| | | | - Regenerate IN module for most recent maintenance tree of FreeBSD 6 and 7.
* Bug #1287: make os.environ.pop() work as expected.Georg Brandl2007-10-241-1/+4
|
* - Build using system ffi library on arm*-linux*.Matthias Klose2007-10-241-0/+2
|
* Optimize sum() for integer and float inputs.Raymond Hettinger2007-10-241-0/+2
|
* Fixup news entryRaymond Hettinger2007-10-231-3/+1
|
* Shorter name for namedtuple()Raymond Hettinger2007-10-231-0/+2
|
* Add Chris Monson so he can edit PEPs.Neal Norwitz2007-10-221-0/+3
|
* Fix ctypes on 32-bit systems when Python is configured --with-system-ffi.Thomas Heller2007-10-191-0/+3
| | | | | | See also https://bugs.launchpad.net/bugs/72505. Ported from release25-maint branch.
* mention bsddb fixes.Gregory P. Smith2007-10-181-0/+7
|
* Bug #1216: Restore support for Visual Studio 2002.Martin v. Löwis2007-10-121-0/+2
| | | | Will backport to 2.5.
* On OS X, use os.uname() instead of gestalt.sysv(...) to get theThomas Heller2007-10-111-0/+3
| | | | | operating system version. This allows to use ctypes when Python was configured with --disable-toolbox-glue.
* Eliminate camelcase function nameRaymond Hettinger2007-10-081-1/+1
|
* Add a note about fixing some more warnings found by Coverity.Neal Norwitz2007-10-051-0/+2
|
* Add __asdict__() to NamedTuple and refine the docs.Raymond Hettinger2007-10-051-0/+2
| | | | | | Add maxlen support to deque() and fixup docs. Partially fix __reduce__(). The None as a third arg was no longer supported. Still needs work on __reduce__() to handle recursive inputs.
* itertools.count() no longer limited to sys.maxint.Raymond Hettinger2007-10-041-0/+3
|
* enumerate() is no longer bounded to using sequences shorter than LONG_MAX. ↵Raymond Hettinger2007-10-031-0/+4
| | | | The possibility of overflow was sending some newsgroup posters into a tizzy.
* tuple.__repr__ did not consider a reference loop as it is not possible fromBrett Cannon2007-09-301-0/+6
| | | | | | | | | | Python code; but it is possible from C. object.__str__ had the issue of not expecting a type to doing something within it's tp_str implementation that could trigger an infinite recursion, but it could in C code.. Both found thanks to BaseException and how it handles its repr. Closes issue #1686386. Thanks to Thomas Herve for taking an initial stab at coming up with a solution.
* Patch #1541463: optimize performance of cgi.FieldStorage operations.Georg Brandl2007-09-201-0/+2
|
* Annotated the correction to urllib.py, issue #1177Facundo Batista2007-09-191-1/+1
|
* Decimal is updated, :)Facundo Batista2007-09-171-0/+2
|
* Add a bunch of GIL release/acquire points in tp_print implementations and forBrett Cannon2007-09-171-0/+5
| | | | | | PyObject_Print(). Closes issue #1164.
* Bug #1153: repr.repr() now doesn't require set and dictionary itemsGeorg Brandl2007-09-121-0/+3
| | | | to be orderable to properly represent them.
* Generators had their throw() method allowing string exceptions. That's aBrett Cannon2007-09-111-0/+3
| | | | | | | no-no. Fixes issue #1147. Need to fix 2.5 to raise a proper warning if a string exception is passed in.
* Fix a possible segfault from recursing too deep to get the repr of a list.Brett Cannon2007-09-101-0/+3
| | | | Closes issue #1096.