Andrew M. Kuchling
78d375fb86
Another typo
2004-08-07 14:00:39 +00:00
Andrew M. Kuchling
28025ecda4
Typo fix
2004-08-07 13:59:22 +00:00
Andrew M. Kuchling
e30c4d4ddc
Add recent items
2004-08-07 13:58:02 +00:00
Andrew M. Kuchling
38dc2a6bf7
Simplify language
2004-08-07 13:24:12 +00:00
Andrew M. Kuchling
ac6428756a
Add string concat item
2004-08-07 13:13:31 +00:00
Raymond Hettinger
654fcd531e
Exercise DocTestSuite's search for __test__.
2004-08-07 06:15:12 +00:00
Tim Peters
d1b7827216
Whitespace normalization.
2004-08-07 06:03:09 +00:00
Tim Peters
1e277ee3bd
Bug 772091: doctest.DocTestSuite does not support __test__
...
This got fixed "by magic" as part of the refactoring, but wasn't tested
as such. Now it is.
2004-08-07 05:37:52 +00:00
Raymond Hettinger
2a7dedef9e
SF bug #1004669 : Type returned from .keys() is not checked
2004-08-07 04:55:30 +00:00
Raymond Hettinger
61992efc4b
SF bug #1002530 : test_decimal fails if repeated
...
* Protect the pre-defined contexts by using a deepcopy() instead of copy().
* Micro-optimization: prefer x&1 over x%2
2004-08-06 23:42:16 +00:00
Tim Peters
19397e5ec5
Merging from tim-doctest-branch, which is now closed.
...
This primarily adds more powerful ways to work with unittest, including
spiffy support for building suites out of doctests in non-Python
"text files".
2004-08-06 22:02:59 +00:00
Raymond Hettinger
98bd1814e2
SF bug #1004088 : big code objects (>64K) may be optimized incorrectly
...
Will backport.
2004-08-06 19:46:34 +00:00
Andrew M. Kuchling
ba59be04fa
Bump version
2004-08-06 18:55:48 +00:00
Andrew M. Kuchling
34ed2b020a
Typo fix; use 'in-place' instead of 'inplace'
2004-08-06 18:55:09 +00:00
Raymond Hettinger
52a21b8e65
SF patch #980695 : efficient string concatenation
...
(Original patch by Armin Rigo).
2004-08-06 18:43:09 +00:00
Brett Cannon
d09d9664e6
Changes the remote address used for tests in TimeoutTestCase from google.com to
...
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.
2004-08-06 04:30:46 +00:00
Fred Drake
3f5c654deb
fix markup nit, typo
2004-08-06 03:34:20 +00:00
Fred Drake
6bd8e842e4
update to reflect the new significance of the "@" character
2004-08-05 21:11:27 +00:00
Marc-André Lemburg
c759f070ef
Added new codecs and aliases for ISO_8859-11, ISO_8859-16 and
...
TIS-620.
Closes SF bug #1001895 : Adding missing ISO 8859 codecs, especially Thai.
2004-08-05 12:43:30 +00:00
Phillip J. Eby
1884dda233
Warn that settrace() is implementation rather than language
...
definition, per Guido's request in off-list email.
2004-08-05 12:13:46 +00:00
cvs2svn
cf6fc7906d
This commit was manufactured by cvs2svn to create tag 'r24a2'.
2004-08-05 07:21:01 +00:00
Anthony Baxter
ff347cadc4
release date
2004-08-05 07:21:01 +00:00
Matthias Klose
4c8fa42aca
Doc/lib/libfuncs.tex: correct items in itemize
...
Doc/dist/dist.tex: avoid uncommenting the verbose environment (by the py2texi tool)
2004-08-04 23:18:49 +00:00
Fred Drake
283b670f6b
add constants for many error values added over the past couple of
...
years
2004-08-04 22:28:16 +00:00
Tim Peters
9b625d3037
Example.__init__: this cannot use assert, because that fails to trigger
...
in a -O run, and so test_doctest was failing under -O. Simple cause,
simple cure.
2004-08-04 20:04:32 +00:00
Tim Peters
8485b56216
Edward Loper's cool and massive refactoring of doctest.py, merged from
...
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.
2004-08-04 18:46:34 +00:00
Hye-Shik Chang
c81c695dc9
Add a proper pointer to SF bug item.
2004-08-04 17:40:38 +00:00
Hye-Shik Chang
7df44b384a
SF #941229 : Decode source code with sys.stdin.encoding in interactive
...
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)
2004-08-04 17:36:41 +00:00
Michael W. Hudson
5910d81c97
Add a missing decref -- PyErr_SetObject increfs the 'object'!
2004-08-04 14:59:00 +00:00
Michael W. Hudson
7d6cc5b303
Fix a leak of a reference on None.
2004-08-04 14:33:28 +00:00
Michael W. Hudson
574a25127a
To ever run this test "you must import TestSkipped" from the right
...
place! (can that please be it for silly mistakes in this file? :-) I
know I started it, but...).
Also, rearrangements to run repeatedly.
2004-08-04 14:22:56 +00:00
Martin v. Löwis
ed0d9c6fbd
Bump buildno for 2.4a2
2004-08-04 13:42:43 +00:00
Michael W. Hudson
e51c4f9a10
Revert 2.312; turns out interning the file name did do some good (reducing
...
.pyc size) after all.
2004-08-04 10:26:08 +00:00
Vinay Sajip
eb477d04f7
Updated Logger.log() docstring to clarify that lvl parameter should be an integer.
2004-08-04 08:38:08 +00:00
Vinay Sajip
1cf56d0b8a
Updated Logger.log() documentation to clarify that lvl parameter should be an integer.
2004-08-04 08:36:44 +00:00
Vinay Sajip
6887c92b1e
Close handlers and tidy up loggers by removing closed handlers - to avoid problems when run twice (SF #1002537 )
2004-08-04 08:29:14 +00:00
Hye-Shik Chang
4189c643f8
Remove .width() and .iswide() from UserString as well.
2004-08-04 08:01:06 +00:00
Hye-Shik Chang
e9ddfbb412
SF #989185 : Drop unicode.iswide() and unicode.width() and add
...
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
2004-08-04 07:38:35 +00:00
Hye-Shik Chang
b5047fd019
Add a workaround for a problem that UTF-8 strings can be corrupted
...
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.
2004-08-04 06:33:51 +00:00
Tim Peters
6db15d7307
Whitespace normalization.
2004-08-04 02:36:18 +00:00
Tim Peters
cea2cc4a21
test_threadsignals is an expected skip on win32.
2004-08-04 02:32:03 +00:00
Tim Peters
81676dc520
To raise TestSkipped, you must import TestSkipped.
2004-08-04 02:30:45 +00:00
Tim Peters
3d3cfdb499
ihooks FancyModuleLoader.load_module()
...
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.
2004-08-04 02:29:12 +00:00
Tim Peters
51fa3b740f
Tkapp_New(): Rewrite in C so it compiles again.
2004-08-04 02:16:48 +00:00
Fred Drake
edcac8f416
make sure distutils logging is shut off in tests to avoid spurious output
2004-08-03 18:53:07 +00:00
Martin v. Löwis
1fa649f2d5
Patch #986929 : Add support for wish -sync and -use options.
2004-08-03 18:45:31 +00:00
Martin v. Löwis
9441c078cf
Patch #986929 : Add support for wish -sync and -use options.
2004-08-03 18:36:25 +00:00
Martin v. Löwis
b217cd802e
Wait for visibility before setting a grab. Fixes #946153 .
2004-08-03 18:36:25 +00:00
Fred Drake
f901abdd62
allow ctime(), gmtime(), and localtime() to take None as equivalent to an omitted arg
...
(closes SF bug #658254 , patch #663482 )
2004-08-03 17:58:55 +00:00
Fred Drake
d04573fef0
This allows additional commands to be provided for existing setup.py
...
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 .
2004-08-03 16:37:40 +00:00