summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* SF patch#786531 'the the' typo. Contributed by George YoshidaRaymond Hettinger2003-08-123-3/+3
|
* SF patch#786531 'the the' typo. Contributed by George YoshidaRaymond Hettinger2003-08-1211-13/+13
|
* Fix bug in test_bad_timezone where test was assuming locale knew of PDT.Brett Cannon2003-08-111-2/+3
|
* Add a couple of decrefs to error paths.Michael W. Hudson2003-08-111-2/+4
| | | | | | | Now test_descr only appears to leak two references & I think this are in fact illusory (it's to do with things getting resurrected in __del__ methods & it's easy to be believe confusion occurs when that happens <wink>). Woohoo!
* Comment typo fixesAndrew M. Kuchling2003-08-112-2/+2
|
* mention pymemcompat.h in Misc/READMEMichael W. Hudson2003-08-111-0/+1
|
* Fix silly typo in comment.Michael W. Hudson2003-08-111-1/+1
|
* add a statement identifying StringI and StringO objects.Skip Montanaro2003-08-111-1/+2
|
* reverting to 2.41 version (distinct tp_names) - will add verbiage to theSkip Montanaro2003-08-111-2/+2
| | | | docs
* shit - just change the visible name, not the comments - strictly speaking,Skip Montanaro2003-08-111-3/+3
| | | | | the tp_name is not correct, but what's exposed to users is known visibly as "StringIO", not "StringI" or "StringO".
* typosSkip Montanaro2003-08-111-3/+3
|
* Fix refcounting and cut & paste error (?) in last checkin.Michael W. Hudson2003-08-111-3/+1
| | | | This should go onto release23-maint, too.
* Unconditionally opening the temp file in text mode causes this test to failJason Tishler2003-08-111-2/+5
| | | | | | under Cygwin. The attached patch corrects this problem. I tested this patch under Red Hat Linux 8.0 too.
* Bug fix for #780461: 'sysu' gestalt selector is meaningless on MacOSX,Jack Jansen2003-08-111-1/+3
| | | | but attempting to get it resulted in a crash. Fixed. Backport candidate.
* Fix handling of bad locale setup where time.tzname[0] == time.tzname[1] andBrett Cannon2003-08-112-10/+39
| | | | | | time.daylight is true. Add an explicit test for this situation. Fixed some wording in docstrings.
* SF bug #778964: bad seed in python 2.3 randomRaymond Hettinger2003-08-093-1/+8
| | | | | | | The default seed is time.time(). Multiplied by 256 before truncating so that fractional seconds are used. This way, two successive calls to random.seed() are much more likely to produce different sequences.
* Add HIDDEN. Fixes #777664.Martin v. Löwis2003-08-091-0/+2
|
* Move initialization of sys.std{in,out}.encoding to Py_Initialize.Martin v. Löwis2003-08-092-33/+51
| | | | | Verify that the encoding actually exists. Fixes #775985. Will backport to 2.3.
* Patch #771998: Put braces around variables. Will backport to 2.3.Martin v. Löwis2003-08-092-2245/+3082
|
* SF patch #747364: BaseHTTPServer doesn't need StringIO intermediaryRaymond Hettinger2003-08-091-11/+1
| | | | (Contributed by Andrew Dalke.)
* SF patch #783807: Clarify PySequence_Setitem ref countingRaymond Hettinger2003-08-091-1/+2
| | | | (Contributed by Jay T Miller.)
* IDLEfork Bug 782759Kurt B. Kaiser2003-08-091-4/+9
| | | | backported to 23-maint
* Explain argument unpackingRaymond Hettinger2003-08-081-0/+18
|
* /* XXX From here until type is allocated, "return NULL" leaks bases! */Michael W. Hudson2003-08-081-2/+9
| | | | | | | | | | | | Sure looks like it to me! <wink> When I run the leak2.py script I posted to python-dev, I only see three reference leaks in all of test_descr. When I run test_descr.test_main, I still see 46 leaks. This clearly demands posting a yelp to python-dev :-) This certainly should be applied to release23-maint, and in all likelyhood release22-maint as well.
* SF bug #770485: cStringIO does not set closed attrRaymond Hettinger2003-08-083-2/+34
|
* SF bug #775836: change 0,1 to False,True in dict.has_key docRaymond Hettinger2003-08-081-1/+1
|
* Modified itertools.izip() to match the behavior of __builtin__.zip()Raymond Hettinger2003-08-084-8/+15
| | | | which can now take zero arguments.
* Re-sync doc tests with the doc updates.Raymond Hettinger2003-08-081-3/+7
|
* Improve docs:Raymond Hettinger2003-08-081-16/+13
| | | | | * Simplify the pure python examples * Add a quantify() example
* Fix docstring in LocaleTime.Brett Cannon2003-08-081-2/+2
|
* Repair refcounting on error return from type_set_bases.Michael W. Hudson2003-08-072-3/+13
| | | | Include a test case that failed for one of my efforts to repair this.
* Fix hyperlinks and one class reference.Fred Drake2003-08-072-3/+3
| | | | Backporting to Python 2.3 branch.
* Release host name memory. Fixes #783312. Will backport to 2.3.Martin v. Löwis2003-08-071-6/+12
|
* Demonstrate and fix [ 783882 ] os.lstat crashes with Unicode filename.Mark Hammond2003-08-062-1/+3
| | | | Will also check in on the 2.3 branch.
* Remove useless import.Walter Dörwald2003-08-051-1/+1
|
* Check both __div__ and __truediv__ in division tests.Walter Dörwald2003-08-051-1/+9
| | | | (From SF patch #543867)
* Removed deprecated functionsRaymond Hettinger2003-08-051-1/+4
|
* Removed deprecated functionsRaymond Hettinger2003-08-052-61/+2
|
* SF patch #782810: typo in libfuture.texRaymond Hettinger2003-08-051-1/+1
| | | | (Contributed by George Yoshida)
* SF bug #782369: Massive memory leak in array moduleRaymond Hettinger2003-08-051-2/+7
| | | | | | | | Fixed leak caused by switching from PyList_GetItem to PySequence_GetItem. Added missing NULL check. Clarified code by converting an "if" to an "else if". Will backport to 2.3.
* forgot to commit this - note about the signal module SIGRT(MIN,MAX)Anthony Baxter2003-08-051-0/+2
|
* Mention caching and better thread-safety for Lib/_strptime.pyBrett Cannon2003-08-051-0/+4
|
* Patch #781722: Reject AF_INET6 if IPv6 is disabled. Will backport to 2.3.Martin v. Löwis2003-08-051-0/+8
|
* Support trailing dots in DNS names. Fixes #782510. Will backport to 2.3.Martin v. Löwis2003-08-052-3/+19
|
* Correct URL of normalization file. Fixes #781065. Will backport to 2.3.Martin v. Löwis2003-08-051-2/+2
|
* Patch #781126: Fix markup for add_fallback. Will backport to 2.3.Martin v. Löwis2003-08-051-1/+1
|
* Make sure eol_convention is an ASCII string. Fixes #774680.Martin v. Löwis2003-08-051-0/+3
| | | | Will backport to 2.3.
* init_myformat(): None of the "mark" values can be empty strings, orFred Drake2003-08-051-3/+10
| | | | | | | | | | | LaTeX2HTML feels free to remove a surrounding element that contains no other content. Since such an element is typically a named anchor used for hyperlinking, they should not be removed. Unfortunatley, making sure these marks are non-empty is the most direct way of avoiding this behavior. Thanks to Dave Kuhlman for tracking this down; this was some excellent detective work!
* Re-introduce caching of TimeRE and compiled regexes with added thread-safety.Brett Cannon2003-08-052-335/+190
| | | | | | | | | | | | Also remove now unnecessary property attributes for thread safety (no longer have lazy attributes) and code simplicity reasons. Timezone storage has been reworked to be simpler and more flexible. All values in LocaleTime instances are lower-cased. This is all done to simplify the module. The module now assumes nothing beyond the strptime function will be exposed for general use beyond providing functionality for strptime.
* Touch-up to docstrings.Brett Cannon2003-08-051-19/+20
|