summaryrefslogtreecommitdiffstats
path: root/Misc
Commit message (Collapse)AuthorAgeFilesLines
* Bumping to 2.6b1v2.6b1Barry Warsaw2008-06-192-2/+2
|
* Updated with fix for #3126.Vinay Sajip2008-06-171-2/+6
|
* Add Jesse Noller to the developers list.Georg Brandl2008-06-161-0/+3
|
* Issue 3110: Crash with weakref subclass,Amaury Forgeot d'Arc2008-06-161-0/+3
| | | | | | | | | seen after a "import multiprocessing.reduction" An instance of a weakref subclass can have attributes. If such a weakref holds the only strong reference to the object, deleting the weakref will delete the object. In this case, the callback must not be called, because the ref object is being deleted!
* Issue 3116: fix quadratic behavior in marshal.dumps().Raymond Hettinger2008-06-161-0/+2
|
* Switch to SQLite 3.5.9.Martin v. Löwis2008-06-131-1/+1
|
* Switch to bzip2 1.0.5.Martin v. Löwis2008-06-131-1/+1
|
* platform.uname now tries to fill empty values even when os.uname is presentBenjamin Peterson2008-06-132-0/+4
|
* add py3k warnings to rfc822Benjamin Peterson2008-06-121-0/+2
|
* Switch to Tcl/Tk 8.5.Martin v. Löwis2008-06-121-0/+2
|
* deprecated mimetoolsBenjamin Peterson2008-06-121-0/+2
|
* Can we agree to put dots at entry ends? Thanks.Georg Brandl2008-06-111-4/+4
|
* update ACKS and NEWs for multiprocessingBenjamin Peterson2008-06-112-0/+4
|
* Add future_builtins.ascii().Georg Brandl2008-06-111-0/+2
|
* add aliases to threading moduleBenjamin Peterson2008-06-111-0/+1
|
* give the threading API PEP 8 namesBenjamin Peterson2008-06-111-0/+1
|
* Multi-arg form for set.difference() and set.difference_update().Raymond Hettinger2008-06-111-1/+1
|
* Merge in release25-maint r60793:Gregory P. Smith2008-06-111-0/+5
| | | | | | Added checks for integer overflows, contributed by Google. Some are only available if asserts are left in the code, in cases where they can't be triggered from Python code.
* NEWS entry for:Thomas Heller2008-06-101-0/+4
| | | | Add an optional 'offset' parameter to byref, defaulting to zero.
* Add Arnaud for his efforts on multi-arg set operations.Raymond Hettinger2008-06-101-0/+1
|
* Add the "ast" module, containing helpers to ease use of the "_ast" classes.Georg Brandl2008-06-102-0/+3
|
* Add Gregor Lingl.Martin v. Löwis2008-06-101-0/+3
|
* Let set.intersection() and set.intersection_update() take multiple input ↵Raymond Hettinger2008-06-091-1/+2
| | | | arguments.
* Let set.union() and set.update() accept multiple inputs.Raymond Hettinger2008-06-091-0/+2
|
* Issue #2138: Add math.factorial().Raymond Hettinger2008-06-091-0/+2
|
* Factor out docstring dedenting from inspect.getdoc() into inspect.cleandoc()Georg Brandl2008-06-071-0/+3
| | | | to ease standalone use of the algorithm.
* Issue #1798: Add ctypes calling convention that allows safe access of errno.Thomas Heller2008-06-061-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ctypes maintains thread-local storage that has space for two error numbers: private copies of the system 'errno' value and, on Windows, the system error code accessed by the GetLastError() and SetLastError() api functions. Foreign functions created with CDLL(..., use_errno=True), when called, swap the system 'errno' value with the private copy just before the actual function call, and swapped again immediately afterwards. The 'use_errno' parameter defaults to False, in this case 'ctypes_errno' is not touched. On Windows, foreign functions created with CDLL(..., use_last_error=True) or WinDLL(..., use_last_error=True) swap the system LastError value with the ctypes private copy. The values are also swapped immeditately before and after ctypes callback functions are called, if the callbacks are constructed using the new optional use_errno parameter set to True: CFUNCTYPE(..., use_errno=TRUE) or WINFUNCTYPE(..., use_errno=True). New ctypes functions are provided to access the ctypes private copies from Python: - ctypes.set_errno(value) and ctypes.set_last_error(value) store 'value' in the private copy and returns the previous value. - ctypes.get_errno() and ctypes.get_last_error() returns the current ctypes private copies value.
* Backport from py3k: Implement the new buffer interface from pep3118Thomas Heller2008-06-051-0/+2
| | | | for ctypes instances. Closes issue #2404.
* MacOS X: Enable 4-way universal buildsRonald Oussoren2008-06-051-0/+25
| | | | | | | | | | | | | | | | | | This patch adds a new configure argument on OSX: --with-universal-archs=[32-bit|64-bit|all] When used with the --enable-universalsdk option this controls which CPU architectures are includes in the framework. The default is 32-bit, meaning i386 and ppc. The most useful alternative is 'all', which includes all 4 CPU architectures supported by MacOS X (i386, ppc, x86_64 and ppc64). This includes limited support for the Carbon bindings in 64-bit mode as well, limited because (a) I haven't done extensive testing and (b) a large portion of the Carbon API's aren't available in 64-bit mode anyway. I've also duplicated a feature of Apple's build of python: setting the environment variable 'ARCHFLAGS' controls the '-arch' flags used for building extensions using distutils.
* Revert revisions 63943 and 63942 (Issue #1798: Add ctypes callingThomas Heller2008-06-041-3/+0
| | | | | | | | convention that allows safe access to errno) This code does not yet work on OS X (__thread storage specifier not available), so i needs a configure check plus a more portable solution.
* Issue #1798: Add ctypes calling convention that allows safe access toThomas Heller2008-06-041-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | errno (and LastError, on Windows). ctypes maintains a module-global, but thread-local, variable that contains an error number; called 'ctypes_errno' for this discussion. This variable is a private copy of the systems 'errno' value; the copy is swapped with the 'errno' variable on several occasions. Foreign functions created with CDLL(..., use_errno=True), when called, swap the values just before the actual function call, and swapped again immediately afterwards. The 'use_errno' parameter defaults to False, in this case 'ctypes_errno' is not touched. The values are also swapped immeditately before and after ctypes callback functions are called, if the callbacks are constructed using the new optional use_errno parameter set to True: CFUNCTYPE(..., use_errno=TRUE) or WINFUNCTYPE(..., use_errno=True). Two new ctypes functions are provided to access the 'ctypes_errno' value from Python: - ctypes.set_errno(value) sets ctypes_errno to 'value', the previous ctypes_errno value is returned. - ctypes.get_errno() returns the current ctypes_errno value. --- On Windows, the same scheme is implemented for the error value which is managed by the GetLastError() and SetLastError() windows api calls. The ctypes functions are 'ctypes.set_last_error(value)' and 'ctypes.get_last_error()', the CDLL and WinDLL optional parameter is named 'use_last_error', defaults to False. --- On Windows, TlsSetValue and TlsGetValue calls are used to provide thread local storage for the variables; ctypes compiled with __GNUC__ uses __thread variables.
* Patch #1513695: New turtle module, with demos.Martin v. Löwis2008-06-041-0/+1
|
* Patch #2125: Add GetInteger and GetString methods forMartin v. Löwis2008-06-021-0/+3
| | | | msilib.Record objects.
* Fix issue 2782: be less strict about the format string type in strftime.Gregory P. Smith2008-06-021-0/+3
| | | | | Accept unicode and anything else ParseTuple "s#" can deal with. This matches the time.strftime behavior.
* Adds a Thread.getIdent() method to provide the _get_ident() value forGregory P. Smith2008-06-011-0/+2
| | | | any given threading.Thread object. feature request issue 2871.
* Deprecate htmllib and sgmllib for 3.0.Georg Brandl2008-06-011-2/+5
|
* Issue #2898: Added sys.getsizeof() to retrieve size of objects in bytes.Robert Schuppenies2008-06-011-0/+2
|
* New environment variable PYTHONIOENCODING.Martin v. Löwis2008-06-011-0/+2
|
* Implement heapq in terms of less-than (to match list.sort()).Raymond Hettinger2008-05-311-0/+3
|
* Update the locale module alias table.Marc-André Lemburg2008-05-301-0/+3
| | | | Closes #3011.
* ctypes NULL function pointers have a boolean False value now.Thomas Heller2008-05-291-0/+3
|
* #2985: allow i8 in XMLRPC responses.Georg Brandl2008-05-291-2/+5
|
* UserString.MutableString has been removed in Python 3.0.Brett Cannon2008-05-291-0/+3
| | | | Works on issue #2877. Thanks Quentin Gallet-Gilles for the patch.
* #2989: add PyType_Modified().Georg Brandl2008-05-281-1/+3
|
* Do not close external file objects passed to tarfile.open(mode='w:bz2')Lars Gustäbel2008-05-271-0/+3
| | | | when the TarFile is closed.
* turn PyErr_WarnPy3k into a macroBenjamin Peterson2008-05-261-2/+1
|
* Updated NEWSChristian Heimes2008-05-261-0/+9
|
* note about r63617Gregory P. Smith2008-05-251-0/+4
|
* #2959: allow multiple close() calls for GzipFile.Georg Brandl2008-05-251-0/+4
|
* ConfigParser renaming reversal part 3: move module into place and adapt imports.Georg Brandl2008-05-252-6/+3
|