Ronald Oussoren
725443fef9
Fix for issue 9164
2010-07-11 09:29:09 +00:00
Ronald Oussoren
d3950527e7
Fix for issue 9164
2010-07-11 09:05:07 +00:00
Senthil Kumaran
3402414b85
Merged revisions 82780 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r82780 | senthil.kumaran | 2010-07-11 08:42:43 +0530 (Sun, 11 Jul 2010) | 3 lines
Stricter verification for file based url scheme and reliance on ftp protocol.
........
2010-07-11 03:15:25 +00:00
Senthil Kumaran
2ef16328e8
Stricter verification for file based url scheme and reliance on ftp protocol.
2010-07-11 03:12:43 +00:00
Benjamin Peterson
0d62f5bbfe
ValueError is eventually what we want to move to, I suppose
2010-07-10 15:14:45 +00:00
R. David Murray
ca126a02ea
Merged revisions 82766 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
Since 'purge' is an API change, modified it to be _purge for 3.1
and deleted the doc update.
........
r82766 | r.david.murray | 2010-07-10 09:52:13 -0400 (Sat, 10 Jul 2010) | 5 lines
Fix 'refleak' introduced by fnmatch cache purge tests.
This introduces a 'purge' function for the fnmatch module analogous
to the 'purge' function in the re module.
........
2010-07-10 14:00:10 +00:00
Michael Foord
c653ce313f
Fix error message for comparing single line strings in unittest.TestCase.assertEqual.
...
Issue 9174.
2010-07-10 13:52:22 +00:00
R. David Murray
0425a8ea72
Fix 'refleak' introduced by fnmatch cache purge tests.
...
This introduces a 'purge' function for the fnmatch module analogous
to the 'purge' function in the re module.
2010-07-10 13:52:13 +00:00
Georg Brandl
297d97241a
#1434090 : properly append child in expatbuilder doctype handler.
2010-07-10 11:40:13 +00:00
Georg Brandl
0310a83e7f
#3071 : tell how many values were expected when unpacking too many.
2010-07-10 10:32:36 +00:00
Jeffrey Yasskin
61c061a8b3
Oops. Fix distutils tests that r82746 broke.
2010-07-09 19:55:05 +00:00
Benjamin Peterson
e0da9fcf06
3.x is the new trunk
2010-07-09 19:39:56 +00:00
Benjamin Peterson
b669221bd1
be more robust across platforms
2010-07-09 19:37:00 +00:00
Benjamin Peterson
34d17debb7
remove SocketIO.__del__; close() can handle it
2010-07-09 18:28:25 +00:00
Jeffrey Yasskin
d4fcdb1ea8
Issue #9189 : Allow users to set $CFLAGS, $CPPFLAGS, and $LDFLAGS when running
...
configure to append to Python's default values for those variables, and
similarly allow users to set $XXFLAGS on the make command line to append to the
values set by configure.
In the makefile, this renames the variables that used to be $XXFLAGS to
$PY_XXFLAGS, and renames the old $PY_CFLAGS to $PY_CORE_CFLAGS. To compensate,
sysconfig now aliases $XXFLAGS=$PY_XXFLAGS so that scripts using it keep
working. I see that as the right interface, not a backward-compatibility hack,
since these are logically the $XXFLAGS variables; we just use a different name
in the makefile to deal with make's semantics.
2010-07-09 16:30:58 +00:00
Brian Curtin
74e4561a3c
Re-flow several long lines from #1578269 .
2010-07-09 15:58:59 +00:00
Brian Curtin
16633fa497
Fix the breakage of Lib/tarfile.py on non-Windows platforms due to
...
using WindowsError in a try/except. Only add WindowsError to the list of
exceptions to catch when we are actually running on Windows.
Additionally, add a call that was left out in test_posixpath.
Thanks Amaury, Antoine, and Jason.
2010-07-09 13:54:27 +00:00
Benjamin Peterson
4b83af9576
wrap
2010-07-09 13:31:11 +00:00
Benjamin Peterson
a04a32d586
allow more exceptions
2010-07-09 13:28:42 +00:00
Benjamin Peterson
ccbcf53865
OverflowError is fine
2010-07-09 13:20:40 +00:00
R. David Murray
ead883a366
Merged revisions 82730-82731 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r82730 | r.david.murray | 2010-07-09 08:23:21 -0400 (Fri, 09 Jul 2010) | 4 lines
7846: limit fnmatch pattern cache to _MAXCACHE=100 entries.
Patch by Andrew Clegg.
........
r82731 | r.david.murray | 2010-07-09 09:14:03 -0400 (Fri, 09 Jul 2010) | 2 lines
Fix sort order mistake in Misc/ACKS.
........
2010-07-09 13:16:26 +00:00
R. David Murray
ea340a317a
7846: limit fnmatch pattern cache to _MAXCACHE=100 entries.
...
Patch by Andrew Clegg.
2010-07-09 12:23:21 +00:00
Benjamin Peterson
8b0ef21c15
use assert method
2010-07-09 01:58:26 +00:00
Benjamin Peterson
d02441ea2f
fix repr of complicated structseqs #9206
2010-07-08 22:33:03 +00:00
Benjamin Peterson
8c567c540d
assert tuple inheritance
2010-07-08 22:16:05 +00:00
Brian Curtin
808e1ada94
Undo inadvertant checkin.
2010-07-08 22:13:25 +00:00
Brian Curtin
d40e6f70a5
Implement #1578269 . Patch by Jason R. Coombs.
...
Added Windows support for os.symlink when run on Windows 6.0 or greater,
aka Vista. Previous Windows versions will raise NotImplementedError
when trying to symlink.
Includes numerous test updates and additions to test_os, including
a symlink_support module because of the fact that privilege escalation
is required in order to run the tests to ensure that the user is able
to create symlinks. By default, accounts do not have the required
privilege, so the escalation code will have to be exposed later (or
documented on how to do so). I'll be following up with that work next.
Note that the tests use ctypes, which was agreed on during the PyCon
language summit.
2010-07-08 21:39:08 +00:00
Mark Dickinson
921d30d261
Merged revisions 82654 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r82654 | mark.dickinson | 2010-07-08 22:15:36 +0100 (Thu, 08 Jul 2010) | 3 lines
Issue #9136 : Profiling Decimal gave 'dictionary changed size during iteration'.
Remove the use of locals() that caused this error.
........
2010-07-08 21:18:21 +00:00
Mark Dickinson
0dd8f7890a
Issue #9136 : Profiling Decimal gave 'dictionary changed size during iteration'.
...
Remove the use of locals() that caused this error.
2010-07-08 21:15:36 +00:00
Mark Dickinson
0390f504ac
Merged revisions 82646,82649-82650 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r82646 | mark.dickinson | 2010-07-08 18:23:40 +0100 (Thu, 08 Jul 2010) | 1 line
In test_decimal, convert heuristic for skipping tests into an explicit skiplist.
........
r82649 | mark.dickinson | 2010-07-08 20:03:34 +0100 (Thu, 08 Jul 2010) | 1 line
Fix a performance issue in Decimal.pow. Thanks Stefan Krah for finding this.
........
r82650 | mark.dickinson | 2010-07-08 20:09:16 +0100 (Thu, 08 Jul 2010) | 1 line
Fix misplaced exactness check that was causing unnecessary work in Decimal.__pow__.
........
2010-07-08 19:21:59 +00:00
Mark Dickinson
e42f1bb354
Fix misplaced exactness check that was causing unnecessary work in Decimal.__pow__.
2010-07-08 19:09:16 +00:00
Mark Dickinson
a123631a5c
Fix a performance issue in Decimal.pow. Thanks Stefan Krah for finding this.
2010-07-08 19:03:34 +00:00
Antoine Pitrou
f48ea7c2a9
Issue #8605 : Skip test_gdb if Python is compiled with optimizations.
2010-07-08 18:51:30 +00:00
Mark Dickinson
247900ce47
In test_decimal, convert heuristic for skipping tests into an explicit skiplist.
2010-07-08 17:23:40 +00:00
Benjamin Peterson
003f523970
Merged revisions 82637 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r82637 | benjamin.peterson | 2010-07-07 17:45:06 -0500 (Wed, 07 Jul 2010) | 1 line
ValueError in this case is also acceptable
........
2010-07-07 22:50:58 +00:00
Benjamin Peterson
f092c7c1d7
Merged revisions 82628,82630 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r82628 | benjamin.peterson | 2010-07-07 13:44:05 -0500 (Wed, 07 Jul 2010) | 1 line
this needn't be in the loop
........
r82630 | benjamin.peterson | 2010-07-07 13:54:59 -0500 (Wed, 07 Jul 2010) | 1 line
don't ignore exceptions from PyObject_IsTrue
........
2010-07-07 22:46:00 +00:00
Benjamin Peterson
6ef08a0ebe
ValueError in this case is also acceptable
2010-07-07 22:45:06 +00:00
Benjamin Peterson
de73c4587f
don't ignore exceptions from PyObject_IsTrue
2010-07-07 18:54:59 +00:00
Benjamin Peterson
c937dc2ccb
this needn't be in the loop
2010-07-07 18:44:05 +00:00
Mark Dickinson
be64d95169
Issue #9186 : log1p(-1.0) should raise ValueError, not OverflowError.
2010-07-07 16:21:29 +00:00
Alexander Belopolsky
a11d8c03a4
Issue #9000 : datetime.timezone objects now have eval-friendly repr.
2010-07-06 23:19:45 +00:00
Brett Cannon
c84dc9d018
Fix test_xmlrpc_net to no longer fail since there are no more buildbots for trunk.
2010-07-05 22:11:16 +00:00
Alexander Belopolsky
d87e932f51
Added two more test cases for datetime
2010-07-05 17:57:31 +00:00
Benjamin Peterson
97c694b90b
looking up on the type is correct, so this isn't an XXX
2010-07-05 17:11:05 +00:00
Alexander Belopolsky
f5c7bc841b
Merged revisions 82578 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r82578 | alexander.belopolsky | 2010-07-05 11:05:33 -0400 (Mon, 05 Jul 2010) | 1 line
Added more tests for utctimetuple()
........
2010-07-05 15:26:36 +00:00
Alexander Belopolsky
f34e82ef49
Added more tests for utctimetuple()
2010-07-05 15:05:33 +00:00
Benjamin Peterson
335d2c757d
pydoc still has a silly encoding
2010-07-05 14:59:40 +00:00
Mark Dickinson
45a26b9b18
Revert -r82559; it's not clear that this is the right thing to do, and the change obscures the original intentions.
2010-07-04 20:07:09 +00:00
Mark Dickinson
30b570bb4b
Re-encode shlex.py in UTF-8, and remove coding cookie.
2010-07-04 19:27:12 +00:00
Mark Dickinson
b4a17a8440
Remove coding cookie from heapq.py.
2010-07-04 19:23:49 +00:00