Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Bug 772091: doctest.DocTestSuite does not support __test__ | Tim Peters | 2004-08-07 | 2 | -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 checked | Raymond Hettinger | 2004-08-07 | 2 | -0/+14 |
| | |||||
* | SF bug #1002530: test_decimal fails if repeated | Raymond Hettinger | 2004-08-06 | 1 | -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 Peters | 2004-08-06 | 5 | -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 incorrectly | Raymond Hettinger | 2004-08-06 | 1 | -0/+5 |
| | | | | Will backport. | ||||
* | Bump version | Andrew M. Kuchling | 2004-08-06 | 1 | -1/+1 |
| | |||||
* | Typo fix; use 'in-place' instead of 'inplace' | Andrew M. Kuchling | 2004-08-06 | 1 | -2/+2 |
| | |||||
* | SF patch #980695: efficient string concatenation | Raymond Hettinger | 2004-08-06 | 3 | -3/+107 |
| | | | | (Original patch by Armin Rigo). | ||||
* | Changes the remote address used for tests in TimeoutTestCase from google.com to | Brett Cannon | 2004-08-06 | 1 | -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, typo | Fred Drake | 2004-08-06 | 1 | -2/+2 |
| | |||||
* | update to reflect the new significance of the "@" character | Fred Drake | 2004-08-05 | 1 | -2/+2 |
| | |||||
* | Added new codecs and aliases for ISO_8859-11, ISO_8859-16 and | Marc-André Lemburg | 2004-08-05 | 5 | -1/+288 |
| | | | | | | TIS-620. Closes SF bug #1001895: Adding missing ISO 8859 codecs, especially Thai. | ||||
* | Warn that settrace() is implementation rather than language | Phillip J. Eby | 2004-08-05 | 1 | -1/+5 |
| | | | | definition, per Guido's request in off-list email. | ||||
* | This commit was manufactured by cvs2svn to create tag 'r24a2'.v2.4a2 | cvs2svn | 2004-08-05 | 1 | -0/+1 |
| | |||||
* | release date | Anthony Baxter | 2004-08-05 | 2 | -3/+3 |
| | |||||
* | Doc/lib/libfuncs.tex: correct items in itemize | Matthias Klose | 2004-08-04 | 2 | -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 of | Fred Drake | 2004-08-04 | 1 | -0/+17 |
| | | | | years | ||||
* | Example.__init__: this cannot use assert, because that fails to trigger | Tim Peters | 2004-08-04 | 2 | -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 from | Tim Peters | 2004-08-04 | 3 | -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 Chang | 2004-08-04 | 1 | -2/+3 |
| | |||||
* | SF #941229: Decode source code with sys.stdin.encoding in interactive | Hye-Shik Chang | 2004-08-04 | 2 | -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. Hudson | 2004-08-04 | 1 | -0/+1 |
| | |||||
* | Fix a leak of a reference on None. | Michael W. Hudson | 2004-08-04 | 1 | -3/+1 |
| | |||||
* | To ever run this test "you must import TestSkipped" from the right | Michael W. Hudson | 2004-08-04 | 1 | -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.4a2 | Martin v. Löwis | 2004-08-04 | 2 | -3/+5 |
| | |||||
* | Revert 2.312; turns out interning the file name did do some good (reducing | Michael W. Hudson | 2004-08-04 | 1 | -1/+1 |
| | | | | .pyc size) after all. | ||||
* | Updated Logger.log() docstring to clarify that lvl parameter should be an ↵ | Vinay Sajip | 2004-08-04 | 1 | -1/+1 |
| | | | | integer. | ||||
* | Updated Logger.log() documentation to clarify that lvl parameter should be ↵ | Vinay Sajip | 2004-08-04 | 1 | -1/+1 |
| | | | | an integer. | ||||
* | Close handlers and tidy up loggers by removing closed handlers - to avoid ↵ | Vinay Sajip | 2004-08-04 | 1 | -5/+11 |
| | | | | problems when run twice (SF #1002537) | ||||
* | Remove .width() and .iswide() from UserString as well. | Hye-Shik Chang | 2004-08-04 | 1 | -4/+0 |
| | |||||
* | SF #989185: Drop unicode.iswide() and unicode.width() and add | Hye-Shik Chang | 2004-08-04 | 15 | -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 corrupted | Hye-Shik Chang | 2004-08-04 | 3 | -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 Peters | 2004-08-04 | 8 | -52/+52 |
| | |||||
* | test_threadsignals is an expected skip on win32. | Tim Peters | 2004-08-04 | 1 | -0/+1 |
| | |||||
* | To raise TestSkipped, you must import TestSkipped. | Tim Peters | 2004-08-04 | 1 | -1/+1 |
| | |||||
* | ihooks FancyModuleLoader.load_module() | Tim Peters | 2004-08-04 | 2 | -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 Peters | 2004-08-04 | 1 | -1/+4 |
| | |||||
* | make sure distutils logging is shut off in tests to avoid spurious output | Fred Drake | 2004-08-03 | 5 | -3/+25 |
| | |||||
* | Patch #986929: Add support for wish -sync and -use options. | Martin v. Löwis | 2004-08-03 | 2 | -4/+39 |
| | |||||
* | Patch #986929: Add support for wish -sync and -use options. | Martin v. Löwis | 2004-08-03 | 1 | -2/+3 |
| | |||||
* | Wait for visibility before setting a grab. Fixes #946153. | Martin v. Löwis | 2004-08-03 | 3 | -0/+3 |
| | |||||
* | allow ctime(), gmtime(), and localtime() to take None as equivalent to an ↵ | Fred Drake | 2004-08-03 | 4 | -17/+69 |
| | | | | | | omitted arg (closes SF bug #658254, patch #663482) | ||||
* | This allows additional commands to be provided for existing setup.py | Fred Drake | 2004-08-03 | 3 | -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 Drake | 2004-08-03 | 1 | -0/+1 |
| | |||||
* | let's avoid the extra nesting where reasonable | Fred Drake | 2004-08-03 | 1 | -1/+1 |
| | |||||
* | on to a2! | Anthony Baxter | 2004-08-03 | 1 | -2/+2 |
| | |||||
* | avoid fragility: make sure POSIXLY_CORRECT is completely controlled | Fred Drake | 2004-08-03 | 1 | -1/+10 |
| | | | | for the tests, and restored properly when done | ||||
* | Add the same guard as test_signal. | Michael W. Hudson | 2004-08-03 | 1 | -0/+3 |
| | |||||
* | Be more careful about maintaining the invariants; it was actually | Fred Drake | 2004-08-03 | 1 | -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. Hudson | 2004-08-03 | 1 | -0/+77 |
| |