Georg Brandl
ec5ae3b9f5
Fix bad merge: test_support -> support.
2010-07-31 19:17:11 +00:00
Georg Brandl
38005e8156
#9440 : Remove borderline test case that fails based on unpredictable conditions such as compiler flags.
2010-07-31 18:11:07 +00:00
Georg Brandl
2e7346acc9
Re-commit r83327 now that the release is done.
2010-07-31 18:09:23 +00:00
Georg Brandl
a8fbc6a521
Import test_pdb with its full name, so that running python -m test.test_pdb succeeds.
2010-07-31 11:52:46 +00:00
Victor Stinner
d5baeee66b
Issue #8966 : Fix ctypes tests for Windows
...
I removed the implicit conversion from str to bytes.
2010-07-31 10:52:56 +00:00
Georg Brandl
014e0ca58e
Revert r83327. This will have to wait until after the alpha1 release.
2010-07-31 10:16:21 +00:00
Raymond Hettinger
9e46ef819c
Add functools.lfu_cache() and functools.lru_cache().
2010-07-31 10:11:39 +00:00
Georg Brandl
17e3d698b5
Avoid triggering DeprecationWarnings in test_smtpd and smtpd.
2010-07-31 10:08:09 +00:00
Georg Brandl
b00a75f175
At least give IDLE 3.1 a release date. No further entries there for 3.2 though.
2010-07-31 09:03:30 +00:00
Florent Xicluna
c049fca0da
Fix an oversight in r83294. unquote() should reject bytes. Issue #9301 .
2010-07-31 08:56:55 +00:00
Georg Brandl
62069d3ce7
Bump versions and review NEWS file.
2010-07-31 08:56:11 +00:00
Georg Brandl
80ff2adf88
Update pydoc topics and adapt Topics builder to Sphinx 1.0.
2010-07-31 08:27:46 +00:00
Georg Brandl
604ef370b3
Make urllib tests pass for now. Will figure out what the correct semantics should be after release.
2010-07-31 08:20:02 +00:00
Georg Brandl
e1e8df1082
Fix pdb test failures on the buildbots.
2010-07-31 08:14:16 +00:00
Raymond Hettinger
51b401bbe1
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.
2010-07-31 07:12:50 +00:00
Georg Brandl
b90ffd88f1
Part of #7245 : when KeyboardInterrupt is raised while defining commands, restore the old commands instead of producing a traceback.
2010-07-30 22:20:16 +00:00
Senthil Kumaran
d496c4c936
Fix issue9301 - handle unquote({}) kind of case.
2010-07-30 19:34:36 +00:00
Georg Brandl
0a9c3e91dc
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".
2010-07-30 18:46:38 +00:00
Georg Brandl
cdf66a9a7c
Test that "source" with nonexisting things works as expected.
2010-07-30 18:15:16 +00:00
Georg Brandl
5ed2b5a92a
Fix source finding if the given frame is a module-level frame.
2010-07-30 18:08:12 +00:00
Georg Brandl
e59ca2afe3
Add "longlist" and "source" commands, ideas borrowed from pdb++ by Antonio Cuni.
2010-07-30 17:04:28 +00:00
Georg Brandl
0d08962659
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 )
2010-07-30 16:00:46 +00:00
Georg Brandl
9d624d26d1
pdb now has its own tests.
2010-07-30 15:33:52 +00:00
Georg Brandl
d2fd4cae8e
Add Breakpoint.bpformat(), which returns the info usually printed by bpprint(). Necessary for major refactoring of pdb output handling.
2010-07-30 15:01:23 +00:00
Georg Brandl
6cccb865d1
#7964 followup: add test case to ensure issue remains fixed.
2010-07-30 14:16:43 +00:00
Georg Brandl
7410dd11ef
#809887 : improve pdb feedback for breakpoint-related actions. Also add a functional test for these commands.
2010-07-30 12:01:20 +00:00
Georg Brandl
3f94089a77
#5294 : Fix the behavior of pdb "continue" command when called in the top-level debugged frame.
2010-07-30 10:29:19 +00:00
Georg Brandl
d72e043bdd
#5727 : Restore the ability to use readline when calling into pdb in doctests.
2010-07-30 09:59:28 +00:00
Georg Brandl
06535ee56d
Remove redundant import.
2010-07-30 09:54:44 +00:00
Georg Brandl
34cc0f53be
#6719 : In pdb, do not stop somewhere in the encodings machinery if the source file to be debugged is in a non-builtin encoding.
2010-07-30 09:43:00 +00:00
Georg Brandl
25fbb891d8
Issue #8048 : Prevent doctests from failing when sys.displayhook has
...
been reassigned.
2010-07-30 09:23:23 +00:00
Georg Brandl
46b9afc862
#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.
2010-07-30 09:14:20 +00:00
Georg Brandl
44f8bf9411
#8015 : fix crash when entering an empty line for breakpoint commands. Also restore environment properly when an exception occurs during the definition of commands.
2010-07-30 08:54:49 +00:00
Georg Brandl
26a0f87e28
Document the "jump" command in pdb.__doc__, and add a version tag for "until X".
2010-07-30 08:45:26 +00:00
Georg Brandl
2dfec552fe
Allow giving an explicit line number to "until".
2010-07-30 08:43:32 +00:00
Georg Brandl
e023091815
#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.
2010-07-30 08:29:39 +00:00
Georg Brandl
1e30bd3753
#9230 : allow Pdb.checkline() to be called without a current frame, for setting breakpoints before starting debugging.
2010-07-30 07:21:26 +00:00
Georg Brandl
a91a94b7c0
#4179 : In pdb, allow "list ." as a command to return to the currently debugged line.
2010-07-30 07:14:01 +00:00
Georg Brandl
0a0fc07d37
#4108 : the first default entry (User-agent: *) wins.
2010-07-29 17:55:01 +00:00
Victor Stinner
70120e202d
#8603 : Add environb to os.__all__
2010-07-29 17:19:38 +00:00
Georg Brandl
056cb93e7a
#6630 : allow customizing flags for compiling string.Template.idpattern.
2010-07-29 17:16:10 +00:00
Victor Stinner
1cec3e367c
#9397 : remove mention of dbm.bsd which does not exist anymore.
2010-07-29 16:26:56 +00:00
Georg Brandl
470a123910
#1090076 : explain the behavior of *vars* in get() better.
2010-07-29 14:17:12 +00:00
Georg Brandl
6d23c44ee5
Fix #9412 : make list of messages an instance attribute instead of class attribute.
2010-07-29 13:19:42 +00:00
Georg Brandl
8dcaa7396f
#9411 : allow selecting an encoding for configparser files. Also adds a new test config file to test special cases.
2010-07-29 12:17:40 +00:00
Georg Brandl
f206d0e393
Fix for r83202: improve the handling of empty lines.
2010-07-29 11:56:20 +00:00
Victor Stinner
96f0de9004
Update test_os.py according to my last changes on _Environ.__repr__()
2010-07-29 00:29:00 +00:00
Victor Stinner
bed7117fda
Issue #9283 : Oops, add missing { and } to repr(os.environ)
2010-07-28 21:25:42 +00:00
Victor Stinner
d73c1a3009
#9283 : Fix repr(os.environ), display unicode keys and values on POSIX systems
2010-07-28 21:23:23 +00:00
Georg Brandl
aa5b33311a
Add missing file.
2010-07-28 17:37:27 +00:00