........
r83260 | georg.brandl | 2010-07-30 09:14:01 +0200 (Fr, 30 Jul 2010) | 1 line
#4179: In pdb, allow "list ." as a command to return to the currently debugged line.
........
r83262 | georg.brandl | 2010-07-30 10:29:39 +0200 (Fr, 30 Jul 2010) | 1 line
#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.
........
r83263 | georg.brandl | 2010-07-30 10:43:32 +0200 (Fr, 30 Jul 2010) | 1 line
Allow giving an explicit line number to "until".
........
r83266 | georg.brandl | 2010-07-30 11:14:20 +0200 (Fr, 30 Jul 2010) | 1 line
#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.
........
r83270 | georg.brandl | 2010-07-30 11:54:44 +0200 (Fr, 30 Jul 2010) | 1 line
Remove redundant import.
........
r83274 | georg.brandl | 2010-07-30 13:31:03 +0200 (Fr, 30 Jul 2010) | 1 line
#3143: enable "collapsible sidebar" feature of new Sphinx version.
........
r83275 | georg.brandl | 2010-07-30 14:01:20 +0200 (Fr, 30 Jul 2010) | 1 line
#809887: improve pdb feedback for breakpoint-related actions. Also add a functional test for these commands.
........
r83283 | georg.brandl | 2010-07-30 16:16:43 +0200 (Fr, 30 Jul 2010) | 1 line
#7964 followup: add test case to ensure issue remains fixed.
........
r83284 | georg.brandl | 2010-07-30 17:01:23 +0200 (Fr, 30 Jul 2010) | 1 line
Add Breakpoint.bpformat(), which returns the info usually printed by bpprint(). Necessary for major refactoring of pdb output handling.
........
r83285 | georg.brandl | 2010-07-30 17:33:52 +0200 (Fr, 30 Jul 2010) | 1 line
pdb now has its own tests.
........
r83286 | georg.brandl | 2010-07-30 18:00:46 +0200 (Fr, 30 Jul 2010) | 7 lines
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)
........
r83287 | georg.brandl | 2010-07-30 19:04:28 +0200 (Fr, 30 Jul 2010) | 1 line
Add "longlist" and "source" commands, ideas borrowed from pdb++ by Antonio Cuni.
........
r83291 | georg.brandl | 2010-07-30 20:08:12 +0200 (Fr, 30 Jul 2010) | 1 line
Fix source finding if the given frame is a module-level frame.
........
r83292 | georg.brandl | 2010-07-30 20:15:16 +0200 (Fr, 30 Jul 2010) | 1 line
Test that "source" with nonexisting things works as expected.
........
r83293 | georg.brandl | 2010-07-30 20:46:38 +0200 (Fr, 30 Jul 2010) | 1 line
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".
........
r83308 | georg.brandl | 2010-07-31 00:20:16 +0200 (Sa, 31 Jul 2010) | 1 line
Part of #7245: when KeyboardInterrupt is raised while defining commands, restore the old commands instead of producing a traceback.
........
r83315 | georg.brandl | 2010-07-31 10:14:16 +0200 (Sa, 31 Jul 2010) | 1 line
Fix pdb test failures on the buildbots.
........
r83316 | georg.brandl | 2010-07-31 10:20:02 +0200 (Sa, 31 Jul 2010) | 1 line
Make urllib tests pass for now. Will figure out what the correct semantics should be after release.
........
r83317 | georg.brandl | 2010-07-31 10:27:46 +0200 (Sa, 31 Jul 2010) | 1 line
Update pydoc topics and adapt Topics builder to Sphinx 1.0.
........
r83318 | georg.brandl | 2010-07-31 10:56:11 +0200 (Sa, 31 Jul 2010) | 1 line
Bump versions and review NEWS file.
........
svn+ssh://svn.python.org/python/branches/py3k
........
r83259 | georg.brandl | 2010-07-30 09:03:39 +0200 (Fr, 30 Jul 2010) | 1 line
Clarification.
........
r83261 | georg.brandl | 2010-07-30 09:21:26 +0200 (Fr, 30 Jul 2010) | 1 line
#9230: allow Pdb.checkline() to be called without a current frame, for setting breakpoints before starting debugging.
........
r83264 | georg.brandl | 2010-07-30 10:45:26 +0200 (Fr, 30 Jul 2010) | 1 line
Document the "jump" command in pdb.__doc__, and add a version tag for "until X".
........
r83265 | georg.brandl | 2010-07-30 10:54:49 +0200 (Fr, 30 Jul 2010) | 1 line
#8015: fix crash when entering an empty line for breakpoint commands. Also restore environment properly when an exception occurs during the definition of commands.
........
r83268 | georg.brandl | 2010-07-30 11:23:23 +0200 (Fr, 30 Jul 2010) | 2 lines
Issue #8048: Prevent doctests from failing when sys.displayhook has
been reassigned.
........
r83269 | georg.brandl | 2010-07-30 11:43:00 +0200 (Fr, 30 Jul 2010) | 1 line
#6719: In pdb, do not stop somewhere in the encodings machinery if the source file to be debugged is in a non-builtin encoding.
........
r83271 | georg.brandl | 2010-07-30 11:59:28 +0200 (Fr, 30 Jul 2010) | 1 line
#5727: Restore the ability to use readline when calling into pdb in doctests.
........
r83272 | georg.brandl | 2010-07-30 12:29:19 +0200 (Fr, 30 Jul 2010) | 1 line
#5294: Fix the behavior of pdb "continue" command when called in the top-level debugged frame.
........
r83281 | georg.brandl | 2010-07-30 15:36:43 +0200 (Fr, 30 Jul 2010) | 1 line
Add myself for pdb.
........
........
r83320 | georg.brandl | 2010-07-31 11:01:16 +0200 (Sa, 31 Jul 2010) | 1 line
Update copyright years and add releases to release list. Also update Sphinx version number.
........
r83321 | georg.brandl | 2010-07-31 11:03:30 +0200 (Sa, 31 Jul 2010) | 1 line
At least give IDLE 3.1 a release date. No further entries there for 3.2 though.
........
r83322 | tarek.ziade | 2010-07-31 11:10:51 +0200 (Sa, 31 Jul 2010) | 1 line
reverted distutils doc to its 3.1 state
........
r83323 | georg.brandl | 2010-07-31 11:15:10 +0200 (Sa, 31 Jul 2010) | 1 line
After distutils doc reversal, change back **bold todo** items to XXX comments.
........
r83326 | georg.brandl | 2010-07-31 12:08:09 +0200 (Sa, 31 Jul 2010) | 1 line
Avoid triggering DeprecationWarnings in test_smtpd and smtpd.
........
r83327 | raymond.hettinger | 2010-07-31 12:11:39 +0200 (Sa, 31 Jul 2010) | 1 line
Add functools.lfu_cache() and functools.lru_cache().
........
r83329 | georg.brandl | 2010-07-31 12:16:21 +0200 (Sa, 31 Jul 2010) | 1 line
Revert r83327. This will have to wait until after the alpha1 release.
........
r83339 | georg.brandl | 2010-07-31 13:00:47 +0200 (Sa, 31 Jul 2010) | 1 line
Rewrap.
........
r83342 | georg.brandl | 2010-07-31 13:52:46 +0200 (Sa, 31 Jul 2010) | 1 line
Import test_pdb with its full name, so that running python -m test.test_pdb succeeds.
........
r83343 | georg.brandl | 2010-07-31 14:06:51 +0200 (Sa, 31 Jul 2010) | 1 line
From Martin: New UUIDs for the 3.2 release series.
........
r83348 | georg.brandl | 2010-07-31 20:05:35 +0200 (Sa, 31 Jul 2010) | 1 line
Post-release updates.
........
r83349 | antoine.pitrou | 2010-07-31 20:08:33 +0200 (Sa, 31 Jul 2010) | 3 lines
Add ssl changes to the 3.2 "what's new".
........
r83350 | georg.brandl | 2010-07-31 20:09:23 +0200 (Sa, 31 Jul 2010) | 1 line
Re-commit r83327 now that the release is done.
........
r83351 | georg.brandl | 2010-07-31 20:09:46 +0200 (Sa, 31 Jul 2010) | 1 line
Move news item to the correct position.
........
r83359 | georg.brandl | 2010-07-31 22:08:15 +0200 (Sa, 31 Jul 2010) | 1 line
#1286: allow using fileinput.FileInput as context manager.
........
r83360 | georg.brandl | 2010-07-31 22:13:44 +0200 (Sa, 31 Jul 2010) | 1 line
Clarify comment in comments test case explaining comment semantics.
........
r83361 | georg.brandl | 2010-07-31 23:04:00 +0200 (Sa, 31 Jul 2010) | 1 line
#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.
........
r83375 | antoine.pitrou | 2010-08-01 00:48:02 +0200 (So, 01 Aug 2010) | 3 lines
Reorder entries by module lexicographic order
........
r83394 | georg.brandl | 2010-08-01 10:46:24 +0200 (So, 01 Aug 2010) | 1 line
No need to split this, there are enough long lines.
........
r83399 | georg.brandl | 2010-08-01 11:17:53 +0200 (So, 01 Aug 2010) | 1 line
Package some new files that are needed for running the test suite from the MSI package.
........
r83406 | georg.brandl | 2010-08-01 16:50:00 +0200 (So, 01 Aug 2010) | 1 line
#8046: add context manager protocol support to mmap objects. Also add closed property.
........
svn+ssh://svn.python.org/python/branches/py3k
........
r83325 | georg.brandl | 2010-07-31 11:37:03 +0200 (Sa, 31 Jul 2010) | 1 line
Copy Sun-specific inclusion of <alloca.h> from 2.7 maint to trunk; it seems to not have been merged to py3k.
........
r83328 | raymond.hettinger | 2010-07-31 12:14:41 +0200 (Sa, 31 Jul 2010) | 1 line
Document how to change OrderedDict update order from first to last.
........
r83341 | georg.brandl | 2010-07-31 13:40:07 +0200 (Sa, 31 Jul 2010) | 1 line
#9430: document timedelta str() and repr().
........
svn+ssh://svn.python.org/python/branches/py3k
........
r83370 | georg.brandl | 2010-07-31 23:51:48 +0200 (Sa, 31 Jul 2010) | 5 lines
#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.
........
r83372 | georg.brandl | 2010-08-01 00:05:54 +0200 (So, 01 Aug 2010) | 1 line
#4007: remove *.a and *.so.X.Y files in "make clean".
........
r83373 | georg.brandl | 2010-08-01 00:11:11 +0200 (So, 01 Aug 2010) | 1 line
#5147: revert accidental indentation of header constant for MozillaCookieJar.
........
r83374 | georg.brandl | 2010-08-01 00:32:52 +0200 (So, 01 Aug 2010) | 1 line
#5146: handle UID THREAD command correctly.
........
r83384 | georg.brandl | 2010-08-01 08:32:55 +0200 (So, 01 Aug 2010) | 1 line
Build properties using lambdas. This makes test_pyclbr pass again, because it does not think that input and output are methods anymore.
........
svn+ssh://svn.python.org/python/branches/py3k
........
r83371 | georg.brandl | 2010-07-31 23:54:24 +0200 (Sa, 31 Jul 2010) | 1 line
#8292: Fix three instances of truth tests on return values of filter() (which is always true in Python 3).
........
r83390 | georg.brandl | 2010-08-01 10:07:49 +0200 (So, 01 Aug 2010) | 1 line
#8230: make Lib/test/sortperf.py run on Python 3.
........
svn+ssh://svn.python.org/python/branches/py3k
........
r83385 | georg.brandl | 2010-08-01 08:42:45 +0200 (So, 01 Aug 2010) | 1 line
#8773: mailbox.py does not need to be executable.
........
r83386 | georg.brandl | 2010-08-01 08:44:46 +0200 (So, 01 Aug 2010) | 1 line
#8768: name test method properly so that it gets executed.
........
r83387 | georg.brandl | 2010-08-01 08:53:28 +0200 (So, 01 Aug 2010) | 1 line
#8735: better explain semantics of *values* argument for parse().
........
r83388 | georg.brandl | 2010-08-01 09:48:43 +0200 (So, 01 Aug 2010) | 1 line
#7395: fix traceback in do_add() when no stats are loaded. Apply same fix for do_sort() and do_reverse().
........
r83389 | georg.brandl | 2010-08-01 09:57:47 +0200 (So, 01 Aug 2010) | 1 line
Small improvements to pstats browser: do not crash on reading invalid file, and actually do a reload when executing "read" as intended.
........
r83391 | georg.brandl | 2010-08-01 10:10:08 +0200 (So, 01 Aug 2010) | 1 line
Add another news entry.
........
svn+ssh://svn.python.org/python/branches/py3k
........
r83395 | georg.brandl | 2010-08-01 10:49:18 +0200 (So, 01 Aug 2010) | 1 line
#8821: do not rely on Unicode strings being terminated with a \u0000, rather explicitly check range before looking for a second surrogate character.
........
r83417 | georg.brandl | 2010-08-01 20:38:26 +0200 (So, 01 Aug 2010) | 1 line
#5776: fix mistakes in python specfile. (Nobody probably uses it anyway.)
........
svn+ssh://svn.python.org/python/branches/py3k
........
r83393 | georg.brandl | 2010-08-01 10:35:29 +0200 (So, 01 Aug 2010) | 1 line
#1690103: fix initial namespace for code run with trace.main().
........
r83396 | georg.brandl | 2010-08-01 10:52:32 +0200 (So, 01 Aug 2010) | 1 line
#4810: document "--" option separator in timeit help.
........
r83398 | georg.brandl | 2010-08-01 11:06:34 +0200 (So, 01 Aug 2010) | 1 line
#8826: the "expires" attribute value is a date string with spaces, but apparently not all user-agents put it in quotes. Handle that as a special case.
........
r83404 | georg.brandl | 2010-08-01 16:25:22 +0200 (So, 01 Aug 2010) | 1 line
#6439: fix argument type for PySys_SetArgvEx() and Py_SetProgramName() in Demo/embed code.
........
r83405 | georg.brandl | 2010-08-01 16:38:17 +0200 (So, 01 Aug 2010) | 1 line
#4943: do not try to include drive letters (and colons) when looking for a probably module name.
........
r83408 | georg.brandl | 2010-08-01 17:30:56 +0200 (So, 01 Aug 2010) | 1 line
#5551: symbolic links never can be mount points. Fixes the fix for #1713.
........
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83411 | antoine.pitrou | 2010-08-01 18:53:42 +0200 (dim., 01 août 2010) | 4 lines
Issue #9448: Fix a leak of OS resources (mutexes or semaphores) when
re-initializing a buffered IO object by calling its `__init__` method.
........
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83400 | mark.dickinson | 2010-08-01 11:41:49 +0100 (Sun, 01 Aug 2010) | 7 lines
Issue #9416: Fix some issues with complex formatting where the
output with no type specifier failed to match the str output:
- format(complex(-0.0, 2.0), '-') omitted the real part from the output,
- format(complex(0.0, 2.0), '-') included a sign and parentheses.
........
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83380 | r.david.murray | 2010-07-31 23:31:09 -0400 (Sat, 31 Jul 2010) | 17 lines
#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.
........
........
r83183 | ezio.melotti | 2010-07-28 01:03:33 +0300 (Wed, 28 Jul 2010) | 1 line
Use proper skips and assert* methods in test_asyncore.
........
r83186 | ezio.melotti | 2010-07-28 01:24:13 +0300 (Wed, 28 Jul 2010) | 1 line
With skipUnless there is no need to add test classes conditionally.
........
........
r83188 | alexander.belopolsky | 2010-07-27 19:02:38 -0400 (Tue, 27 Jul 2010) | 3 lines
Issue #9378: python -m pickle <pickle file> will now load and display
the first object in the pickle file.
........
........
r83157 | alexander.belopolsky | 2010-07-25 22:36:41 -0400 (Sun, 25 Jul 2010) | 1 line
Make python version of fromtimestamp behave more like C.
........
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83140 | alexander.belopolsky | 2010-07-25 11:02:55 -0400 (Sun, 25 Jul 2010) | 5 lines
Issue #9315: Renamed test_trace to test_sys_settrace and
test_profilehooks to test_sys_setprofile so that test_trace can be
used for testing the trace module and for naming consistency.
........
r83141 | alexander.belopolsky | 2010-07-25 11:05:42 -0400 (Sun, 25 Jul 2010) | 1 line
Corrected comments on where settrace and setprofile are tested.
........
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r82985 | gregory.p.smith | 2010-07-19 16:17:22 -0700 (Mon, 19 Jul 2010) | 3 lines
Fixes Issue #3704: http.cookiejar was not properly handling URLs with a / in
the parameters. (This is jjlee's issue3704.patch ported to py3k)
........
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83140 | alexander.belopolsky | 2010-07-25 11:02:55 -0400 (Sun, 25 Jul 2010) | 5 lines
Issue #9315: Renamed test_trace to test_sys_settrace and
test_profilehooks to test_sys_setprofile so that test_trace can be
used for testing the trace module and for naming consistency.
........
r83141 | alexander.belopolsky | 2010-07-25 11:05:42 -0400 (Sun, 25 Jul 2010) | 1 line
Corrected comments on where settrace and setprofile are tested.
........
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83133 | ronald.oussoren | 2010-07-24 15:15:19 +0100 (Sat, 24 Jul 2010) | 5 lines
Fix for issue 9367: the test code for os.getgroups
assumes that the result of getgroups and the output
of the id(1) command return groups in the same
order. That assumption is both fragile and false.
........
........
r83120 | victor.stinner | 2010-07-24 04:24:55 +0200 (sam., 24 juil. 2010) | 12 lines
#9032: XML-RPC client: Transport.request() retries on EPIPE error
The EPIPE error occurs when the server closes the socket and the client sends a
"big" XML-RPC request (I don't know exactly the size threshold).
request() just have to ignore the error because single_request() closes the
socket on error, and so the next call to single_request() will open a new
socket.
Remove also a comment in the HTTP client because it's now wrong: see r70643
and issue #5542.
........
In Python 3.1, Transport.request() doesn't retry on socket error.
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83116 | victor.stinner | 2010-07-24 02:49:20 +0200 (sam., 24 juil. 2010) | 4 lines
Issue #4629: getopt raises an error if an argument ends with = whereas getopt
doesn't except a value (eg. --help= is rejected if getopt uses ['help='] long
options).
........
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83096 | ronald.oussoren | 2010-07-23 17:05:35 +0100 (Fri, 23 Jul 2010) | 13 lines
Ensure that sys.prefix can reliably be found
on OSX. This fixes a small issue that was exposed
by running test_subprocess through regrtest (and
hence in a subdirectory).
Without this patch running python.exe from the
build tree will fail when these tree conditions
are true:
1) the CWD is not the root of build tree
2) python.exe is found through $PATH
3) the framework is not yet installed
........
with the fact that getgroups(2) might return
more that MAX_GROUPS on OSX.
See the issue (and python-dev archives) for the
gory details. Summarized: OSX behaves rather oddly
and Apple says this is intentional.
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83075 | ronald.oussoren | 2010-07-23 12:54:59 +0100 (Fri, 23 Jul 2010) | 5 lines
Fix for issue 7895. Avoid crashing the interpreter
when calling platform.mac_ver after calling os.fork by
reading from a system configuration file instead of
using OSX APIs.
........
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83080 | brett.cannon | 2010-07-23 13:26:35 +0100 (Fri, 23 Jul 2010) | 5 lines
Clarify the wording for threading.is_alive() to not suggest something is
"roughly" done.
Closes issue 9339. Thanks Brian Brazil for the patch.
........
........
r83072 | brett.cannon | 2010-07-23 12:31:31 +0100 (Fri, 23 Jul 2010) | 5 lines
Document the fact that the 'test' package is meant only for use by Python
itself and not by others.
Closes issue 9255.
........
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83073 | ronald.oussoren | 2010-07-23 12:48:36 +0100 (Fri, 23 Jul 2010) | 4 lines
Minor tweak of test_osx_env to
avoid failing when the framework is not
yet installed.
........
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83067 | ronald.oussoren | 2010-07-23 10:50:05 +0100 (Fri, 23 Jul 2010) | 8 lines
Workaround for issue 4047: in some configurations of
the Crash Reporter on OSX test_subprocess will trigger
the reporter.
This patch prints a warning when the Crash Reporter will
get triggered intentionally, which should avoid confusing
people.
........
........
r83053 | tarek.ziade | 2010-07-22 14:50:05 +0200 (jeu., 22 juil. 2010) | 1 line
reverted distutils its 3.1 state. All new work is now happening in disutils2, and distutils is now feature-frozen.
........
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83035 | alexander.belopolsky | 2010-07-21 13:43:42 -0400 (Wed, 21 Jul 2010) | 3 lines
Issue #9323: Fixed a bug in trace.py that resulted in loosing the name
of the script being traced. Patch by Eli Bendersky.
........
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83030 | antoine.pitrou | 2010-07-21 18:41:31 +0200 (mer., 21 juil. 2010) | 5 lines
Issue #5395: check that array.fromfile() re-raises an IOError instead of replacing it
with EOFError.
(this is only an added test, but 2.x will get a fix too)
........
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83025 | antoine.pitrou | 2010-07-21 17:54:48 +0200 (mer., 21 juil. 2010) | 3 lines
Remove outdated mention of deprecated functions in the string module - they have been removed in 3.x.
........
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83016 | doug.hellmann | 2010-07-21 08:29:04 -0400 (Wed, 21 Jul 2010) | 1 line
Apply patch from Ray Allen for issue 9296
........