summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Patch #1115086: support PY_LONGLONG in structmember.Martin v. Löwis2005-03-033-0/+38
|
* Corrected bug in list2cmdline wrt backslashes. Fixes #1083306.Peter Astrand2005-03-031-0/+1
|
* Only run extensive subprocess tests if -usubprocess to regrtest is ↵Peter Astrand2005-03-032-4/+7
| | | | specified. Fixes #1124637
* Optimization for communicate(): If only one of stdin/stdout/stderr isPeter Astrand2005-03-031-16/+29
| | | | redirected, using select() or threads is unnecessary.
* Added three more testcases: Using communicate with only one ofPeter Astrand2005-03-031-0/+23
| | | | stdin/stdout/stderr redirected.
* minor edits:Fred Drake2005-03-031-3/+4
| | | | | | - function names marked with \function should include parentheses - "standard error" instead of "stderr" for text - a boolean parameter takes true or false values, not just True or False
* SF bug #1155938: Missing None check for __init__().Raymond Hettinger2005-03-033-0/+22
|
* Revert previous checkin on getargs 'L' code. Try to convert allMartin v. Löwis2005-03-034-25/+27
| | | | | numbers in PyLong_AsLongLong, and update test suite accordingly. Backported to 2.4.
* Patch #802188: better parser error message for non-EOL following line cont.Martin v. Löwis2005-03-034-1/+8
|
* Patch #645894: Use getrusage for computing the time consumption inMartin v. Löwis2005-03-032-2/+23
| | | | profile.py if available.
* Patches #749830, #1144555: allow UNIX mmap size to default to currentMartin v. Löwis2005-03-035-7/+53
| | | | file size.
* Patch #1046831: Use get_python_version where appropriate in sysconfig.py.Martin v. Löwis2005-03-032-6/+8
|
* Patch #1117454: Remove code to special-case cookies without valuesMartin v. Löwis2005-03-035-12/+26
| | | | in LWPCookieJar. Backported to 2.4.
* Patch #1117339: Add cookielib special name tests.Martin v. Löwis2005-03-033-5/+30
| | | | Backported to 2.4.
* Document quiet parameter to decode. Fixes #803413.Martin v. Löwis2005-03-031-1/+5
|
* Patch #1112812: Make bsddb/__init__.py more friendly for modulefinder.Martin v. Löwis2005-03-032-2/+4
| | | | Backported to 2.4.
* Clear internal call error in 'L' format. Fixes #723201.Martin v. Löwis2005-03-033-1/+16
| | | | Backported to 2.4.
* Patch #1110248: SYNC_FLUSH the zlib buffer for GZipFile.flush.Martin v. Löwis2005-03-032-1/+6
| | | | Partially fixes #1110242.
* Patch #1107973: tarfile.ExFileObject iterators.Martin v. Löwis2005-03-033-0/+28
|
* Patch #1104111: Alter setup.py --help and --help-commands.Martin v. Löwis2005-03-033-2/+13
|
* Silence a gcc warning about putting in parentheses around && expressions mixedBrett Cannon2005-03-031-5/+6
| | | | with || expressions. Also clarifies intend of 'if' conditional.
* Noted that the module is new in version 2.5.Raymond Hettinger2005-03-021-0/+1
|
* Fix bug in InternalDate regexp that failed to allow leading 0 in day - ↵Piers Lauder2005-03-021-1/+1
| | | | courtesy of Rimon Barr <rimon.barr@cornell.edu>
* Improve (?) description of system dependence of access to the pw_passwdSkip Montanaro2005-03-021-2/+5
| | | | field on systems that support shadow passwords.
* Patch #1121234: Properly cleanup _exit and tkerror commands.Martin v. Löwis2005-03-012-0/+9
| | | | Will backport to 2.4.
* Fix grammatical typo in a comment.Brett Cannon2005-03-011-1/+1
|
* Make test__locale more fine-grained. Now test localeconv and nl_langinfoBrett Cannon2005-03-011-9/+56
| | | | | | individually as tests. Also improved output when the test fails.
* Fix small grammatical error in a docstring.Brett Cannon2005-03-011-1/+1
|
* Note various changes that need to be describedAndrew M. Kuchling2005-03-011-3/+26
|
* SF patch #941881: PEP 309 Implementation (Partial Function Application).Raymond Hettinger2005-02-289-0/+489
| | | | | Combined efforts of many including Peter Harris, Hye-Shik Chang, Martin v. Löwis, Nick Coghlan, Paul Moore, and Raymond Hettinger.
* Complete the previous effort to factor out constant expressionsRaymond Hettinger2005-02-282-12/+34
| | | | and improve the speed of the if/elif/else blocks.
* Patch #1093585: raise a ValueError for negative history items inMartin v. Löwis2005-02-272-0/+13
| | | | remove_history and replace_history. Will backport to 2.4.
* Patch #1049151: adding bool support to xdrlib.py.Martin v. Löwis2005-02-245-6/+32
| | | | Also add xdrlib._test into the test suite.
* Update an example to match current output.Raymond Hettinger2005-02-231-3/+1
|
* Preserve sign of -0.0 when result is run through marshal.Raymond Hettinger2005-02-231-2/+4
|
* A few random updates to make things less horrifyingly out of date.Michael W. Hudson2005-02-221-51/+44
| | | | | | | | | | | Delete some advice that can never, ever have worked. There are a couple of XXX comments for bits I don't know how to update. It would be really good not to release Python 2.5 with these in place :) This file is way too big. There's basically no chance of it staying up to date.
* Document missing opcodes.Raymond Hettinger2005-02-211-0/+8
|
* Document how the pattern recognizer keeps all of its references in bounds.Raymond Hettinger2005-02-211-0/+8
| | | | | | Add a test in case the underlying assumptions ever change (i.e. the compiler starts generating code blocks that are not punctuated by RETURN_VALUE).
* Fix some wording and grammar nits.Raymond Hettinger2005-02-211-5/+5
|
* Made the module compatible with Python 2.2 again.Peter Astrand2005-02-211-2/+5
|
* Teach the peepholer to fold unary operations on constants.Raymond Hettinger2005-02-201-0/+19
| | | | | Afterwards, -0.5 loads in a single step and no longer requires a runtime UNARY_NEGATIVE operation.
* Teach the peepholer to fold unary operations on constants.Raymond Hettinger2005-02-201-0/+62
| | | | | Afterwards, -0.5 loads in a single step and no longer requires a runtime UNARY_NEGATIVE operation.
* * Beef-up tests for str.count().Raymond Hettinger2005-02-202-2/+35
| | | | * Speed-up str.count() by using memchr() to fly between first char matches.
* * Beef-up testing of str.__contains__() and str.find().Raymond Hettinger2005-02-202-13/+50
| | | | | | | | | | | | | | | | | | | * Speed-up "x in y" where x has more than one character. The existing code made excessive calls to the expensive memcmp() function. The new code uses memchr() to rapidly find a start point for memcmp(). In addition to knowing that the first character is a match, the new code also checks that the last character is a match. This significantly reduces the incidence of false starts (saving memcmp() calls and making quadratic behavior less likely). Improves the timings on: python -m timeit -r7 -s"x='a'*1000" "'ab' in x" python -m timeit -r7 -s"x='a'*1000" "'bc' in x" Once this code has proven itself, then string_find_internal() should refer to it rather than running its own version. Also, something similar may apply to unicode objects.
* The error message "can't start new thread" should not end in aGuido van Rossum2005-02-201-1/+1
| | | | newline.
* Use getdoc(object) instead of object.__doc__ to fix indentation problems.Ka-Ping Yee2005-02-191-2/+10
| | | | | | | | | | | Thanks to Robert Dick <dickrp@ece.northwestern.edu> for reporting this bug and submitting a patch. Adjust doc(object) to display useful documentation for plain values (e.g. help([]) now shows the methods on the list instead of just printing "[]"). (This change has been tested interactively, by generating docs for the standard library, and by running the module documentation webserver.)
* Avoid using *W functions on Win95. Backported to 2.4.Martin v. Löwis2005-02-181-11/+24
|
* Add support for negative indices in UserString.MutableString.__setitem__Walter Dörwald2005-02-183-7/+14
| | | | and UserString.MutableString.__delitem__.
* Handle errors in imports of thread, threadingVinay Sajip2005-02-181-1/+7
|
* Improved frame handling for 1.5.2, and now return func from findCaller (not ↵Vinay Sajip2005-02-181-9/+20
| | | | actually used yet)