]>
granicus.if.org Git - python/log
Georg Brandl [Sun, 1 Aug 2010 08:46:24 +0000 (08:46 +0000)]
No need to split this, there are enough long lines.
Georg Brandl [Sun, 1 Aug 2010 08:35:29 +0000 (08:35 +0000)]
#
1690103 : fix initial namespace for code run with trace.main().
Georg Brandl [Sun, 1 Aug 2010 08:10:08 +0000 (08:10 +0000)]
Add another news entry.
Georg Brandl [Sun, 1 Aug 2010 08:07:49 +0000 (08:07 +0000)]
#8230: make Lib/test/sortperf.py run on Python 3.
Georg Brandl [Sun, 1 Aug 2010 07:57:47 +0000 (07:57 +0000)]
Small improvements to pstats browser: do not crash on reading invalid file, and actually do a reload when executing "read" as intended.
Georg Brandl [Sun, 1 Aug 2010 07:48:43 +0000 (07:48 +0000)]
#7395: fix traceback in do_add() when no stats are loaded. Apply same fix for do_sort() and do_reverse().
Georg Brandl [Sun, 1 Aug 2010 06:53:28 +0000 (06:53 +0000)]
#8735: better explain semantics of *values* argument for parse().
Georg Brandl [Sun, 1 Aug 2010 06:44:46 +0000 (06:44 +0000)]
#8768: name test method properly so that it gets executed.
Georg Brandl [Sun, 1 Aug 2010 06:42:45 +0000 (06:42 +0000)]
#8773: mailbox.py does not need to be executable.
Georg Brandl [Sun, 1 Aug 2010 06:32:55 +0000 (06:32 +0000)]
Build properties using lambdas. This makes test_pyclbr pass again, because it does not think that input and output are methods anymore.
R. David Murray [Sun, 1 Aug 2010 03:31:09 +0000 (03:31 +0000)]
#8620: Cmd no longer truncates last character if stdin ends without newline
Cmd used to blindly chop off the last character of every input line. If
the input reached EOF and there was no final new line, it would truncate
the last character of the last command. This fix instead strips trailing
\r\n from the input lines. While this is a small behavior change, it
should not break any working code, since feeding a '\r\n' terminated
file to Cmd would previously leave the \r's on the lines, resulting
in failed command execution.
I wrote the unit test in preparation for a PyOhio TeachMe session
run by Catherine Devlin, and we can thank Catherine and the PyOhio
session attendees for the fix. I've added Catherine to the Acks file
for organizing and leading the TeachMe session, out of which we will
hopefully get some new contributors.
Raymond Hettinger [Sat, 31 Jul 2010 23:33:22 +0000 (23:33 +0000)]
Fix build on VS8.
Antoine Pitrou [Sat, 31 Jul 2010 22:48:02 +0000 (22:48 +0000)]
Reorder entries by module lexicographic order
Georg Brandl [Sat, 31 Jul 2010 22:32:52 +0000 (22:32 +0000)]
#5146: handle UID THREAD command correctly.
Georg Brandl [Sat, 31 Jul 2010 22:11:11 +0000 (22:11 +0000)]
#5147: revert accidental indentation of header constant for MozillaCookieJar.
Georg Brandl [Sat, 31 Jul 2010 22:05:54 +0000 (22:05 +0000)]
#4007: remove *.a and *.so.X.Y files in "make clean".
Georg Brandl [Sat, 31 Jul 2010 21:54:24 +0000 (21:54 +0000)]
#8292: Fix three instances of truth tests on return values of filter() (which is always true in Python 3).
Georg Brandl [Sat, 31 Jul 2010 21:51:48 +0000 (21:51 +0000)]
#8198: the Helper class should not save the stdin and stdout objects
at import time, rather by default use the current streams like the
other APIs that output help.
Georg Brandl [Sat, 31 Jul 2010 21:41:42 +0000 (21:41 +0000)]
Fix "Berkeley" name.
Georg Brandl [Sat, 31 Jul 2010 21:40:15 +0000 (21:40 +0000)]
#7909: the prefixes \\.\ and \\?\ indicate special Windows paths, do not try to manipulate them. See http://msdn.microsoft.com/en-us/library/
aa365247 %28VS.85%29.aspx for details.
Georg Brandl [Sat, 31 Jul 2010 21:26:40 +0000 (21:26 +0000)]
There always is a False and True now.
Georg Brandl [Sat, 31 Jul 2010 21:12:15 +0000 (21:12 +0000)]
#8910: add a file explaining why Lib/test/data is there.
Georg Brandl [Sat, 31 Jul 2010 21:04:00 +0000 (21:04 +0000)]
#3788: more tests for http.cookies, now at 95% coverage. Also bring coding style in the module up to PEP 8, where it does not break backwards compatibility.
Georg Brandl [Sat, 31 Jul 2010 20:13:44 +0000 (20:13 +0000)]
Clarify comment in comments test case explaining comment semantics.
Georg Brandl [Sat, 31 Jul 2010 20:08:15 +0000 (20:08 +0000)]
#1286: allow using fileinput.FileInput as context manager.
Georg Brandl [Sat, 31 Jul 2010 20:05:31 +0000 (20:05 +0000)]
#9442: do not document a specific format for sys.version; rather refer to version_info and the platform module.
Georg Brandl [Sat, 31 Jul 2010 19:59:55 +0000 (19:59 +0000)]
#5778: document that sys.version can contain a newline.
Georg Brandl [Sat, 31 Jul 2010 19:29:15 +0000 (19:29 +0000)]
Remove trailing whitespace.
Georg Brandl [Sat, 31 Jul 2010 19:17:11 +0000 (19:17 +0000)]
Fix bad merge: test_support -> support.
Martin v. Löwis [Sat, 31 Jul 2010 18:59:20 +0000 (18:59 +0000)]
Drop webchecker and BerkeleyDB license.
Georg Brandl [Sat, 31 Jul 2010 18:11:07 +0000 (18:11 +0000)]
#9440: Remove borderline test case that fails based on unpredictable conditions such as compiler flags.
Georg Brandl [Sat, 31 Jul 2010 18:09:46 +0000 (18:09 +0000)]
Move news item to the correct position.
Georg Brandl [Sat, 31 Jul 2010 18:09:23 +0000 (18:09 +0000)]
Re-commit r83327 now that the release is done.
Antoine Pitrou [Sat, 31 Jul 2010 18:08:33 +0000 (18:08 +0000)]
Add ssl changes to the 3.2 "what's new".
Georg Brandl [Sat, 31 Jul 2010 18:05:35 +0000 (18:05 +0000)]
Post-release updates.
Georg Brandl [Sat, 31 Jul 2010 13:53:29 +0000 (13:53 +0000)]
Tagging release 3.2a1.
Georg Brandl [Sat, 31 Jul 2010 12:06:51 +0000 (12:06 +0000)]
From Martin: New UUIDs for the 3.2 release series.
Georg Brandl [Sat, 31 Jul 2010 11:52:46 +0000 (11:52 +0000)]
Import test_pdb with its full name, so that running python -m test.test_pdb succeeds.
Georg Brandl [Sat, 31 Jul 2010 11:40:07 +0000 (11:40 +0000)]
#9430: document timedelta str() and repr().
Georg Brandl [Sat, 31 Jul 2010 11:00:47 +0000 (11:00 +0000)]
Rewrap.
Martin v. Löwis [Sat, 31 Jul 2010 10:56:53 +0000 (10:56 +0000)]
Truly uncomment rm lines.
Victor Stinner [Sat, 31 Jul 2010 10:52:56 +0000 (10:52 +0000)]
Issue #8966: Fix ctypes tests for Windows
I removed the implicit conversion from str to bytes.
Martin v. Löwis [Sat, 31 Jul 2010 10:50:16 +0000 (10:50 +0000)]
Delete openssl checkouts.
Martin v. Löwis [Sat, 31 Jul 2010 10:49:53 +0000 (10:49 +0000)]
Copy asm files into place.
Georg Brandl [Sat, 31 Jul 2010 10:16:21 +0000 (10:16 +0000)]
Revert r83327. This will have to wait until after the alpha1 release.
Raymond Hettinger [Sat, 31 Jul 2010 10:14:41 +0000 (10:14 +0000)]
Document how to change OrderedDict update order from first to last.
Raymond Hettinger [Sat, 31 Jul 2010 10:11:39 +0000 (10:11 +0000)]
Add functools.lfu_cache() and functools.lru_cache().
Georg Brandl [Sat, 31 Jul 2010 10:08:09 +0000 (10:08 +0000)]
Avoid triggering DeprecationWarnings in test_smtpd and smtpd.
Georg Brandl [Sat, 31 Jul 2010 09:37:03 +0000 (09:37 +0000)]
Copy Sun-specific inclusion of <alloca.h> from 2.7 maint to trunk; it seems to not have been merged to py3k.
Martin v. Löwis [Sat, 31 Jul 2010 09:21:51 +0000 (09:21 +0000)]
Update OpenSSL version.
Georg Brandl [Sat, 31 Jul 2010 09:15:10 +0000 (09:15 +0000)]
After distutils doc reversal, change back **bold todo** items to XXX comments.
Tarek Ziadé [Sat, 31 Jul 2010 09:10:51 +0000 (09:10 +0000)]
reverted distutils doc to its 3.1 state
Georg Brandl [Sat, 31 Jul 2010 09:03:30 +0000 (09:03 +0000)]
At least give IDLE 3.1 a release date. No further entries there for 3.2 though.
Georg Brandl [Sat, 31 Jul 2010 09:01:16 +0000 (09:01 +0000)]
Update copyright years and add releases to release list. Also update Sphinx version number.
Florent Xicluna [Sat, 31 Jul 2010 08:56:55 +0000 (08:56 +0000)]
Fix an oversight in r83294. unquote() should reject bytes. Issue #9301.
Georg Brandl [Sat, 31 Jul 2010 08:56:11 +0000 (08:56 +0000)]
Bump versions and review NEWS file.
Georg Brandl [Sat, 31 Jul 2010 08:27:46 +0000 (08:27 +0000)]
Update pydoc topics and adapt Topics builder to Sphinx 1.0.
Georg Brandl [Sat, 31 Jul 2010 08:20:02 +0000 (08:20 +0000)]
Make urllib tests pass for now. Will figure out what the correct semantics should be after release.
Georg Brandl [Sat, 31 Jul 2010 08:14:16 +0000 (08:14 +0000)]
Fix pdb test failures on the buildbots.
Raymond Hettinger [Sat, 31 Jul 2010 07:12:50 +0000 (07:12 +0000)]
Only expose the abstract base classes.
The concrete types are for internal use (registration).
We are not trying to resurrect the types module
in collections.
Georg Brandl [Fri, 30 Jul 2010 22:20:16 +0000 (22:20 +0000)]
Part of #7245: when KeyboardInterrupt is raised while defining commands, restore the old commands instead of producing a traceback.
Matthias Klose [Fri, 30 Jul 2010 21:40:57 +0000 (21:40 +0000)]
- Issue #7567: PyCurses_setupterm: Don't call `setupterm' twice.
Martin v. Löwis [Fri, 30 Jul 2010 20:03:17 +0000 (20:03 +0000)]
Import files from zlib 1.2.5.
Senthil Kumaran [Fri, 30 Jul 2010 19:34:36 +0000 (19:34 +0000)]
Fix issue9301 - handle unquote({}) kind of case.
Georg Brandl [Fri, 30 Jul 2010 18:46:38 +0000 (18:46 +0000)]
Show the traceback line numbers as well as the current line numbers if an exception is being debugged. Courtesy of pdb++ by Antonio Cuni. Also document -> and >> markers for "list".
Georg Brandl [Fri, 30 Jul 2010 18:15:16 +0000 (18:15 +0000)]
Test that "source" with nonexisting things works as expected.
Georg Brandl [Fri, 30 Jul 2010 18:08:12 +0000 (18:08 +0000)]
Fix source finding if the given frame is a module-level frame.
Martin v. Löwis [Fri, 30 Jul 2010 17:30:51 +0000 (17:30 +0000)]
Use OpenSSL 1.0.0a on Windows.
Martin v. Löwis [Fri, 30 Jul 2010 17:29:39 +0000 (17:29 +0000)]
Drop 2.4 support. Add disabled algorithms to Configure options.
Georg Brandl [Fri, 30 Jul 2010 17:04:28 +0000 (17:04 +0000)]
Add "longlist" and "source" commands, ideas borrowed from pdb++ by Antonio Cuni.
Georg Brandl [Fri, 30 Jul 2010 16:00:46 +0000 (16:00 +0000)]
Several enhancements to pdb and its test suite.
* added basic test for basic commands
* removed duplication of command docs, and moved them to their implementation
* unified and useful display of exceptions
* output messages and errors using overridable methods (also fixes #
1503502 )
Georg Brandl [Fri, 30 Jul 2010 15:33:52 +0000 (15:33 +0000)]
pdb now has its own tests.
Georg Brandl [Fri, 30 Jul 2010 15:01:23 +0000 (15:01 +0000)]
Add Breakpoint.bpformat(), which returns the info usually printed by bpprint(). Necessary for major refactoring of pdb output handling.
Georg Brandl [Fri, 30 Jul 2010 14:16:43 +0000 (14:16 +0000)]
#7964 followup: add test case to ensure issue remains fixed.
Georg Brandl [Fri, 30 Jul 2010 13:36:43 +0000 (13:36 +0000)]
Add myself for pdb.
Mark Dickinson [Fri, 30 Jul 2010 13:13:02 +0000 (13:13 +0000)]
Add note about surprising behaviour from round function.
Georg Brandl [Fri, 30 Jul 2010 12:01:20 +0000 (12:01 +0000)]
#809887: improve pdb feedback for breakpoint-related actions. Also add a functional test for these commands.
Georg Brandl [Fri, 30 Jul 2010 11:31:03 +0000 (11:31 +0000)]
#3143: enable "collapsible sidebar" feature of new Sphinx version.
Georg Brandl [Fri, 30 Jul 2010 10:29:19 +0000 (10:29 +0000)]
#5294: Fix the behavior of pdb "continue" command when called in the top-level debugged frame.
Georg Brandl [Fri, 30 Jul 2010 09:59:28 +0000 (09:59 +0000)]
#5727: Restore the ability to use readline when calling into pdb in doctests.
Georg Brandl [Fri, 30 Jul 2010 09:54:44 +0000 (09:54 +0000)]
Remove redundant import.
Georg Brandl [Fri, 30 Jul 2010 09:43:00 +0000 (09:43 +0000)]
#6719: In pdb, do not stop somewhere in the encodings machinery if the source file to be debugged is in a non-builtin encoding.
Georg Brandl [Fri, 30 Jul 2010 09:23:23 +0000 (09:23 +0000)]
Issue #8048: Prevent doctests from failing when sys.displayhook has
been reassigned.
Georg Brandl [Fri, 30 Jul 2010 09:14:20 +0000 (09:14 +0000)]
#
1472251 : remove addition of "\n" to code given to pdb.run[eval](), the bug in exec() that made this necessary has been fixed. Also document that you can give code objects to run() and runeval(), and add some tests to test_pdb.
Georg Brandl [Fri, 30 Jul 2010 08:54:49 +0000 (08:54 +0000)]
#8015: fix crash when entering an empty line for breakpoint commands. Also restore environment properly when an exception occurs during the definition of commands.
Georg Brandl [Fri, 30 Jul 2010 08:45:26 +0000 (08:45 +0000)]
Document the "jump" command in pdb.__doc__, and add a version tag for "until X".
Georg Brandl [Fri, 30 Jul 2010 08:43:32 +0000 (08:43 +0000)]
Allow giving an explicit line number to "until".
Georg Brandl [Fri, 30 Jul 2010 08:29:39 +0000 (08:29 +0000)]
#
1437051 : allow "continue"/"next"/etc. in .pdbrc, also add pdb -c option to give these commands. This allows to run a script until an exception occurs.
Georg Brandl [Fri, 30 Jul 2010 07:21:26 +0000 (07:21 +0000)]
#9230: allow Pdb.checkline() to be called without a current frame, for setting breakpoints before starting debugging.
Georg Brandl [Fri, 30 Jul 2010 07:14:01 +0000 (07:14 +0000)]
#4179: In pdb, allow "list ." as a command to return to the currently debugged line.
Georg Brandl [Fri, 30 Jul 2010 07:03:39 +0000 (07:03 +0000)]
Clarification.
Mark Dickinson [Thu, 29 Jul 2010 21:41:59 +0000 (21:41 +0000)]
Issue #9422: Fix memory leak when re-initializing a struct.Struct object.
Georg Brandl [Thu, 29 Jul 2010 17:55:01 +0000 (17:55 +0000)]
#4108: the first default entry (User-agent: *) wins.
Victor Stinner [Thu, 29 Jul 2010 17:19:38 +0000 (17:19 +0000)]
#8603: Add environb to os.__all__
Georg Brandl [Thu, 29 Jul 2010 17:16:10 +0000 (17:16 +0000)]
#6630: allow customizing flags for compiling string.Template.idpattern.
Victor Stinner [Thu, 29 Jul 2010 16:26:56 +0000 (16:26 +0000)]
#9397: remove mention of dbm.bsd which does not exist anymore.
Georg Brandl [Thu, 29 Jul 2010 16:01:11 +0000 (16:01 +0000)]
#6522: add a "decorator" directive to explicitly document decorators, and use it in a few places.
Georg Brandl [Thu, 29 Jul 2010 14:49:08 +0000 (14:49 +0000)]
#9388: remove ERA_YEAR which is never defined in the source code.
Georg Brandl [Thu, 29 Jul 2010 14:46:07 +0000 (14:46 +0000)]
#9397: remove mention of dbm.bsd which does not exist anymore.
Georg Brandl [Thu, 29 Jul 2010 14:36:11 +0000 (14:36 +0000)]
Use correct directive and name.