Brian Curtin
74e4561a3c
Re-flow several long lines from #1578269 .
2010-07-09 15:58:59 +00:00
Brian Curtin
c739569be0
Adding versionchanged to the various Windows os.symlink additions, along
...
with a few minor touchups.
2010-07-09 15:15:09 +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
Brian Curtin
c2f583a7f9
Reorder Jason "two O's" Coombs
2010-07-09 13:22:07 +00:00
Benjamin Peterson
ccbcf53865
OverflowError is fine
2010-07-09 13:20:40 +00:00
R. David Murray
893766cd0b
Fix sort order mistake in Misc/ACKS.
2010-07-09 13:14:03 +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
Georg Brandl
facb0e9a76
2.7 is now stable.
2010-07-09 07:33:15 +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
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
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
Ezio Melotti
9527afd02c
Fix typo in a comment in mathmodule.c.
2010-07-08 15:03:02 +00:00
Alexander Belopolsky
73ca440e3d
Issue #5288 : Eliminated round-trips between timdelta and int offsets
2010-07-07 23:56:38 +00:00
Benjamin Peterson
6ef08a0ebe
ValueError in this case is also acceptable
2010-07-07 22:45:06 +00:00
Benjamin Peterson
ccabcd4bd4
make struct sequences subclass tuple; kill lots of code
...
This fixes #8413 .
2010-07-07 20:54:01 +00:00
Benjamin Peterson
a9800a8d5b
add NEWS
2010-07-07 19:04:48 +00:00
Georg Brandl
b9137848ae
Turn more notes into comments.
2010-07-07 19:04:36 +00:00
Benjamin Peterson
de73c4587f
don't ignore exceptions from PyObject_IsTrue
2010-07-07 18:54:59 +00:00
Georg Brandl
e789016a70
Make comment out of an awkward note.
2010-07-07 18:51:43 +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
Mark Dickinson
9c91eb844c
Minor refactoring in lgamma code, for clarity.
2010-07-07 16:17:31 +00:00
Mark Dickinson
7e4a6ebd42
Kill gratuitous space.
2010-07-07 16:10:44 +00:00
Alexander Belopolsky
a11d8c03a4
Issue #9000 : datetime.timezone objects now have eval-friendly repr.
2010-07-06 23:19:45 +00:00
Georg Brandl
44afa5e6a4
Fix typo.
2010-07-06 22:58:50 +00:00
Mark Dickinson
21a1f734fb
Style nit.
2010-07-06 15:11:44 +00:00
Vinay Sajip
c15dfd63b3
Minor improvements to logging documentation.
2010-07-06 15:08:55 +00:00
Mark Dickinson
6f493b7bac
Indentation and PEP 7 fixes.
2010-07-06 15:00:40 +00:00
Matthias Klose
d885e95be4
- sysmodule.c (get_hash_info): Define as static function.
2010-07-06 10:53:30 +00:00
Senthil Kumaran
37c63a385d
Change 'lowered' to 'lowercased'
2010-07-06 02:08:36 +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
31c2740760
"Modernized" the demo a little.
2010-07-05 21:44:05 +00:00
Victor Stinner
1f1ccc0386
#9158 : Fix y* format of PyArg_Parse*() functions documentation
2010-07-05 21:36:21 +00:00
Mark Dickinson
6c3bcb74b2
Post-detabification cleanup.
2010-07-05 20:14:26 +00:00
Georg Brandl
5ada7c7315
Update Vec class constructor, remove indirection via function, use operator module.
2010-07-05 20:13:41 +00:00
Georg Brandl
dc00a2a249
Remove Dbm.
2010-07-05 20:13:06 +00:00
Benjamin Peterson
aefc1c7e48
untabify
2010-07-05 20:04:54 +00:00
Alexander Belopolsky
d87e932f51
Added two more test cases for datetime
2010-07-05 17:57:31 +00:00
Georg Brandl
b0f0991cdb
#9166 : NotImplemented is not an exception.
2010-07-05 17:48:38 +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
f34e82ef49
Added more tests for utctimetuple()
2010-07-05 15:05:33 +00:00