summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Give itertools.repeat() a length method.Raymond Hettinger2004-02-101-1/+7
|
* SF bug #892492: Multiple close() for asyncore.dispatcher.Raymond Hettinger2004-02-081-0/+1
| | | | | | (Contributed by Alexey Klimkin.) Don't keep the file descriptor after the channel is deleted.
* Let reversed() work with itself.Raymond Hettinger2004-02-081-0/+4
|
* Make deque.rotate() smarter. Beef-up related tests.Raymond Hettinger2004-02-081-9/+43
|
* Patch #868499, adds -T option for code coverage. The implementation is aBarry Warsaw2004-02-071-30/+51
| | | | | | fairly simpleminded adaptation of Zope3's test.py -T flag. I also changed some booleans to use True/False where appropriate.
* * Incorporate Skip's suggestions for documentation (explain the word dequeRaymond Hettinger2004-02-071-0/+12
| | | | | comes from and show the differences from lists). * Add a rotate() method.
* no longer support linux1 platformSkip Montanaro2004-02-072-247/+0
|
* no longer support sunos4 platformSkip Montanaro2004-02-074-119/+0
|
* Use collection.deque() instead of a list for a FIFO queue.Raymond Hettinger2004-02-071-5/+10
|
* * Fix ref counting in extend() and extendleft().Raymond Hettinger2004-02-071-0/+4
| | | | * Let deques support reversed().
* Lists work better when popping from the right.Raymond Hettinger2004-02-071-3/+4
|
* Have deques support high volume loads.Raymond Hettinger2004-02-061-0/+12
|
* Fix test failure message (from SF patch #885008)Walter Dörwald2004-02-061-1/+1
|
* Back rev 1.3 out per Raymond's request.Hye-Shik Chang2004-02-061-1/+6
|
* Simple is better than complex.Hye-Shik Chang2004-02-061-6/+1
|
* Fix reallocation bug in unicode.translate(): The code was comparingWalter Dörwald2004-02-051-0/+1
| | | | characters instead of character pointers to determine space requirements.
* Allocating a new weakref object can cause existing weakref objects forFred Drake2004-02-041-0/+32
| | | | | | | | | the same object to be collected by the cyclic GC support if they are only referenced by a cycle. If the weakref being collected was one of the weakrefs without callbacks, some local variables for the constructor became invalid and have to be re-computed. The test caused a segfault under a debug build without the fix applied.
* - add tests that exercise fixes for the PyWeakref_NewRef() andFred Drake2004-02-031-0/+41
| | | | | PyWeakref_NewProxy() constructors from the C API - elaborate the getweakrefcount() and getweakrefs() tests slightly
* Fix input() builtin function to respect compiler flags.Hye-Shik Chang2004-02-021-0/+13
| | | | (SF patch 876178, patch by mwh, unittest by perky)
* * Move collections.deque() in from the sandboxRaymond Hettinger2004-01-297-35/+360
| | | | | | * Add unittests, newsitem, and whatsnew * Apply to Queue.py mutex.py threading.py pydoc.py and shlex.py * Docs are forthcoming
* don't wrap lines too late by defaultFred Drake2004-01-261-2/+2
| | | | closes SF bug #842213
* There was an error in the Tk error dialog fix at Rev 1.84 which caused startingKurt B. Kaiser2004-01-211-2/+2
| | | | | | | | w/o the subprocess to fail. Check in a fix to IDLE and IDLEfork. M PyShell.py Backport candidate, combine with previous.
* rpc.py:SocketIO - Large modules were generating large pickles when downloadedKurt B. Kaiser2004-01-212-8/+14
| | | | | | | | | | | | to the execution server. The return of the OK response from the subprocess initialization was interfering and causing the sending socket to be not ready. Add an IO ready test to fix this. Moved the polling IO ready test into pollpacket(). M NEWS.txt M rpc.py Backport candidate.
* Added a Tk error dialog to run.py inform the user if the subprocess can'tKurt B. Kaiser2004-01-214-56/+96
| | | | | | | | | | | | | | connect to the user GUI process. Added a timeout to the GUI's listening socket. Added Tk error dialogs to PyShell.py to announce a failure to bind the port or connect to the subprocess. Clean up error handling during connection initiation phase. This is an update of Python Patch 778323. M NEWS.txt M PyShell.py M ScriptBinding.py M run.py Backport candidate.
* Add a Guido inspired example for groupby().Raymond Hettinger2004-01-201-0/+14
|
* Let the default encodings search function lookup aliases before trying the ↵Marc-André Lemburg2004-01-201-18/+26
| | | | codec import. This allows applications to install codecs which override (non-special-cased) builtin codecs.
* Add some more code page aliases needed for completeness.Marc-André Lemburg2004-01-201-0/+16
|
* Fix a typo: s/iso_3022/iso2022/Hye-Shik Chang2004-01-201-1/+1
|
* Test not the standard utf-8 codec but gb18030 which is the most complexHye-Shik Chang2004-01-201-4/+4
| | | | codec in multibytecodec consumers.
* For whatever reason, these files had \r\r\n line endings on Windows,Tim Peters2004-01-181-8/+8
| | | | | meaning they must have been checked in to CVS from a Linuxish box with Windowish \r\n line endings to begin with.
* Revert another local change that snuck into a whitespace normalizationTim Peters2004-01-181-2/+1
| | | | patch.
* Whitespace normalization.Tim Peters2004-01-1833-71/+60
|
* Add CJK codecs support as discussed on python-dev. (SF #873597)Hye-Shik Chang2004-01-1734-25/+2600
| | | | | Several style fixes are suggested by Martin v. Loewis and Marc-Andre Lemburg. Thanks!
* __init__.py: keep it compatible with older python (True and False == 1 and 0)Gregory P. Smith2004-01-132-6/+17
| | | | test_basics.py: updated for the set_get_returns_none() default of 2 change.
* __all__: Remove freenet_b64encode and freenet_b64decode.Barry Warsaw2004-01-071-1/+0
|
* SF Patch #864863: Bisect C implementationRaymond Hettinger2004-01-052-15/+18
| | | | (Contributed by Dmitry Vasiliev.)
* [SF #866875] Add a specialized routine for one characterHye-Shik Chang2004-01-051-14/+55
| | | | separaters on str.split() and str.rsplit().
* Exercise sorted() where possibleRaymond Hettinger2004-01-041-3/+1
|
* SF patch #868736: Disable GC for timeitRaymond Hettinger2004-01-041-1/+7
| | | | Make timings more consistent by temporarily disabling GC.
* More complete code coverage, including testing the new RFC 3548 support.Barry Warsaw2004-01-041-26/+181
|
* Added more complete RFC 3548 support for Base64, Base32, and Base16Barry Warsaw2004-01-041-9/+288
| | | | | encoding and decoding, including optional case folding and optional alternative alphabets.
* The script now takes an optional command-line argument to specify how manyAlex Martelli2004-01-021-4/+19
| | | | loops to run (default remains 50,000 if no argument is specified).
* [Bug #812325 ] tarfile.close() can write out more bytes to the outputAndrew M. Kuchling2004-01-021-0/+1
| | | | | than are specified by the buffer size. The patch calls .__write() to ensure that any full blocks are written out.
* - Print correct exception even if source file changed since shell wasKurt B. Kaiser2004-01-022-2/+7
| | | | | | | restarted. IDLEfork Patch 869012 Noam Raphael Modified Files: NEWS.txt run.py
* SF Patch 681780: Faster commonprefix (OS independent)Raymond Hettinger2003-12-311-10/+7
| | | | | | | Improved based on discussions at: http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/252177 http://groups.google.com/groups?th=fc7b54f11af6b24e&seekm=bss2so$om$00$1@news.t-online.com
* Strengthen the test for hash effectivenessRaymond Hettinger2003-12-311-4/+4
|
* Fixes to support CJKCodecs as per SF bug #852347. Actually, thisBarry Warsaw2003-12-301-19/+16
| | | | | | | | | | | patch removes dependencies on the old unsupported KoreanCodecs package and the alternative JapaneseCodecs package. Since both of those provide aliases for their codecs, this removal just makes the generic codec names work. We needed to make slight changes to __init__() as well. This will be backported to Python 2.3 when its branch freeze is over.
* Bump version number to 2.5.5Barry Warsaw2003-12-301-1/+1
|
* As part of fixing bug #829532, add a test case that exercises os.makedirsAndrew M. Kuchling2003-12-231-1/+36
|
* [Bug #829532] Invoking os.makedirs() with an argument that contains aAndrew M. Kuchling2003-12-231-0/+2
| | | | | | | directory name with a single dot fails. The patch skips creating directories named os.curdir. (Patch by Bram Moolenaar) 2.3 bugfix candidate.