summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
...
* 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.
* Fix unicode.rsplit()'s bug that ignores separater on the end of string whenHye-Shik Chang2003-12-231-0/+2
| | | | using specialized splitter for 1 char sep.
* Make sure the UserDict copies do not share the same underlyingRaymond Hettinger2003-12-211-1/+1
| | | | | | | dictionary as the original. This parallels MvL's change to Lib/os.py 1.56. Backport candidate.
* Remove self from the arguments for the function add_type().Walter Dörwald2003-12-191-1/+1
| | | | Backport candidate.
* Enable some unittests on FreeBSD.Hye-Shik Chang2003-12-192-3/+7
| | | | | test__locale: add typical POSIX-style full locale names. test_locale: use en_US.US-ASCII on FreeBSD.
* Remove methods that are no longer called by urllib2.Jeremy Hylton2003-12-171-14/+0
|
* Guido grants a Christmas wish:Raymond Hettinger2003-12-178-76/+48
| | | | sorted() becomes a regular function instead of a classmethod.
* Add methods to MockHTTPClass for modern httplib interface.Jeremy Hylton2003-12-171-51/+77
| | | | Replace lots of assert_(x == y) with assertEqual(x, y).
* Rewrite AbstractHTTPHandler to use modern httplib interface.Jeremy Hylton2003-12-171-25/+26
| | | | | | | | | | | | The chief benefit of this change is that requests will now use HTTP/1.1 instead of HTTP/1.0. Bump the module version number as part of the change. There are two possible incompatibilities that we'll need to watch out for when we get to an alpha release. We may get a different class of exceptions out of httplib, and the do_open() method changed its signature. The latter is only important if anyone actually subclasses AbstractHTTPHandler.
* Add rsplit method for UserString, too.Hye-Shik Chang2003-12-151-0/+2
| | | | (Spotted by Raymond Hettinger)
* Add rsplit method for str and unicode builtin types.Hye-Shik Chang2003-12-152-0/+32
| | | | | SF feature request #801847. Original patch is written by Sean Reifschneider.