summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* At the site of an indexed reference to print, point to the relevantFred Drake2003-04-301-1/+5
| | | | documentation. Closes SF bug #723136.
* work around mostly-minor formatting problems; the encodings.idnaFred Drake2003-04-301-2/+2
| | | | | example still doesn't come out quite right: a bug in the formatting tools
* - comment out \moduleauthor that broke formatting until the formattingFred Drake2003-04-301-15/+28
| | | | | tools can be fixed; added XXX comment - general markup fixes
* Allow _sre.c to compile with Python 2.2Andrew M. Kuchling2003-04-301-0/+4
|
* Delete comment my last checkin rendered obsolete.Michael W. Hudson2003-04-301-2/+0
| | | | | I should also not that my last checkin did stuff that made failures give more helpful information.
* Change from a threading.Condition object to a threading.Event object forBrett Cannon2003-04-301-6/+3
| | | | | | | signalling when the TCP server is done. Should hopefully solve hanging issues for Solaris 8 & 9. Solves the apparent hanging issue with OS X. Closes patch #729988 .
* Make time.sleep calls go to 0 for common testing.Brett Cannon2003-04-302-11/+19
|
* Flesh out test_support docs.Brett Cannon2003-04-301-3/+19
|
* improved CRLF regex for previous fixPiers Lauder2003-04-291-1/+1
|
* added code to canonicalise line endings in data sent via "append" - fix for ↵Piers Lauder2003-04-291-2/+3
| | | | bug report 723962
* Allow "@" in unquoted attribute values.Fred Drake2003-04-292-1/+10
| | | | | Added test that checks for characters allowed in the query part of URLs. Backport candidate.
* Added a note about Stefan Deibels list of contacts.Jack Jansen2003-04-291-0/+1
|
* The new bundlebuilder-generated applets contain an absolute referenceJack Jansen2003-04-291-1/+10
| | | | | | | to the Python used to create them (in the #! line). Therefore, when your Python installation is moved the applets become invalid. As the binary distribution is installed in a different place than where it was created we need to fix up the #! lines.
* By default be verbose.Jack Jansen2003-04-291-7/+9
|
* Port test_richcmp.py to PyUnit. From SF patch #662807 which additionalWalter Dörwald2003-04-292-366/+276
| | | | tests and comments.
* document socket speed reclamation. Patch 729293.Skip Montanaro2003-04-291-0/+3
|
* Use the new htmlentitydefs.codepoint2name for test_xmlcharnamereplace()Walter Dörwald2003-04-291-7/+1
|
* Add doctest for example in the library reference.Raymond Hettinger2003-04-291-0/+40
|
* Extract the errno value to use from the errno module if possible.Fred Drake2003-04-291-1/+6
|
* When an unhandled exception happens, report the repr() of the functionGuido van Rossum2003-04-291-5/+13
| | | | | | | that was used to start the thread. This is useful to track down the source of the problem when there is no traceback, as can happen when a daemon thread gets to run after Python is finialized (a new kind of event, somehow this is now possible due to changes in Py_Finalize()).
* Regain throughput lost with the _socketobject wrapper. TheSkip Montanaro2003-04-291-3/+9
| | | | | throughput-sensitive methods are grabbed from the underlying _socket.socket object. Closes SF patch 729293.
* Use Tim's suggestion to fixMichael W. Hudson2003-04-292-15/+52
| | | | | | | | | [ 708901 ] Lineno calculation sometimes broken A one line patch to compile.c and a rather-more-than-one-line patch to test_dis. Hey ho. Possibly a backport candidate -- tho' lnotab is less used in 2.2...
* Armin Rigo's fix & test forMichael W. Hudson2003-04-292-9/+31
| | | | | | [ 729622 ] line tracing hook errors with massaging from me to integrate test into test suite.
* Applying patch #728656, by logistix, fixing opening of nonexistentGustavo Niemeyer2003-04-292-1/+6
| | | | bz2 files. Also, included a testcase for this problem.
* Remove file that was moved to ../IncludeGuido van Rossum2003-04-291-18/+0
|
* - clean up some extra punctuation hidden in indexing markupFred Drake2003-04-291-13/+10
| | | | | - fix a typo and one markup nit - normalize whitespace
* Clarify that the timeout argument to read_until() is in seconds.Fred Drake2003-04-291-1/+2
|
* Removing new files accidentally checked in on the trunk rather than on theGuido van Rossum2003-04-2926-4632/+0
| | | | idlefork-merge-branch.
* Add back files that were accidentally deleted on the trunk rather thanGuido van Rossum2003-04-2914-0/+1865
| | | | on the idlefork-merge-branch as intended.
* Checking in IDLEFORK exactly as it appears in the idlefork CVS.Guido van Rossum2003-04-2940-1865/+4632
| | | | On a branch, for now.
* Added tests for urlretrieve. Also made sure urlopen tests cleaned up ↵Brett Cannon2003-04-291-8/+48
| | | | properly after themselves.
* SF bug #729096: getopt online documentation example improvementRaymond Hettinger2003-04-291-1/+4
| | | | | | | | | | | A newbie found it difficult to translate the exampe into a case that used only short options or long options but not both. He tried to shorten the tuple search but forgot the trailing comma, The appropriate pattern is an equality check. Revised the example to point him in the right direction. Backport candidate.
* Add comment that urlopen opens local files without universal newlinesBrett Cannon2003-04-291-8/+8
|
* Reworded fabs() for consistency with the others. Noted that allTim Peters2003-04-281-2/+3
| | | | return values are floats.
* Raise a ValueError when there is data that was not covered in the format ↵Brett Cannon2003-04-282-0/+7
| | | | string. Done to match behavior of pre-existing C-based strptime implementations.
* walk() docs: Emphasize that the recursive-delete example is dangerous.Tim Peters2003-04-281-0/+2
|
* SF bug 728097: tmpnam problems on windows 2.3b, breaks test.test_os.Tim Peters2003-04-282-2/+27
| | | | | | | | | tmpnam() appears essentially useless on Windows, and it finally broke the test for Irmen de Jong. Read the long new comment in test_tmpnam() for details. Since the MS implementation is insane, it might be good if we supplied a different implementation. Bugfix candidate.
* walk() docs: Worked "walking" into the description and the text. AddedTim Peters2003-04-281-1/+18
| | | | a brief example where bottom-up walking is essential.
* Make tests clean up after themselves better. This means:Brett Cannon2003-04-271-2/+18
| | | | | | | | * call tearDown when Setup is called * shutil.rmtree the root of the created directory instead of just the leaf directory * set the LANGUAGE environment variable to what it was originally and not assume 'en'.
* - Included detailed documentation in _sre.c explaining how, when, and whyGustavo Niemeyer2003-04-271-17/+41
| | | | | | | | | | | | to use LASTMARK_SAVE()/LASTMARK_RESTORE(), based on the discussion in patch #712900. - Cleaned up LASTMARK_SAVE()/LASTMARK_RESTORE() usage, based on the established rules. - Moved the upper part of the just commited patch (relative to bug #725106) to outside the for() loop of BRANCH OP. There's no need to mark_save() in every loop iteration.
* Fix for part of the problem mentioned in #725149 by Greg Chapman.Gustavo Niemeyer2003-04-272-8/+17
| | | | | | | | | | | | | | | | | | | This problem is related to a wrong behavior from mark_save/restore(), which don't restore the mark_stack_base before restoring the marks. Greg's suggestion was to change the asserts, which happen to be the only recursive ops that can continue the loop, but the problem would happen to any operation with the same behavior. So, rather than hardcoding this into asserts, I have changed mark_save/restore() to always restore the stackbase before restoring the marks. Both solutions should fix these two cases, presented by Greg: >>> re.match('(a)(?:(?=(b)*)c)*', 'abb').groups() ('b', None) >>> re.match('(a)((?!(b)*))*', 'abb').groups() ('b', None, None) The rest of the bug and patch in #725149 must be discussed further.
* Applied patch #725106, by Greg Chapman, fixing capturing groupsGustavo Niemeyer2003-04-272-0/+29
| | | | | | | | | | | | | | | | | | | | within repeats of alternatives. The only change to the original patch was to convert the tests to the new test_re.py file. This patch fixes cases like: >>> re.match('((a)|b)*', 'abc').groups() ('b', '') Which is wrong (it's impossible to match the empty string), and incompatible with other regex systems, like the following examples show: % perl -e '"abc" =~ /^((a)|b)*/; print "$1 $2\n";' b a % echo "abc" | sed -r -e "s/^((a)|b)*/\1 \2|/" b a|c
* Factor out common boilerplate for test_supportRaymond Hettinger2003-04-274-24/+14
|
* Applying patch #726869 by Andrew I MacIntyre, reducing in _sre.c theGustavo Niemeyer2003-04-271-0/+9
| | | | recursion limit for certain setups of FreeBSD and OS/2.
* Applying patch by Neal Norwitz:Gustavo Niemeyer2003-04-271-0/+25
| | | | [#727759] get bzip2 to build on Solaris 8 (old bzip library)
* Clarified new text about math exceptions.Tim Peters2003-04-261-4/+9
| | | | Bugfix candidate.
* A start on news for 2.3b2.Tim Peters2003-04-261-0/+41
|
* Rewrote. As reported on c.l.py, when the test suite is run viaTim Peters2003-04-261-20/+30
| | | | | | | | | | | | | | "import test.autotest", temp_imp failed because the import lock was still held at the test's end (the test assumed it wouldn't be), and then a RuntimeError got raised at the end of the entire suite run because test_imp cleared the import lock as a side effect of trying to test that the import lock wasn't held (but a legitimate import is in progress, so the lock should be held, and the import machinery complained when it found that the lock was unexpectedly cleareed). Also removed the unittest scaffolding. It didn't buy anything here, and the test was raising regrtest's TestFailed instead of using the unittest failure-reporting mechanisms.
* Add note about platform-specific behavior arising from discussion on bugSkip Montanaro2003-04-261-1/+11
| | | | 711019.
* Use os.walk() to find files to delete.Tim Peters2003-04-261-13/+14
|