summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Bug 772091: doctest.DocTestSuite does not support __test__Tim Peters2004-08-072-16/+29
| | | | | This got fixed "by magic" as part of the refactoring, but wasn't tested as such. Now it is.
* SF bug #1004669: Type returned from .keys() is not checkedRaymond Hettinger2004-08-072-0/+14
|
* SF bug #1002530: test_decimal fails if repeatedRaymond Hettinger2004-08-061-6/+8
| | | | | * Protect the pre-defined contexts by using a deepcopy() instead of copy(). * Micro-optimization: prefer x&1 over x%2
* Merging from tim-doctest-branch, which is now closed.Tim Peters2004-08-065-182/+919
| | | | | | This primarily adds more powerful ways to work with unittest, including spiffy support for building suites out of doctests in non-Python "text files".
* SF bug #1004088: big code objects (>64K) may be optimized incorrectlyRaymond Hettinger2004-08-061-0/+5
| | | | Will backport.
* Bump versionAndrew M. Kuchling2004-08-061-1/+1
|
* Typo fix; use 'in-place' instead of 'inplace'Andrew M. Kuchling2004-08-061-2/+2
|
* SF patch #980695: efficient string concatenationRaymond Hettinger2004-08-063-3/+107
| | | | (Original patch by Armin Rigo).
* Changes the remote address used for tests in TimeoutTestCase from google.com toBrett Cannon2004-08-061-1/+1
| | | | | | python.org . This way the delay should be great enough for testConnectTimeout() to pass even when one has a really fast Net connection that allows connections faster than .001 seconds.
* fix markup nit, typoFred Drake2004-08-061-2/+2
|
* update to reflect the new significance of the "@" characterFred Drake2004-08-051-2/+2
|
* Added new codecs and aliases for ISO_8859-11, ISO_8859-16 andMarc-André Lemburg2004-08-055-1/+288
| | | | | | TIS-620. Closes SF bug #1001895: Adding missing ISO 8859 codecs, especially Thai.
* Warn that settrace() is implementation rather than languagePhillip J. Eby2004-08-051-1/+5
| | | | definition, per Guido's request in off-list email.
* This commit was manufactured by cvs2svn to create tag 'r24a2'.v2.4a2cvs2svn2004-08-051-0/+1
|
* release dateAnthony Baxter2004-08-052-3/+3
|
* Doc/lib/libfuncs.tex: correct items in itemizeMatthias Klose2004-08-042-10/+10
| | | | Doc/dist/dist.tex: avoid uncommenting the verbose environment (by the py2texi tool)
* add constants for many error values added over the past couple ofFred Drake2004-08-041-0/+17
| | | | years
* Example.__init__: this cannot use assert, because that fails to triggerTim Peters2004-08-042-5/+8
| | | | | in a -O run, and so test_doctest was failing under -O. Simple cause, simple cure.
* Edward Loper's cool and massive refactoring of doctest.py, merged fromTim Peters2004-08-043-945/+2386
| | | | | | | | the tim-doctest-merge-24a2 tag on the the tim-doctest-branch branch. We did development on the branch in case it wouldn't land in time for 2.4a2, but the branch looked good: Edward's tests passed there, ditto Python's tests, and ditto the Zope3 tests. Together, those hit doctest heavily.
* Add a proper pointer to SF bug item.Hye-Shik Chang2004-08-041-2/+3
|
* SF #941229: Decode source code with sys.stdin.encoding in interactiveHye-Shik Chang2004-08-042-0/+65
| | | | | | | modes like non-interactive modes. This allows for non-latin-1 users to write unicode strings directly and sets Japanese users free from weird manual escaping <wink> in shift_jis environments. (Reviewed by Martin v. Loewis)
* Add a missing decref -- PyErr_SetObject increfs the 'object'!Michael W. Hudson2004-08-041-0/+1
|
* Fix a leak of a reference on None.Michael W. Hudson2004-08-041-3/+1
|
* To ever run this test "you must import TestSkipped" from the rightMichael W. Hudson2004-08-041-6/+9
| | | | | | | place! (can that please be it for silly mistakes in this file? :-) I know I started it, but...). Also, rearrangements to run repeatedly.
* Bump buildno for 2.4a2Martin v. Löwis2004-08-042-3/+5
|
* Revert 2.312; turns out interning the file name did do some good (reducingMichael W. Hudson2004-08-041-1/+1
| | | | .pyc size) after all.
* Updated Logger.log() docstring to clarify that lvl parameter should be an ↵Vinay Sajip2004-08-041-1/+1
| | | | integer.
* Updated Logger.log() documentation to clarify that lvl parameter should be ↵Vinay Sajip2004-08-041-1/+1
| | | | an integer.
* Close handlers and tidy up loggers by removing closed handlers - to avoid ↵Vinay Sajip2004-08-041-5/+11
| | | | problems when run twice (SF #1002537)
* Remove .width() and .iswide() from UserString as well.Hye-Shik Chang2004-08-041-4/+0
|
* SF #989185: Drop unicode.iswide() and unicode.width() and addHye-Shik Chang2004-08-0415-1602/+1626
| | | | | | | | | | | | unicodedata.east_asian_width(). You can still implement your own simple width() function using it like this: def width(u): w = 0 for c in unicodedata.normalize('NFC', u): cwidth = unicodedata.east_asian_width(c) if cwidth in ('W', 'F'): w += 2 else: w += 1 return w
* Add a workaround for a problem that UTF-8 strings can be corruptedHye-Shik Chang2004-08-043-0/+71
| | | | | | | or broken by basic ctype functions in 4.4BSD descendants. This will be fixed in their future development branches but they'll keep the POSIX-incompatibility for their backward-compatiblities in near future.
* Whitespace normalization.Tim Peters2004-08-048-52/+52
|
* test_threadsignals is an expected skip on win32.Tim Peters2004-08-041-0/+1
|
* To raise TestSkipped, you must import TestSkipped.Tim Peters2004-08-041-1/+1
|
* ihooks FancyModuleLoader.load_module()Tim Peters2004-08-042-2/+13
| | | | | | | imputils Importer._process_result(): remove name from modules dict if exec fails. This is what all the builtin importers do now, new in 2.4.
* Tkapp_New(): Rewrite in C so it compiles again.Tim Peters2004-08-041-1/+4
|
* make sure distutils logging is shut off in tests to avoid spurious outputFred Drake2004-08-035-3/+25
|
* Patch #986929: Add support for wish -sync and -use options.Martin v. Löwis2004-08-032-4/+39
|
* Patch #986929: Add support for wish -sync and -use options.Martin v. Löwis2004-08-031-2/+3
|
* Wait for visibility before setting a grab. Fixes #946153.Martin v. Löwis2004-08-033-0/+3
|
* allow ctime(), gmtime(), and localtime() to take None as equivalent to an ↵Fred Drake2004-08-034-17/+69
| | | | | | omitted arg (closes SF bug #658254, patch #663482)
* This allows additional commands to be provided for existing setup.pyFred Drake2004-08-033-22/+193
| | | | | | | | | | | | | | | | | scripts without modifying either the distutils installation or the setup.py scripts of packages with which the new commands will be used. Specifically, an option is added to distutils that allows additional packages to be searched for command implementations in addition to distutils.command. The additional packages can be specified on the command line or via the installation or personal configuration files already loaded by distutils. For discussion, see the thread starting with: http://mail.python.org/pipermail/distutils-sig/2004-August/004112.html This closes SF patch #102241.
* add missing import!Fred Drake2004-08-031-0/+1
|
* let's avoid the extra nesting where reasonableFred Drake2004-08-031-1/+1
|
* on to a2!Anthony Baxter2004-08-031-2/+2
|
* avoid fragility: make sure POSIXLY_CORRECT is completely controlledFred Drake2004-08-031-1/+10
| | | | for the tests, and restored properly when done
* Add the same guard as test_signal.Michael W. Hudson2004-08-031-0/+3
|
* Be more careful about maintaining the invariants; it was actuallyFred Drake2004-08-031-3/+25
| | | | | possible that the callback-less flavors of the ref or proxy could have been added during GC, so we don't want to replace them.
* Argh! This was meant to be part of patch #960406.Michael W. Hudson2004-08-031-0/+77
|