................
r83267 | georg.brandl | 2010-07-30 11:18:49 +0200 (Fr, 30 Jul 2010) | 1 line
#7539: use _saferepr() for printing exceptions from pdb.
................
r83282 | georg.brandl | 2010-07-30 16:14:42 +0200 (Fr, 30 Jul 2010) | 1 line
Revert r83267, as it breaks a few doctests and generally leads to ugly truncated output.
................
r83418 | georg.brandl | 2010-08-01 20:41:59 +0200 (So, 01 Aug 2010) | 9 lines
Merged revisions 83395 via svnmerge from
svn+ssh://pythondev@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.
........
................
r83419 | georg.brandl | 2010-08-01 20:43:29 +0200 (So, 01 Aug 2010) | 9 lines
Merged revisions 83417 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
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.)
........
................
r83434 | georg.brandl | 2010-08-01 21:23:23 +0200 (So, 01 Aug 2010) | 108 lines
Blocked revisions 83320-83323,83325-83327,83329,83339,83342-83343,83348-83351,83355,83359-83361,83371,83375,83390,83394,83399,83404,83406 via svnmerge
........
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.
........
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.
........
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.
........
r83355 | georg.brandl | 2010-07-31 21:17:11 +0200 (Sa, 31 Jul 2010) | 1 line
Fix bad merge: test_support -> support.
........
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.
........
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).
........
r83375 | antoine.pitrou | 2010-08-01 00:48:02 +0200 (So, 01 Aug 2010) | 3 lines
Reorder entries by module lexicographic order
........
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.
........
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.
........
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.
........
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.
........
................
r83439 | georg.brandl | 2010-08-01 21:36:43 +0200 (So, 01 Aug 2010) | 89 lines
Blocked revisions 83260,83262-83263,83266,83270,83274-83275,83283-83287,83291-83293,83308,83315-83318 via svnmerge
........
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.
........
................
r83446 | georg.brandl | 2010-08-01 22:54:30 +0200 (So, 01 Aug 2010) | 9 lines
Recorded merge of revisions 83444 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83444 | georg.brandl | 2010-08-01 22:51:02 +0200 (So, 01 Aug 2010) | 1 line
Revert r83395, it introduces test failures and is not necessary anyway since we now have to nul-terminate the string anyway.
........
................
r83450 | georg.brandl | 2010-08-01 23:00:43 +0200 (So, 01 Aug 2010) | 12 lines
Blocked revisions 83231,83236 via svnmerge
........
r83231 | georg.brandl | 2010-07-29 16:46:07 +0200 (Do, 29 Jul 2010) | 1 line
#9397: remove mention of dbm.bsd which does not exist anymore.
........
r83236 | georg.brandl | 2010-07-29 19:16:10 +0200 (Do, 29 Jul 2010) | 1 line
#6630: allow customizing flags for compiling string.Template.idpattern.
........
................
r83459 | georg.brandl | 2010-08-01 23:12:00 +0200 (So, 01 Aug 2010) | 32 lines
Blocked revisions 83202,83213,83217-83220,83222 via svnmerge
........
r83202 | georg.brandl | 2010-07-28 15:13:46 +0200 (Mi, 28 Jul 2010) | 1 line
#1682942: add some ConfigParser features: alternate delimiters, alternate comments, empty lines in values. Also enhance the docs with more examples and mention SafeConfigParser before ConfigParser. Patch by Lukas Langa, review by myself, Eric and Ezio.
........
r83213 | georg.brandl | 2010-07-28 19:37:27 +0200 (Mi, 28 Jul 2010) | 1 line
Add missing file.
........
r83217 | georg.brandl | 2010-07-29 13:15:36 +0200 (Do, 29 Jul 2010) | 1 line
Remove Python 1.5 compatibility note.
........
r83218 | georg.brandl | 2010-07-29 13:49:05 +0200 (Do, 29 Jul 2010) | 1 line
#6538: fix regex documentation again -- use fictional class names "regex" and "match" but do not document them as classes, remove 1.5 compat info and use new default argument syntax where possible.
........
r83219 | georg.brandl | 2010-07-29 13:56:20 +0200 (Do, 29 Jul 2010) | 1 line
Fix for r83202: improve the handling of empty lines.
........
r83220 | georg.brandl | 2010-07-29 14:17:40 +0200 (Do, 29 Jul 2010) | 1 line
#9411: allow selecting an encoding for configparser files. Also adds a new test config file to test special cases.
........
r83222 | georg.brandl | 2010-07-29 15:19:42 +0200 (Do, 29 Jul 2010) | 1 line
Fix#9412: make list of messages an instance attribute instead of class attribute.
........
................
r83462 | georg.brandl | 2010-08-01 23:19:50 +0200 (So, 01 Aug 2010) | 8 lines
Blocked revisions 83181 via svnmerge
........
r83181 | georg.brandl | 2010-07-27 20:19:21 +0200 (Di, 27 Jul 2010) | 1 line
Update Sphinx to 1.0.1.
........
................
r83469 | georg.brandl | 2010-08-01 23:24:49 +0200 (So, 01 Aug 2010) | 8 lines
Blocked revisions 83107 via svnmerge
........
r83107 | georg.brandl | 2010-07-23 18:55:42 +0200 (Fr, 23 Jul 2010) | 1 line
Update to 1.0.
........
................
r83473 | georg.brandl | 2010-08-01 23:27:58 +0200 (So, 01 Aug 2010) | 8 lines
Blocked revisions 83065 via svnmerge
........
r83065 | georg.brandl | 2010-07-23 10:46:35 +0200 (Fr, 23 Jul 2010) | 1 line
Use augassign.
........
................
r83477 | georg.brandl | 2010-08-01 23:29:37 +0200 (So, 01 Aug 2010) | 12 lines
Blocked revisions 82949,82964 via svnmerge
........
r82949 | georg.brandl | 2010-07-18 12:11:03 +0200 (So, 18 Jul 2010) | 1 line
#9279: remove the pdb.doc file, put its contents in pdb.__doc__. Also sync this and the pdb docs, introduce a new directive for pdb commands and a role to link to them.
........
r82964 | georg.brandl | 2010-07-19 10:02:46 +0200 (Mo, 19 Jul 2010) | 1 line
pydoc.pager does not promise to use $PAGER.
........
................
r83482 | georg.brandl | 2010-08-01 23:34:07 +0200 (So, 01 Aug 2010) | 12 lines
Blocked revisions 82848,82951 via svnmerge
........
r82848 | georg.brandl | 2010-07-13 08:38:10 +0200 (Di, 13 Jul 2010) | 1 line
Add bytes in literal_eval doc.
........
r82951 | georg.brandl | 2010-07-18 15:43:32 +0200 (So, 18 Jul 2010) | 1 line
#9110: update to ContextDecorator doc.
........
................
r83483 | mark.dickinson | 2010-08-01 23:36:26 +0200 (So, 01 Aug 2010) | 9 lines
Merged revisions 83479 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83479 | mark.dickinson | 2010-08-01 22:33:01 +0100 (Sun, 01 Aug 2010) | 1 line
Don't delete Lib/test/data/README when doing 'make distclean'
........
................
svn+ssh://pythondev@svn.python.org/python/branches/release27-maint
................
r83381 | r.david.murray | 2010-08-01 00:04:03 -0400 (Sun, 01 Aug 2010) | 23 lines
Merged revisions 83380 via svnmerge from
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.
........
................
svn+ssh://pythondev@svn.python.org/python/trunk
Only the try/except was backported; owner and group were added in 2.7,
as was the test file.
........
r75659 | tarek.ziade | 2009-10-24 09:29:44 -0400 (Sat, 24 Oct 2009) | 1 line
#7066 - Fixed distutils.archive_util.make_archive behavior so it restores the cwd
........
svn+ssh://pythondev@svn.python.org/python/branches/release27-maint
................
r83135 | ronald.oussoren | 2010-07-24 15:21:29 +0100 (Sat, 24 Jul 2010) | 12 lines
Merged revisions 83133 via svnmerge from
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.
........
................
svn+ssh://pythondev@svn.python.org/python/branches/release27-maint
................
r83098 | ronald.oussoren | 2010-07-23 17:12:28 +0100 (Fri, 23 Jul 2010) | 19 lines
Merged revisions 83096 via svnmerge from
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
........
................
svn+ssh://pythondev@svn.python.org/python/branches/release27-maint
................
r83124 | ronald.oussoren | 2010-07-24 10:46:41 +0100 (Sat, 24 Jul 2010) | 15 lines
Merged revisions 83088 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83088 | ronald.oussoren | 2010-07-23 14:53:51 +0100 (Fri, 23 Jul 2010) | 8 lines
This fixes issue7900 by adding code that deals
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/release27-maint
................
r83079 | ronald.oussoren | 2010-07-23 13:26:30 +0100 (Fri, 23 Jul 2010) | 15 lines
Merged revisions 83067 via svnmerge from
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.
........
................
svn+ssh://pythondev@svn.python.org/python/branches/release27-maint
................
r83031 | antoine.pitrou | 2010-07-21 18:47:28 +0200 (mer., 21 juil. 2010) | 11 lines
Merged revisions 83030 via svnmerge from
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/release27-maint
........
r82969 | stefan.krah | 2010-07-19 15:14:01 +0200 (Mon, 19 Jul 2010) | 14 lines
Issue #9036: Throughout the code base, Py_CHARMASK is used on 8-bit wide
signed/unsigned chars or on integers directly derived from those. In all
cases, it could be replaced by a simple cast to (unsigned char). Reasons
for the change:
a) Make the comment more explicit.
b) If char is unsigned, the cast is optimized away.
c) If char is unsigned, gcc emits spurious "array subscript
has type 'char'" warnings.
........
svn+ssh://pythondev@svn.python.org/python/branches/release27-maint
........
r82929 | stefan.krah | 2010-07-17 14:21:08 +0200 (Sat, 17 Jul 2010) | 4 lines
Issue #7384: On Gentoo, libreadline.so is a "fake library", so ldd fails.
In that case, do not attempt to parse stderr output.
........
svn+ssh://pythondev@svn.python.org/python/branches/release27-maint
........
r82791 | ronald.oussoren | 2010-07-11 10:52:52 +0200 (Sun, 11 Jul 2010) | 4 lines
Fix for issue #9164: with this patch sysconfig and distuls don't break
when duplicate '-arch foo' flags end up in CFLAGS (which may happen when
building a universal build using macports)
........
svn+ssh://pythondev@svn.python.org/python/branches/release27-maint
................
r82769 | r.david.murray | 2010-07-10 10:06:51 -0400 (Sat, 10 Jul 2010) | 15 lines
Merged revisions 82766 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
Since 'purge' is an API change, modified it to be _purge for 2.x
and deleted the doc update.
........
r82766 | r.david.murray | 2010-07-10 09:52:13 -0400 (Sat, 10 Jul 2010) | 5 lines
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.
........
................
RuntimeError produced when profiling the decimal module. This was
due to a dangerous iteration over 'locals()' in Context.__init__.
(Backport of r82656 from release27-maint.)