summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Remove support for --without-universal-newlines (see PEP 11).Skip Montanaro2004-02-071-22/+0
|
* * Fix ref counting in extend() and extendleft().Raymond Hettinger2004-02-071-4/+93
| | | | * Let deques support reversed().
* Have deques support high volume loads.Raymond Hettinger2004-02-061-23/+74
|
* Add FreeBSD support for bluetooth sockets. (SF Patch #888148)Hye-Shik Chang2004-02-021-0/+4
|
* Add FreeBSD support for bluetooth sockets.Hye-Shik Chang2004-02-021-14/+38
| | | | (SF Patch #888148, reviewed by loewis)
* Patch #874083: Bluetooth support for socket module.Martin v. Löwis2004-01-312-0/+113
|
* Fix spelling.Raymond Hettinger2004-01-291-2/+2
|
* * Move collections.deque() in from the sandboxRaymond Hettinger2004-01-291-0/+582
| | | | | | * Add unittests, newsitem, and whatsnew * Apply to Queue.py mutex.py threading.py pydoc.py and shlex.py * Docs are forthcoming
* Add missed entry for cjkcodecs._iso_2022_kr.Hye-Shik Chang2004-01-281-0/+1
|
* Fix MSVC6 warnings. (spotted by Tim Peters)Hye-Shik Chang2004-01-2320-48/+48
|
* pwd_getpwuid(), pwd_getpwnam(): Patch # 868499, improvement to the errorBarry Warsaw2004-01-201-2/+4
| | | | messages.
* grp_getgrgid(), grp_getgrnam(): Patch # 868499, improvement to the errorBarry Warsaw2004-01-201-2/+2
| | | | messages.
* Removing TODO comment for None keys, as suggested by Neal Norwitz.Gustavo Niemeyer2004-01-201-1/+1
|
* When key is None, give up if _DB_get_type() returns -1 as well.Gustavo Niemeyer2004-01-201-0/+2
|
* Fixing #880531: raise TypeError when trying to use a None key with RECNOGustavo Niemeyer2004-01-201-0/+7
| | | | or QUEUE database.
* Add CJK codecs support as discussed on python-dev. (SF #873597)Hye-Shik Chang2004-01-1752-0/+40584
| | | | | Several style fixes are suggested by Martin v. Loewis and Marc-Andre Lemburg. Thanks!
* Remove support for SunOS 4.Skip Montanaro2004-01-174-34/+1
| | | | Remove BAD_EXEC_PROTOYPE (leftover from IRIX 4 demolition).
* Make parameter names in docstring more mnemonicAndrew M. Kuchling2004-01-161-1/+1
|
* The format of the string data used in the imageop module is describedSjoerd Mullender2004-01-101-33/+108
| | | | | | | | | | | | | | | | | | as "This is the same format as used by gl.lrectwrite() and the imgfile module." This implies a certain byte order in multi-byte pixel formats. However, the code was originally written on an SGI (big-endian) and *uses* the fact that bytes are stored in a particular order in ints. This means that the code uses and produces different byte order on little-endian systems. This fix adds a module-level flag "backward_compatible" (default not set, and if not set, behaves as if set to 1--i.e. backward compatible) that can be used on a little-endian system to use the same byte order as the SGI. Using this flag it is then possible to prepare SGI-compatible images on a little-endian system. This patch is the result of a (small) discussion on python-dev and was submitted to SourceForge as patch #874358.
* SF Patch #864863: Bisect C implementationRaymond Hettinger2004-01-051-0/+228
| | | | (Contributed by Dmitry Vasiliev.)
* FIx unicodefilename support of posix.uname(). This fixes test_unicode_fileHye-Shik Chang2004-01-041-1/+2
| | | | failure on FreeBSD.
* Convert return value to boolean.Raymond Hettinger2004-01-041-1/+1
|
* Add IPV6_ socket options from RFCs 3493 and 3542. Fixes #867012.Martin v. Löwis2003-12-301-0/+71
|
* Fix erroneus argument parsing of socket.htons() on 64bit big endianHye-Shik Chang2003-12-171-1/+1
| | | | machines.
* Make private/local functions staticNeal Norwitz2003-12-131-6/+6
|
* Cleaning up recursive pieces left in the reorganization.Gustavo Niemeyer2003-12-131-119/+16
|
* Implement itertools.groupby()Raymond Hettinger2003-12-061-1/+321
| | | | | | | Original idea by Guido van Rossum. Idea for skipable inner iterators by Raymond Hettinger. Idea for argument order and identity function default by Alex Martelli. Implementation by Hye-Shik Chang (with tweaks by Raymond Hettinger).
* Fix typos.Raymond Hettinger2003-12-041-2/+2
|
* Fix [ 846133 ] os.chmod/os.utime/shutil do not work with unicode filenamesMark Hammond2003-12-031-3/+50
|
* doc nitSkip Montanaro2003-12-021-1/+2
|
* As discussed on python-dev, added two extractor functions to theRaymond Hettinger2003-12-011-2/+225
| | | | operator module.
* Patch #849595: Add socket.shutdown() constants.Martin v. Löwis2003-11-271-2/+25
|
* Silence GCC warning when asserts are turned off.Guido van Rossum2003-11-241-2/+1
|
* SF bug 839548: Bug in type's GC handling causes segfaults.Tim Peters2003-11-202-13/+236
| | | | | | | | Also SF patch 843455. This is a critical bugfix. I'll backport to 2.3 maint, but not beyond that. The bugs this fixes have been there since weakrefs were introduced.
* Got rid of macglue.h, replacing it by pymactoolbox.h where relevant.Jack Jansen2003-11-201-4/+4
| | | | Cleaned up various things in the toolbox modules.
* Getting rid of all the code inside #ifdef macintosh too.Jack Jansen2003-11-205-220/+3
|
* Getting rid of code dependent on GUSI or the MetroWerks compiler.Jack Jansen2003-11-194-20/+1
|
* Getting rid of support for the ancient Apple MPW compiler.Jack Jansen2003-11-192-20/+0
|
* Patch #794400: Let PYTHONSTARTUP influence the compiler flags.Martin v. Löwis2003-11-181-9/+14
|
* Change ValueErrors to TypeErrors and add PyList_Check() assertions.Raymond Hettinger2003-11-151-4/+6
|
* Verify heappop argument is a list.Raymond Hettinger2003-11-151-0/+5
|
* update_refs(): assert that incoming refcounts aren't 0. The commentTim Peters2003-11-141-0/+19
| | | | | | | | for this function has always claimed that was true, but it wasn't verified before. For the latest batch of "double deallocation" bugs (stemming from weakref callbacks invoked by way of subtype_dealloc), this assert would have triggered (instead of waiting for _Py_ForgetReference to die with a segfault later).
* Patch #804543: strdup saved locales. Backported to 2.3.Martin v. Löwis2003-11-131-1/+2
|
* Improve the implementation of itertools.tee().Raymond Hettinger2003-11-121-181/+199
| | | | | | | | | | | Formerly, underlying queue was implemented in terms of two lists. The new queue is a series of singly-linked fixed length lists. The new implementation runs much faster, supports multi-way tees, and allows tees of tees without additional memory costs. The root ideas for this structure were contributed by Andrew Koenig and Guido van Rossum.
* Patch #839038: Add getsid(2).Martin v. Löwis2003-11-101-0/+22
|
* Convert heapq.py to a C implementation.Raymond Hettinger2003-11-081-0/+357
|
* Overallocate target buffer for normalization more early. Fixes #834676.Martin v. Löwis2003-11-061-5/+7
| | | | Backported to 2.3.
* * SF patch 835100 - C++ // comments are not allowed. Use /* */Gregory P. Smith2003-11-031-8/+8
|
* * Use weakref's of DBCursor objects for the iterator cursors to avoid aGregory P. Smith2003-11-031-2/+38
| | | | | | | | | | memory leak that would've occurred for all iterators that were destroyed before having iterated until they raised StopIteration. * Simplify some code. * Add new test cases to check for the memleak and ensure that mixing iteration with modification of the values for existing keys works.
* * Fix the singlethreaded deadlocks occurring in the simple bsddb interface.Gregory P. Smith2003-11-021-1/+1
| | | | | * Add support for multiple iterator/generator objects at once on the simple bsddb _DBWithCursor interface.