Christian Heimes
3acc41b5f6
Fixed #1673 . I hope it works. I don't have access to a Windows box right now.
2007-12-20 14:44:41 +00:00
Christian Heimes
2c18161606
Merged revisions 59512-59540 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r59513 | raymond.hettinger | 2007-12-15 01:07:25 +0100 (Sat, 15 Dec 2007) | 6 lines
Optimize PyList_AsTuple(). Improve cache performance by doing the
pointer copy and object increment in one pass. For small lists,
save the overhead of the call to memcpy() -- this comes up in
calls like f(*listcomp).
........
r59519 | christian.heimes | 2007-12-15 06:38:35 +0100 (Sat, 15 Dec 2007) | 2 lines
Fixed #1624 : Remove output comparison for test_pep277
I had to modify Brett's patch slightly.
........
r59520 | georg.brandl | 2007-12-15 10:34:59 +0100 (Sat, 15 Dec 2007) | 2 lines
Add note about future import needed for with statement.
........
r59522 | georg.brandl | 2007-12-15 10:36:37 +0100 (Sat, 15 Dec 2007) | 2 lines
Argh, wrong version.
........
r59524 | georg.brandl | 2007-12-16 12:06:09 +0100 (Sun, 16 Dec 2007) | 2 lines
Dummy commit to investigate #1617 .
........
r59525 | georg.brandl | 2007-12-16 12:21:48 +0100 (Sun, 16 Dec 2007) | 2 lines
Revert dummy commit now that the build slave is building.
........
r59527 | georg.brandl | 2007-12-16 16:47:46 +0100 (Sun, 16 Dec 2007) | 2 lines
Remove orphaned footnote reference.
........
r59528 | georg.brandl | 2007-12-16 16:53:49 +0100 (Sun, 16 Dec 2007) | 2 lines
Remove gratuitous unicode character.
........
r59529 | georg.brandl | 2007-12-16 16:59:19 +0100 (Sun, 16 Dec 2007) | 2 lines
Remove another unnecessary Unicode character.
........
r59530 | georg.brandl | 2007-12-16 17:00:36 +0100 (Sun, 16 Dec 2007) | 2 lines
Remove curious space-like characters.
........
r59532 | georg.brandl | 2007-12-16 20:36:51 +0100 (Sun, 16 Dec 2007) | 2 lines
Adapt conf.py to new option names.
........
r59533 | christian.heimes | 2007-12-16 22:39:43 +0100 (Sun, 16 Dec 2007) | 1 line
Fixed #1638 : %zd configure test fails on Linux
........
r59536 | georg.brandl | 2007-12-17 00:11:16 +0100 (Mon, 17 Dec 2007) | 2 lines
Simplify.
........
r59537 | georg.brandl | 2007-12-17 00:13:29 +0100 (Mon, 17 Dec 2007) | 2 lines
Use PEP 8.
........
r59539 | georg.brandl | 2007-12-17 00:15:07 +0100 (Mon, 17 Dec 2007) | 2 lines
Don't use quotes for non-string code.
........
r59540 | facundo.batista | 2007-12-17 15:18:42 +0100 (Mon, 17 Dec 2007) | 4 lines
Removed the private _rounding_decision: it was not needed, and the code
is now simpler. Thanks Mark Dickinson.
........
2007-12-17 20:04:13 +00:00
Guido van Rossum
c12a813aa7
Patch # 1331 by Christian Heimes.
...
The patch fixes some of the problems on Windows. It doesn't introduce
addition problems on Linux.
2007-10-26 04:29:23 +00:00
Collin Winter
3add4d78ff
Raise statement normalization in Lib/test/.
2007-08-29 23:37:32 +00:00
Guido van Rossum
ef87d6ed94
Rip out all the u"..." literals and calls to unicode().
2007-05-02 19:09:54 +00:00
Guido van Rossum
be19ed77dd
Fix most trivially-findable print statements.
...
There's one major and one minor category still unfixed:
doctests are the major category (and I hope to be able to augment the
refactoring tool to refactor bona fide doctests soon);
other code generating print statements in strings is the minor category.
(Oh, and I don't know if the compiler package works.)
2007-02-09 05:37:30 +00:00
Guido van Rossum
b940e113bf
SF patch 1631942 by Collin Winter:
...
(a) "except E, V" -> "except E as V"
(b) V is now limited to a simple name (local variable)
(c) V is now deleted at the end of the except block
2007-01-10 16:19:56 +00:00
Martin v. Löwis
d6eb3523f6
Stop printing listdir bytestring output, as the precise list of strings
...
returned depends on the filesystem encoding.
2004-11-07 20:01:56 +00:00
Martin v. Löwis
1b699a5f00
Patch #790000 : Allow os.access to handle Unicode file name.
2003-09-12 16:25:38 +00:00
Mark Hammond
bb4a47c818
Prevent failure on the mac, where "mbcs" is not the file system
...
encoding. Use sys.getfilesystemencoding().
2003-07-16 03:46:38 +00:00
Walter Dörwald
21d3a32b99
Combine the functionality of test_support.run_unittest()
...
and test_support.run_classtests() into run_unittest()
and use it wherever possible.
Also don't use "from test.test_support import ...", but
"from test import test_support" in a few spots.
From SF patch #662807 .
2003-05-01 17:45:56 +00:00
Tim Peters
3de75266aa
Whitespace normalization.
2002-11-09 05:26:15 +00:00
Mark Hammond
8696ebcd28
Add os.path.supports_unicode_filenames for all platforms,
...
sys.getwindowsversion() on Windows (new enahanced Tim-proof <wink>
version), and fix test_pep277.py in a few minor ways.
Including doc and NEWS entries.
2002-10-08 02:44:31 +00:00
Martin v. Löwis
45bb87bc13
Use escaped Unicode literals, according to PEP 8.
2002-10-07 17:27:15 +00:00
Tim Peters
1ee401fcf6
This test fails on Win98, which is fine, but when it failed it left
...
a junk directory behind that caused 4 other tests to fail later. Now
it cleans up after itself, and the 4 bogus later failures don't happen.
2002-10-05 17:54:56 +00:00
Mark Hammond
7995eb22f1
Tests for pep277 - Unicode file names on Windows NT.
2002-10-03 23:14:10 +00:00