]>
granicus.if.org Git - python/log
Benjamin Peterson [Sun, 11 Jul 2010 23:06:06 +0000 (23:06 +0000)]
allow byte literals
Mark Dickinson [Sun, 11 Jul 2010 19:47:37 +0000 (19:47 +0000)]
Include versionadded in (c)math.isfinite docs (thanks Ezio Melotti). Other minor doc cleanups.
Mark Dickinson [Sun, 11 Jul 2010 19:12:10 +0000 (19:12 +0000)]
assertEquals -> assertEqual
Mark Dickinson [Sun, 11 Jul 2010 18:53:06 +0000 (18:53 +0000)]
Issue #9137: Fix issue in MutableMapping.update, which incorrectly
treated keyword arguments called 'self' or 'other' specially.
Mark Dickinson [Sun, 11 Jul 2010 18:13:41 +0000 (18:13 +0000)]
Improve docstrings for isnan, isinf and isfinite.
Martin v. Löwis [Sun, 11 Jul 2010 17:39:46 +0000 (17:39 +0000)]
Issue #8974: fix print calls in msgfmt.py.
Mark Dickinson [Sun, 11 Jul 2010 17:38:24 +0000 (17:38 +0000)]
Issue #9165: Add math.isfinite and cmath.isfinite.
Benjamin Peterson [Sun, 11 Jul 2010 12:59:24 +0000 (12:59 +0000)]
test for set literals
Antoine Pitrou [Sun, 11 Jul 2010 12:12:00 +0000 (12:12 +0000)]
Issue #7616: Fix copying of overlapping memoryview slices with the Intel
compiler.
Georg Brandl [Sun, 11 Jul 2010 10:22:44 +0000 (10:22 +0000)]
#9223: link to Command class reference, and move Command interface docs nearer to class docs.
Georg Brandl [Sun, 11 Jul 2010 09:42:10 +0000 (09:42 +0000)]
#7935: cross-reference to ast.literal_eval() from eval() docs.
Georg Brandl [Sun, 11 Jul 2010 09:41:21 +0000 (09:41 +0000)]
Allow set literals in literal_eval().
Georg Brandl [Sun, 11 Jul 2010 09:33:39 +0000 (09:33 +0000)]
#9184: fix default value for "buffering" param of open().
Georg Brandl [Sun, 11 Jul 2010 09:26:57 +0000 (09:26 +0000)]
Fix typo.
Georg Brandl [Sun, 11 Jul 2010 09:23:11 +0000 (09:23 +0000)]
#6774: explain shutdown() behavior varying with platform.
Ronald Oussoren [Sun, 11 Jul 2010 09:05:07 +0000 (09:05 +0000)]
Fix for issue 9164
Georg Brandl [Sun, 11 Jul 2010 08:36:20 +0000 (08:36 +0000)]
#3214 followup: add link to ABC entry.
Georg Brandl [Sun, 11 Jul 2010 08:33:16 +0000 (08:33 +0000)]
Silence makeindex.
Senthil Kumaran [Sun, 11 Jul 2010 05:01:52 +0000 (05:01 +0000)]
Issue2007: Removing reference to MSIE Cookie handling by mechanize. Suggested by John J Lee.
Benjamin Peterson [Sun, 11 Jul 2010 03:36:35 +0000 (03:36 +0000)]
remove unneeded error check
Senthil Kumaran [Sun, 11 Jul 2010 03:12:43 +0000 (03:12 +0000)]
Stricter verification for file based url scheme and reliance on ftp protocol.
Benjamin Peterson [Sat, 10 Jul 2010 15:14:45 +0000 (15:14 +0000)]
ValueError is eventually what we want to move to, I suppose
R. David Murray [Sat, 10 Jul 2010 14:23:36 +0000 (14:23 +0000)]
Add missing docs for re module 'purge' function.
Michael Foord [Sat, 10 Jul 2010 13:52:22 +0000 (13:52 +0000)]
Fix error message for comparing single line strings in unittest.TestCase.assertEqual.
Issue 9174.
R. David Murray [Sat, 10 Jul 2010 13:52:13 +0000 (13:52 +0000)]
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.
Georg Brandl [Sat, 10 Jul 2010 12:20:38 +0000 (12:20 +0000)]
#8564: update docs on integrating doctest/unittest with unittest(2) test discovery.
Georg Brandl [Sat, 10 Jul 2010 12:01:34 +0000 (12:01 +0000)]
#8456: fix signature of sqlite3.connect().
Georg Brandl [Sat, 10 Jul 2010 11:51:06 +0000 (11:51 +0000)]
#8338: fix outdated class name.
Georg Brandl [Sat, 10 Jul 2010 11:40:13 +0000 (11:40 +0000)]
#
1434090 : properly append child in expatbuilder doctype handler.
Georg Brandl [Sat, 10 Jul 2010 10:39:57 +0000 (10:39 +0000)]
#3214: improve description of duck-typing in glossary.
Georg Brandl [Sat, 10 Jul 2010 10:32:36 +0000 (10:32 +0000)]
#3071: tell how many values were expected when unpacking too many.
Georg Brandl [Sat, 10 Jul 2010 10:23:40 +0000 (10:23 +0000)]
Emphasize role of count for Pascal string.
Georg Brandl [Sat, 10 Jul 2010 08:58:37 +0000 (08:58 +0000)]
Fix markup.
Jeffrey Yasskin [Fri, 9 Jul 2010 19:55:05 +0000 (19:55 +0000)]
Oops. Fix distutils tests that r82746 broke.
Benjamin Peterson [Fri, 9 Jul 2010 19:37:00 +0000 (19:37 +0000)]
be more robust across platforms
Mark Dickinson [Fri, 9 Jul 2010 19:25:48 +0000 (19:25 +0000)]
Silence gcc warning. (In function 'bytearray_init': warning: 'value' may be used uninitialized in this function).
Benjamin Peterson [Fri, 9 Jul 2010 18:28:25 +0000 (18:28 +0000)]
remove SocketIO.__del__; close() can handle it
Jeffrey Yasskin [Fri, 9 Jul 2010 16:30:58 +0000 (16:30 +0000)]
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.
Brian Curtin [Fri, 9 Jul 2010 15:58:59 +0000 (15:58 +0000)]
Re-flow several long lines from #
1578269 .
Brian Curtin [Fri, 9 Jul 2010 15:15:09 +0000 (15:15 +0000)]
Adding versionchanged to the various Windows os.symlink additions, along
with a few minor touchups.
Brian Curtin [Fri, 9 Jul 2010 13:54:27 +0000 (13:54 +0000)]
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.
Benjamin Peterson [Fri, 9 Jul 2010 13:31:11 +0000 (13:31 +0000)]
wrap
Benjamin Peterson [Fri, 9 Jul 2010 13:28:42 +0000 (13:28 +0000)]
allow more exceptions
Brian Curtin [Fri, 9 Jul 2010 13:22:07 +0000 (13:22 +0000)]
Reorder Jason "two O's" Coombs
Benjamin Peterson [Fri, 9 Jul 2010 13:20:40 +0000 (13:20 +0000)]
OverflowError is fine
R. David Murray [Fri, 9 Jul 2010 13:14:03 +0000 (13:14 +0000)]
Fix sort order mistake in Misc/ACKS.
R. David Murray [Fri, 9 Jul 2010 12:23:21 +0000 (12:23 +0000)]
7846: limit fnmatch pattern cache to _MAXCACHE=100 entries.
Patch by Andrew Clegg.
Georg Brandl [Fri, 9 Jul 2010 07:33:15 +0000 (07:33 +0000)]
2.7 is now stable.
Benjamin Peterson [Fri, 9 Jul 2010 01:58:26 +0000 (01:58 +0000)]
use assert method
Benjamin Peterson [Thu, 8 Jul 2010 22:33:03 +0000 (22:33 +0000)]
fix repr of complicated structseqs #9206
Benjamin Peterson [Thu, 8 Jul 2010 22:16:05 +0000 (22:16 +0000)]
assert tuple inheritance
Brian Curtin [Thu, 8 Jul 2010 22:13:25 +0000 (22:13 +0000)]
Undo inadvertant checkin.
Brian Curtin [Thu, 8 Jul 2010 21:39:08 +0000 (21:39 +0000)]
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.
Mark Dickinson [Thu, 8 Jul 2010 21:15:36 +0000 (21:15 +0000)]
Issue #9136: Profiling Decimal gave 'dictionary changed size during iteration'.
Remove the use of locals() that caused this error.
Mark Dickinson [Thu, 8 Jul 2010 19:09:16 +0000 (19:09 +0000)]
Fix misplaced exactness check that was causing unnecessary work in Decimal.__pow__.
Mark Dickinson [Thu, 8 Jul 2010 19:03:34 +0000 (19:03 +0000)]
Fix a performance issue in Decimal.pow. Thanks Stefan Krah for finding this.
Antoine Pitrou [Thu, 8 Jul 2010 18:51:30 +0000 (18:51 +0000)]
Issue #8605: Skip test_gdb if Python is compiled with optimizations.
Mark Dickinson [Thu, 8 Jul 2010 17:23:40 +0000 (17:23 +0000)]
In test_decimal, convert heuristic for skipping tests into an explicit skiplist.
Ezio Melotti [Thu, 8 Jul 2010 15:03:02 +0000 (15:03 +0000)]
Fix typo in a comment in mathmodule.c.
Alexander Belopolsky [Wed, 7 Jul 2010 23:56:38 +0000 (23:56 +0000)]
Issue #5288: Eliminated round-trips between timdelta and int offsets
Benjamin Peterson [Wed, 7 Jul 2010 22:45:06 +0000 (22:45 +0000)]
ValueError in this case is also acceptable
Benjamin Peterson [Wed, 7 Jul 2010 20:54:01 +0000 (20:54 +0000)]
make struct sequences subclass tuple; kill lots of code
This fixes #8413.
Benjamin Peterson [Wed, 7 Jul 2010 19:04:48 +0000 (19:04 +0000)]
add NEWS
Georg Brandl [Wed, 7 Jul 2010 19:04:36 +0000 (19:04 +0000)]
Turn more notes into comments.
Benjamin Peterson [Wed, 7 Jul 2010 18:54:59 +0000 (18:54 +0000)]
don't ignore exceptions from PyObject_IsTrue
Georg Brandl [Wed, 7 Jul 2010 18:51:43 +0000 (18:51 +0000)]
Make comment out of an awkward note.
Benjamin Peterson [Wed, 7 Jul 2010 18:44:05 +0000 (18:44 +0000)]
this needn't be in the loop
Mark Dickinson [Wed, 7 Jul 2010 16:21:29 +0000 (16:21 +0000)]
Issue #9186: log1p(-1.0) should raise ValueError, not OverflowError.
Mark Dickinson [Wed, 7 Jul 2010 16:17:31 +0000 (16:17 +0000)]
Minor refactoring in lgamma code, for clarity.
Mark Dickinson [Wed, 7 Jul 2010 16:10:44 +0000 (16:10 +0000)]
Kill gratuitous space.
Alexander Belopolsky [Tue, 6 Jul 2010 23:19:45 +0000 (23:19 +0000)]
Issue #9000: datetime.timezone objects now have eval-friendly repr.
Georg Brandl [Tue, 6 Jul 2010 22:58:50 +0000 (22:58 +0000)]
Fix typo.
Mark Dickinson [Tue, 6 Jul 2010 15:11:44 +0000 (15:11 +0000)]
Style nit.
Vinay Sajip [Tue, 6 Jul 2010 15:08:55 +0000 (15:08 +0000)]
Minor improvements to logging documentation.
Mark Dickinson [Tue, 6 Jul 2010 15:00:40 +0000 (15:00 +0000)]
Indentation and PEP 7 fixes.
Matthias Klose [Tue, 6 Jul 2010 10:53:30 +0000 (10:53 +0000)]
- sysmodule.c (get_hash_info): Define as static function.
Senthil Kumaran [Tue, 6 Jul 2010 02:08:36 +0000 (02:08 +0000)]
Change 'lowered' to 'lowercased'
Brett Cannon [Mon, 5 Jul 2010 22:11:16 +0000 (22:11 +0000)]
Fix test_xmlrpc_net to no longer fail since there are no more buildbots for trunk.
Alexander Belopolsky [Mon, 5 Jul 2010 21:44:05 +0000 (21:44 +0000)]
"Modernized" the demo a little.
Victor Stinner [Mon, 5 Jul 2010 21:36:21 +0000 (21:36 +0000)]
#9158: Fix y* format of PyArg_Parse*() functions documentation
Mark Dickinson [Mon, 5 Jul 2010 20:14:26 +0000 (20:14 +0000)]
Post-detabification cleanup.
Georg Brandl [Mon, 5 Jul 2010 20:13:41 +0000 (20:13 +0000)]
Update Vec class constructor, remove indirection via function, use operator module.
Georg Brandl [Mon, 5 Jul 2010 20:13:06 +0000 (20:13 +0000)]
Remove Dbm.
Benjamin Peterson [Mon, 5 Jul 2010 20:04:54 +0000 (20:04 +0000)]
untabify
Alexander Belopolsky [Mon, 5 Jul 2010 17:57:31 +0000 (17:57 +0000)]
Added two more test cases for datetime
Georg Brandl [Mon, 5 Jul 2010 17:48:38 +0000 (17:48 +0000)]
#9166: NotImplemented is not an exception.
Benjamin Peterson [Mon, 5 Jul 2010 17:11:05 +0000 (17:11 +0000)]
looking up on the type is correct, so this isn't an XXX
Alexander Belopolsky [Mon, 5 Jul 2010 15:05:33 +0000 (15:05 +0000)]
Added more tests for utctimetuple()
Benjamin Peterson [Mon, 5 Jul 2010 15:01:22 +0000 (15:01 +0000)]
cleanup basicsize logic #3268
Benjamin Peterson [Mon, 5 Jul 2010 14:59:40 +0000 (14:59 +0000)]
pydoc still has a silly encoding
Senthil Kumaran [Mon, 5 Jul 2010 12:00:56 +0000 (12:00 +0000)]
Fix the docstrings of the capitalize method.
Senthil Kumaran [Mon, 5 Jul 2010 11:41:42 +0000 (11:41 +0000)]
Fix: Issue9091 Minor documentation clarification.
Brett Cannon [Sun, 4 Jul 2010 22:05:34 +0000 (22:05 +0000)]
Do some basic refactoring. Along the way also list what files had their
whitespace cleaned up and do the proper plurality for "N file(s)" based on N.
Refactoring closes issue8912. Thanks to Éric Araujo for the patch.
Andrew M. Kuchling [Sun, 4 Jul 2010 20:47:00 +0000 (20:47 +0000)]
Add brief explanation; remove no-longer-working link
Mark Dickinson [Sun, 4 Jul 2010 20:07:09 +0000 (20:07 +0000)]
Revert -r82559; it's not clear that this is the right thing to do, and the change obscures the original intentions.
Mark Dickinson [Sun, 4 Jul 2010 19:27:12 +0000 (19:27 +0000)]
Re-encode shlex.py in UTF-8, and remove coding cookie.
Mark Dickinson [Sun, 4 Jul 2010 19:23:49 +0000 (19:23 +0000)]
Remove coding cookie from heapq.py.
Mark Dickinson [Sun, 4 Jul 2010 18:49:18 +0000 (18:49 +0000)]
Make Demo/parser/test_parser.py run.
Mark Dickinson [Sun, 4 Jul 2010 18:38:57 +0000 (18:38 +0000)]
Issue #9130: Validate ellipsis tokens in relative imports.
Mark Dickinson [Sun, 4 Jul 2010 18:15:26 +0000 (18:15 +0000)]
Fix symbol numbers in test_parser test.