R. David Murray
522c32a7e3
Add missing docs for re module 'purge' function.
2010-07-10 14:23:36 +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
a851483527
#8564 : update docs on integrating doctest/unittest with unittest(2) test discovery.
2010-07-10 12:20:38 +00:00
Georg Brandl
1c616a5c92
#8456 : fix signature of sqlite3.connect().
2010-07-10 12:01:34 +00:00
Georg Brandl
47d48bb3e7
#8338 : fix outdated class name.
2010-07-10 11:51:06 +00:00
Georg Brandl
297d97241a
#1434090 : properly append child in expatbuilder doctype handler.
2010-07-10 11:40:13 +00:00
Georg Brandl
73b1c7ba7d
#3214 : improve description of duck-typing in glossary.
2010-07-10 10:39:57 +00:00
Georg Brandl
0310a83e7f
#3071 : tell how many values were expected when unpacking too many.
2010-07-10 10:32:36 +00:00
Georg Brandl
93eb42e805
Emphasize role of count for Pascal string.
2010-07-10 10:23:40 +00:00
Georg Brandl
b382337ed6
Fix markup.
2010-07-10 08:58:37 +00:00
Jeffrey Yasskin
61c061a8b3
Oops. Fix distutils tests that r82746 broke.
2010-07-09 19:55:05 +00:00
Benjamin Peterson
b669221bd1
be more robust across platforms
2010-07-09 19:37:00 +00:00
Mark Dickinson
10de93a715
Silence gcc warning. (In function 'bytearray_init': warning: 'value' may be used uninitialized in this function).
2010-07-09 19:25:48 +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
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