Georg Brandl [Fri, 25 Feb 2011 10:28:57 +0000 (10:28 +0000)]
Blocked revisions 86869-86870,86934,86943,86954-86955,86957-86959,86961,86963,87013,87019-87022,87024-87025,87045,87047-87048,87051,87060,87062-87064,87082-87083,87086,87088,87102,87147-87148,87161,87364-87366,87394-87398,87400,87525,87549,87579-87580,87583-87588,87593,87603-87604,87657,87761,87788,87983,88026,88028,88032-88033,88035,88041-88042,88048,88166,88261,88263-88266,88276,88330,88366,88411-88413,88420,88443-88445,88447-88449,88451,88463,88523-88524 via svnmerge
........
r86869 | georg.brandl | 2010-11-29 21:12:24 +0100 (Mo, 29 Nov 2010) | 1 line
Code style cleanup in bdb.
........
r86870 | georg.brandl | 2010-11-29 21:19:15 +0100 (Mo, 29 Nov 2010) | 1 line
Use booleans where applicable.
........
r86934 | georg.brandl | 2010-12-02 19:06:51 +0100 (Do, 02 Dez 2010) | 1 line
#7475: add (un)transform method to bytes/bytearray and str, add back codecs that can be used with them from Python 2.
........
r86943 | georg.brandl | 2010-12-02 23:35:25 +0100 (Do, 02 Dez 2010) | 1 line
Move entries from "core" section to where they belong.
........
r86955 | georg.brandl | 2010-12-03 08:38:22 +0100 (Fr, 03 Dez 2010) | 1 line
#1745035: add limits for command and data size to smtpd; patch by Savio Sena.
........
r86957 | georg.brandl | 2010-12-03 08:47:22 +0100 (Fr, 03 Dez 2010) | 1 line
Use booleans.
........
r86959 | georg.brandl | 2010-12-03 08:54:09 +0100 (Fr, 03 Dez 2010) | 1 line
Remove redundant check for PyBytes in unicode_encode.
........
r86961 | georg.brandl | 2010-12-03 10:18:37 +0100 (Fr, 03 Dez 2010) | 1 line
Rewrap NEWS (Builbot test commit.)
........
r86963 | georg.brandl | 2010-12-03 10:45:33 +0100 (Fr, 03 Dez 2010) | 1 line
Add a line with the actual changes.
........
r87013 | georg.brandl | 2010-12-04 10:14:36 +0100 (Sa, 04 Dez 2010) | 1 line
#6045: provide at least get() and setdefault() for all dbm modules.
........
r87019 | georg.brandl | 2010-12-04 11:26:46 +0100 (Sa, 04 Dez 2010) | 1 line
Add an "optimize" parameter to compile() to control the optimization level, and provide an interface to it in py_compile, compileall and PyZipFile.
........
r87020 | georg.brandl | 2010-12-04 11:39:14 +0100 (Sa, 04 Dez 2010) | 1 line
#1513299: cleanup some map() uses where a comprehension works better.
........
r87021 | georg.brandl | 2010-12-04 11:47:18 +0100 (Sa, 04 Dez 2010) | 1 line
#1569291: speed up array.repeat() by making only O(log n) memcpy() calls; the code follows unicode_repeat.
........
r87024 | georg.brandl | 2010-12-04 12:12:43 +0100 (Sa, 04 Dez 2010) | 1 line
#7905: Actually respect the keyencoding parameter to shelve.Shelf.
........
r87025 | georg.brandl | 2010-12-04 12:20:26 +0100 (Sa, 04 Dez 2010) | 1 line
Add the "interact" pdb command from pdb++.
........
r87045 | georg.brandl | 2010-12-04 17:00:47 +0100 (Sa, 04 Dez 2010) | 1 line
#7245: Add a SIGINT handler on continue in pdb that allows to break a program again by pressing Ctrl-C.
........
r87047 | georg.brandl | 2010-12-04 17:21:42 +0100 (Sa, 04 Dez 2010) | 1 line
Use kbd role.
........
r87394 | georg.brandl | 2010-12-19 11:10:32 +0100 (So, 19 Dez 2010) | 1 line
#6075: make idle work with both Carbon AquaTk and Cocoa AquaTk. Patch by Kevin Walzer and Ned Deily.
........
r87395 | georg.brandl | 2010-12-19 11:17:46 +0100 (So, 19 Dez 2010) | 1 line
Temporarily skip test failing with newer ttk.
........
r87396 | georg.brandl | 2010-12-19 11:25:28 +0100 (So, 19 Dez 2010) | 1 line
Bump to 3.2b2.
........
r87400 | georg.brandl | 2010-12-19 13:33:52 +0100 (So, 19 Dez 2010) | 1 line
#3243 follow-up: remove debugging print and fix docs; data is a bytes object.
........
r87525 | georg.brandl | 2010-12-28 10:51:43 +0100 (Di, 28 Dez 2010) | 1 line
#10679: install idle, pydoc, 2to3 scripts with X.Y suffix for make altinstall; create symlinks for make install.
........
r87549 | georg.brandl | 2010-12-28 19:30:18 +0100 (Di, 28 Dez 2010) | 1 line
Add sys.flags.quiet attribute for the new -q option, as noted missing by Eric in #1772833.
........
r87579 | georg.brandl | 2010-12-30 18:22:33 +0100 (Do, 30 Dez 2010) | 1 line
Remove some of the old demos. (Put a few somewhere else.)
........
r87580 | georg.brandl | 2010-12-30 18:32:22 +0100 (Do, 30 Dez 2010) | 1 line
Clean up tools: remove "world" and "framer", move single SSL script to scripts/.
........
r87583 | georg.brandl | 2010-12-30 22:33:07 +0100 (Do, 30 Dez 2010) | 1 line
More cleanup: Move some demos into a dedicated Tools/demo dir, move 2to3 demo to Tools, and remove all the other Demo content.
........
r87584 | georg.brandl | 2010-12-30 22:33:49 +0100 (Do, 30 Dez 2010) | 1 line
Remove the actual Demo dir.
........
r87585 | georg.brandl | 2010-12-30 23:11:50 +0100 (Do, 30 Dez 2010) | 1 line
Harmonize docstrings. Move redemo from Tools/scripts to Tools/demo. Add a README file to Tools/demo.
........
r87586 | georg.brandl | 2010-12-30 23:12:40 +0100 (Do, 30 Dez 2010) | 1 line
Remove mentions of the Demo directory.
........
r87587 | georg.brandl | 2010-12-30 23:31:10 +0100 (Do, 30 Dez 2010) | 1 line
Add the missing __main__.py in the turtledemo package. It seems to have been lost during some mass rename action (r86095).
........
r87588 | georg.brandl | 2010-12-30 23:32:49 +0100 (Do, 30 Dez 2010) | 1 line
Update README, remove empty directory.
........
r87593 | georg.brandl | 2011-01-01 00:00:03 +0100 (Sa, 01 Jan 2011) | 1 line
Happy New Year! (CET edition)
........
r87603 | georg.brandl | 2011-01-01 11:07:30 +0100 (Sa, 01 Jan 2011) | 1 line
Fix issue references.
........
r87604 | georg.brandl | 2011-01-01 11:09:32 +0100 (Sa, 01 Jan 2011) | 1 line
#10801: In zipfile, support different encodings for the header and the filenames. Patch by MvL, test by Eli Bendersky.
........
r87657 | georg.brandl | 2011-01-02 23:33:43 +0100 (So, 02 Jan 2011) | 5 lines
#8013 follow-up:
* In asctime and ctime, properly remove the newline if the year has more than four digits
* Consistent error message for both functions
* Fix the test comments and add a check for the removed newline
........
r87761 | georg.brandl | 2011-01-05 12:00:25 +0100 (Mi, 05 Jan 2011) | 1 line
#10130: Prepare for building epub-format docs.
........
r87788 | georg.brandl | 2011-01-06 10:23:19 +0100 (Do, 06 Jan 2011) | 1 line
itertools, operator and functools are not really "numeric" modules; move them into their own "functional" chapter.
........
r87983 | georg.brandl | 2011-01-13 08:13:06 +0100 (Do, 13 Jan 2011) | 1 line
More PEP 8: no space around "=" in argument lists.
........
r88026 | georg.brandl | 2011-01-15 17:44:11 +0100 (Sa, 15 Jan 2011) | 1 line
Update pydoc topics.
........
r88028 | georg.brandl | 2011-01-15 17:45:03 +0100 (Sa, 15 Jan 2011) | 1 line
Update to 1.0.7.
........
r88032 | georg.brandl | 2011-01-15 18:03:02 +0100 (Sa, 15 Jan 2011) | 1 line
Fix a few doc errors, mostly undefined keywords.
........
r88033 | georg.brandl | 2011-01-15 18:05:20 +0100 (Sa, 15 Jan 2011) | 1 line
Fix "make suspicious" errors and update ignore file.
........
r88035 | georg.brandl | 2011-01-15 18:08:53 +0100 (Sa, 15 Jan 2011) | 1 line
Bump to 3.2rc1.
........
r88041 | georg.brandl | 2011-01-16 09:44:50 +0100 (So, 16 Jan 2011) | 1 line
Post-release updates.
........
r88042 | georg.brandl | 2011-01-16 10:11:45 +0100 (So, 16 Jan 2011) | 1 line
Fix two small issues.
........
r88048 | georg.brandl | 2011-01-16 15:17:26 +0100 (So, 16 Jan 2011) | 1 line
Rewrap and punctuation consistency.
........
r88166 | georg.brandl | 2011-01-24 20:59:08 +0100 (Mo, 24 Jan 2011) | 1 line
#10961: fix exception handling in new pydoc server code.
Patch by Ron Adam, reviewed by Eric Araujo.
........
r88263 | georg.brandl | 2011-01-30 13:19:35 +0100 (So, 30 Jan 2011) | 1 line
#10680: fix mutually exclusive arguments in argument groups.
........
r88264 | georg.brandl | 2011-01-30 15:00:32 +0100 (So, 30 Jan 2011) | 1 line
Update pydoc topics.
........
r88265 | georg.brandl | 2011-01-30 15:02:36 +0100 (So, 30 Jan 2011) | 1 line
Update suspicious ignore file.
........
r88266 | georg.brandl | 2011-01-30 15:03:33 +0100 (So, 30 Jan 2011) | 1 line
Bump version.
........
r88276 | georg.brandl | 2011-01-31 11:39:57 +0100 (Mo, 31 Jan 2011) | 1 line
Post-release updates.
........
r88330 | georg.brandl | 2011-02-03 08:46:41 +0100 (Do, 03 Feb 2011) | 1 line
Remove lots of spaces within exception message.
........
r88366 | georg.brandl | 2011-02-07 13:36:54 +0100 (Mo, 07 Feb 2011) | 2 lines
#11132: pass optimize parameter to recursive call in compileall.compile_dir(). Reviewed by Eric A.
........
r88411 | georg.brandl | 2011-02-13 10:54:12 +0100 (So, 13 Feb 2011) | 1 line
Update pydoc topics.
........
r88412 | georg.brandl | 2011-02-13 10:59:39 +0100 (So, 13 Feb 2011) | 1 line
Fix markup error and update suspicious ignores.
........
r88413 | georg.brandl | 2011-02-13 11:00:57 +0100 (So, 13 Feb 2011) | 1 line
Bump for 3.2rc3.
........
r88420 | georg.brandl | 2011-02-14 07:35:00 +0100 (Mo, 14 Feb 2011) | 1 line
Post-release updates.
........
r88443 | georg.brandl | 2011-02-19 22:47:02 +0100 (Sa, 19 Feb 2011) | 1 line
#11249: in PyType_FromSpec, copy tp_doc slot since it usually will point to a static string literal which should not be deallocated together with the type.
........
r88444 | georg.brandl | 2011-02-20 11:22:41 +0100 (So, 20 Feb 2011) | 1 line
Topic and suspicious update.
........
r88445 | georg.brandl | 2011-02-20 11:29:04 +0100 (So, 20 Feb 2011) | 1 line
Version bump to 3.2 final.
........
r88447 | georg.brandl | 2011-02-20 11:33:21 +0100 (So, 20 Feb 2011) | 2 lines
Bump to 3.3a0.
........
r88448 | georg.brandl | 2011-02-20 11:37:07 +0100 (So, 20 Feb 2011) | 1 line
Bump trunk to 3.3 alpha 0.
........
r88449 | georg.brandl | 2011-02-20 11:41:31 +0100 (So, 20 Feb 2011) | 1 line
More automated version replacement.
........
r88451 | georg.brandl | 2011-02-20 12:18:09 +0100 (So, 20 Feb 2011) | 1 line
Remove unittest methods scheduled for removal in 3.3 -- makes the unittest test suite pass again.
........
r88463 | georg.brandl | 2011-02-21 19:37:01 +0100 (Mo, 21 Feb 2011) | 1 line
3.2 is stable now.
........
r88523 | georg.brandl | 2011-02-23 08:30:12 +0100 (Mi, 23 Feb 2011) | 1 line
Add new subdirectory to LIBSUBDIRS.
........
r88524 | georg.brandl | 2011-02-23 08:31:24 +0100 (Mi, 23 Feb 2011) | 1 line
Georg Brandl [Fri, 25 Feb 2011 10:18:11 +0000 (10:18 +0000)]
Merged revisions 87627,87638,87739,87760,87771,87787,87984,87986,88108,88115,88144,88165,88329,88364-88365,88369-88370,88423-88424 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k
........
r87627 | georg.brandl | 2011-01-02 15:23:43 +0100 (So, 02 Jan 2011) | 1 line
#1665333: add more docs for optparse.OptionGroup.
........
r87638 | georg.brandl | 2011-01-02 20:07:51 +0100 (So, 02 Jan 2011) | 1 line
Fix code indentation.
........
r87739 | georg.brandl | 2011-01-04 18:27:13 +0100 (Di, 04 Jan 2011) | 1 line
Fix exception catching.
........
r87760 | georg.brandl | 2011-01-05 11:59:48 +0100 (Mi, 05 Jan 2011) | 1 line
Fix duplicate end tag.
........
r87771 | georg.brandl | 2011-01-05 22:47:47 +0100 (Mi, 05 Jan 2011) | 1 line
On Py3k, -tt and -3 are no-op and unsupported respectively.
........
r87787 | georg.brandl | 2011-01-06 10:15:45 +0100 (Do, 06 Jan 2011) | 1 line
Remove doc for nonexisting parameter.
........
r87984 | georg.brandl | 2011-01-13 08:24:40 +0100 (Do, 13 Jan 2011) | 1 line
Add semicolon for consistency.
........
r87986 | georg.brandl | 2011-01-13 08:31:18 +0100 (Do, 13 Jan 2011) | 1 line
Fix the example output of count().
........
r88108 | georg.brandl | 2011-01-19 09:42:03 +0100 (Mi, 19 Jan 2011) | 1 line
Suppress trailing spaces in table paragraphs.
........
r88115 | georg.brandl | 2011-01-19 21:05:49 +0100 (Mi, 19 Jan 2011) | 1 line
#10944: add c_bool to types table.
........
r88144 | georg.brandl | 2011-01-22 23:06:24 +0100 (Sa, 22 Jan 2011) | 1 line
#10983: fix several bugs in the _tunnel implementation that seem to have missed while porting between branches. A unittest is needed!
........
r88165 | georg.brandl | 2011-01-24 20:53:18 +0100 (Mo, 24 Jan 2011) | 1 line
Typo fix.
........
r88329 | georg.brandl | 2011-02-03 08:08:25 +0100 (Do, 03 Feb 2011) | 1 line
Punctuation typos.
........
r88364 | georg.brandl | 2011-02-07 13:10:46 +0100 (Mo, 07 Feb 2011) | 1 line
#11138: fix order of fill and align specifiers.
........
r88365 | georg.brandl | 2011-02-07 13:13:58 +0100 (Mo, 07 Feb 2011) | 1 line
#8691: document that right alignment is default for numbers.
........
r88369 | georg.brandl | 2011-02-07 16:30:45 +0100 (Mo, 07 Feb 2011) | 1 line
Consistent heading spacing, and fix two typos.
........
r88370 | georg.brandl | 2011-02-07 16:44:27 +0100 (Mo, 07 Feb 2011) | 1 line
Spelling fixes.
........
r88423 | georg.brandl | 2011-02-15 13:41:17 +0100 (Di, 15 Feb 2011) | 1 line
Apply logging SocketHandler doc update by Vinay.
........
r88424 | georg.brandl | 2011-02-15 13:44:43 +0100 (Di, 15 Feb 2011) | 1 line
Georg Brandl [Fri, 25 Feb 2011 10:03:34 +0000 (10:03 +0000)]
Merged revisions 87101,87146,87156,87172,87175,87371,87378,87522-87524,87526-87528,87530-87536,87581 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k
Replace sys.maxint mention by sys.maxsize.
........
r87523 | georg.brandl | 2010-12-28 10:18:24 +0100 (Di, 28 Dez 2010) | 1 line
Remove confusing paragraph -- this is relevant only to advanced users anyway and does not belong into the tutorial.
........
r87524 | georg.brandl | 2010-12-28 10:29:19 +0100 (Di, 28 Dez 2010) | 1 line
Fix advice: call PyType_Ready to fill in ob_type of custom types.
........
r87526 | georg.brandl | 2010-12-28 11:38:33 +0100 (Di, 28 Dez 2010) | 1 line
#10777: fix iteration over dict keys while mutating the dict.
........
r87527 | georg.brandl | 2010-12-28 11:56:20 +0100 (Di, 28 Dez 2010) | 1 line
#10768: fix ScrolledText widget construction, and make the example work from the interactive shell.
........
r87528 | georg.brandl | 2010-12-28 12:02:12 +0100 (Di, 28 Dez 2010) | 1 line
#10767: update README in crashers; not all may have a bug entry and/or be fixed.
........
r87531 | georg.brandl | 2010-12-28 12:08:17 +0100 (Di, 28 Dez 2010) | 1 line
#10781: clarify that *encoding* is not a parameter for Node objects in general.
........
r87533 | georg.brandl | 2010-12-28 12:38:12 +0100 (Di, 28 Dez 2010) | 1 line
Remove history; adapt a bit more to reST, since this will once be part of the dev guide.
........
r87534 | georg.brandl | 2010-12-28 12:48:53 +0100 (Di, 28 Dez 2010) | 1 line
#10739: document that on Windows, socket.makefile() does not make a file that has a true file descriptor usable where such a thing is expected.
........
r87536 | georg.brandl | 2010-12-28 12:53:25 +0100 (Di, 28 Dez 2010) | 1 line
Georg Brandl [Fri, 25 Feb 2011 09:48:21 +0000 (09:48 +0000)]
Merged revisions 86537,86867-86868,86881,86887,86913-86915,86931-86933,86960,86964,86974,86980,86996,87008,87050 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k
........
r86537 | georg.brandl | 2010-11-19 23:09:04 +0100 (Fr, 19 Nov 2010) | 1 line
Do not put a raw REPLACEMENT CHARACTER in the document.
........
r86867 | georg.brandl | 2010-11-29 15:50:54 +0100 (Mo, 29 Nov 2010) | 1 line
Fix indentation bug.
........
r86868 | georg.brandl | 2010-11-29 15:53:15 +0100 (Mo, 29 Nov 2010) | 1 line
Fix heading style inconsistencies.
........
r86881 | georg.brandl | 2010-11-30 08:43:28 +0100 (Di, 30 Nov 2010) | 1 line
#10584: fix bad links.
........
r86887 | georg.brandl | 2010-11-30 15:57:54 +0100 (Di, 30 Nov 2010) | 1 line
Add missing word, and add a better reference to the actual function.
........
r86914 | georg.brandl | 2010-12-01 16:36:33 +0100 (Mi, 01 Dez 2010) | 1 line
#10594: fix parameter names in PyList API docs.
........
r86915 | georg.brandl | 2010-12-01 16:44:25 +0100 (Mi, 01 Dez 2010) | 1 line
Fix some markup and style in the unittest docs.
........
r86931 | georg.brandl | 2010-12-02 10:06:12 +0100 (Do, 02 Dez 2010) | 1 line
Fix spelling of Jamie Zawinski's surname in urllib.parse docstring (issue 10606)
........
r86933 | georg.brandl | 2010-12-02 19:02:01 +0100 (Do, 02 Dez 2010) | 1 line
#10597: fix Py_SetPythonHome docs by pointing to where the meaning of PYTHONHOME is already documented.
........
r86960 | georg.brandl | 2010-12-03 08:55:44 +0100 (Fr, 03 Dez 2010) | 1 line
#10360: catch TypeError in WeakSet.__contains__, just like WeakKeyDictionary does.
........
r86964 | georg.brandl | 2010-12-03 10:58:38 +0100 (Fr, 03 Dez 2010) | 1 line
#10549: fix interface of docclass() for text documenter.
........
r86974 | georg.brandl | 2010-12-03 16:30:09 +0100 (Fr, 03 Dez 2010) | 1 line
Issue #1726687: time.mktime() will now correctly compute value one
second before epoch. Original patch by Peter Wang, reported by Martin
Blais.
........
Have script_helper._assert_python strip refcount strings from stderr.
This makes the output of the function and those that depend on it
independent of whether or not they are being run under a debug
build.
........
r87221 | r.david.murray | 2010-12-13 19:55:46 -0500 (Mon, 13 Dec 2010) | 4 lines
#10699: fix docstring for tzset: it does not take a parameter
Thanks to Garrett Cooper for the fix.
........
r87256 | r.david.murray | 2010-12-14 21:19:14 -0500 (Tue, 14 Dec 2010) | 2 lines
#10705: document what the values of debuglevel are and mean.
........
r87337 | r.david.murray | 2010-12-17 11:11:40 -0500 (Fri, 17 Dec 2010) | 2 lines
#10559: provide instructions for accessing sys.argv when first mentioned.
........
r87338 | r.david.murray | 2010-12-17 11:29:07 -0500 (Fri, 17 Dec 2010) | 2 lines
#10454: clarify the compileall docs and help messages.
[compileall.py changes not backported.]
........
r87571 | r.david.murray | 2010-12-29 14:06:48 -0500 (Wed, 29 Dec 2010) | 2 lines
Fix same typo in docs.
........
r87839 | r.david.murray | 2011-01-07 16:57:25 -0500 (Fri, 07 Jan 2011) | 9 lines
Fix formatting of values with embedded newlines when rfc2047 encoding
Before this patch if a value being encoded had an embedded newline,
the line following the newline would have no leading whitespace,
and the whitespace it did have was encoded into the word. Now
the existing whitespace gets turned into a blank, the way it does
in other header reformatting, and the _continuation_ws gets added
at the beginning of the encoded line.
........
r88164 | r.david.murray | 2011-01-24 14:34:58 -0500 (Mon, 24 Jan 2011) | 12 lines
#10960: fix 'stat' links, link to lstat from stat, general tidy of stat doc.
Original patch by Michal Nowikowski, with some additions and wording
fixes by me.
I changed the wording from 'Performs a stat system call' to 'Performs
the equivalent of a stat system call', since on Windows there are no
stat/lstat system calls involved. I also extended Michal's breakout
of the attributes into a list to the other paragraphs, and rearranged
the order of the paragraphs in the 'stat' docs to make it flow
better and put it in what I think is a more logical/useful order.
........
#10698: fix typo in example.
........
r87372 | r.david.murray | 2010-12-18 11:39:06 -0500 (Sat, 18 Dec 2010) | 2 lines
#10728: the default for printing help is sys.stdout, not stderr.
........
r87516 | r.david.murray | 2010-12-27 15:09:32 -0500 (Mon, 27 Dec 2010) | 5 lines
#7056: runtest and runtest_inner don't use testdir, so drop it from their sigs
I've only tested regular runs and -j runs. If I've broken anything
else I'm sure I'll hear about it sooner or later.
........
Temporarily ignore rmtree errors in test_getcwd_long_pathnames to see
if the test gives useful failure info on Solaris buildbot.
........
................
r78780 | r.david.murray | 2010-03-07 21:17:03 -0500 (Sun, 07 Mar 2010) | 20 lines
bdecode was already gone in email 5. This merge adds the test from
the trunk patch, and removes the last trace of bdecode, which was
a commented out call in message.py.
Merged revisions 78778 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
Issue #7143: get_payload used to strip any trailing newline from a
base64 transfer-encoded payload *after* decoding it; it no longer does.
email had a special method in utils, _bdecode, specifically to do this,
so it must have served a purpose at some point, yet it is clearly wrong
per RFC. Fixed with Barry's approval, but no backport. Email package
minor version number is bumped, now version 4.0.1.
Fixing obscure syslog corner-case when sys.argv = None, syslog() would call
openlog() for every logged message.
........
................
r86577 | r.david.murray | 2010-11-20 11:33:30 -0500 (Sat, 20 Nov 2010) | 4 lines
#1574217: only swallow AttributeErrors in isinstance, not everything.
Patch and tests by Brian Harring, with improvements by Ralf Schmitt.
................
r87228 | r.david.murray | 2010-12-13 21:25:43 -0500 (Mon, 13 Dec 2010) | 2 lines
Turn on regrtest -W (rerun immediately) option for Windows, too.
................
r88197 | victor.stinner | 2011-01-25 19:39:19 -0500 (Tue, 25 Jan 2011) | 1 line
Fix BytesGenerator._handle_text() if the message has no payload (None)
................
r88199 | r.david.murray | 2011-01-25 21:31:37 -0500 (Tue, 25 Jan 2011) | 2 lines
Revert r88197. I'll refix correctly once there is a test.
................
r88203 | r.david.murray | 2011-01-26 16:21:32 -0500 (Wed, 26 Jan 2011) | 4 lines
#11019: Make BytesGenerator handle Message with None body.
Bug discovery and initial patch by Victor Stinner.
................
r88252 | r.david.murray | 2011-01-30 01:21:28 -0500 (Sun, 30 Jan 2011) | 16 lines
#9124: mailbox now accepts binary input and uses binary internally
Although this patch contains API changes and is rather weighty for an
RC phase, the mailbox module was essentially unusable without the patch
since it would produce UnicodeErrors when handling non-ascii input
at arbitrary and somewhat mysterious places, and any non-trivial amount
of email processing will encounter messages with non-ascii bytes.
The release manager approved the patch application.
The changes allow binary input, and reject non-ASCII string input early
with a useful message instead of failing mysteriously later. Binary
is used internally for reading and writing the mailbox files. StringIO
and Text file input are deprecated.
Initial patch by Victor Stinner, validated and expanded by R. David Murray.
................
Éric Araujo [Wed, 2 Feb 2011 21:38:37 +0000 (21:38 +0000)]
Merged revisions 86236,86240,86332,86340,87271,87273,87447 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
The missing NEWS entries correspond to changes that were made before 3.1.3, but
I think it’s not usual to edit entries of released versions, so I put them at
the top.
Make sure each test can be run standalone (./python Lib/distutils/tests/x.py)
........
r86240 | eric.araujo | 2010-11-06 05:11:59 +0100 (sam., 06 nov. 2010) | 2 lines
Add missing NEWS entry for a fix committed by Senthil.
All recent modifications to distutils should now be covered in NEWS.
........
r86340 | eric.araujo | 2010-11-08 22:48:23 +0100 (lun., 08 nov. 2010) | 2 lines
This was actually fixed for the previous alpha.
........
r87271 | eric.araujo | 2010-12-15 20:09:58 +0100 (mer., 15 déc. 2010) | 2 lines
Éric Araujo [Wed, 2 Feb 2011 20:44:48 +0000 (20:44 +0000)]
Blocked revisions 84189,84532,84537,84540,84549,84551,84602,85226,85786,85891,86247-86248,86253,86275,86326,86486,86513,86617,86630,86661,86668,86758,86993,87056,87304,87446,87461 via svnmerge
- The entry about shutil.copytree is just a revert of r84524 which
looks like an unfinished edition.
- The use of gender-neutral language (s/his/their/) removes the
implicit assumption that programmer == male (change agreed by Antoine).
- Other changes should be uncontroversial fixes.
I haven’t rewrapped under 80 lines to keep the diffs readable; I’ll
rewrap later.
........
r84537 | eric.araujo | 2010-09-05 20:43:07 +0200 (dim., 05 sept. 2010) | 2 lines
Fixes bug #10126 for Python 3.2 by using $RUNSHARED to find the
directory to the shared library. test_distutils now passes when
Python was built with --enable-shared (Barry didn’t have the error
but I did).
........
r85891 | eric.araujo | 2010-10-28 15:49:17 +0200 (jeu., 28 oct. 2010) | 2 lines
This was done in r80805 (#7908) and erroneously brought back by the
distutils revert. This commit removes more code than the original,
which was uncomplete. There is no NEWS entry, like in r80805.
........
r86253 | eric.araujo | 2010-11-06 08:03:07 +0100 (sam., 06 nov. 2010) | 4 lines
Tweak example to make clear the argument is a boolean, not any integer.
Move a news entry to the right section (+ light reformatting)
........
r86486 | eric.araujo | 2010-11-16 20:13:50 +0100 (mar., 16 nov. 2010) | 4 lines
Provide links to Python source where the code is short, readable and
informative adjunct to the docs. Forward-port of Raymond's r86225 and
r86245 using the new source reST role added in #10334.
........
r86513 | eric.araujo | 2010-11-18 15:22:08 +0100 (jeu., 18 nov. 2010) | 2 lines
Remove spurious space that was breaking Vim’s reST highlighting.
........
r86617 | eric.araujo | 2010-11-20 22:53:02 +0100 (sam., 20 nov. 2010) | 2 lines
Fix one compileall test (#10453). Patch by Michele Orrù.
........
r86758 | eric.araujo | 2010-11-26 01:39:59 +0100 (ven., 26 nov. 2010) | 2 lines
#10453 follow-up: Fix test_quiet on Windows, thanks to Stephan Krah.
........
r86993 | eric.araujo | 2010-12-03 20:41:00 +0100 (ven., 03 déc. 2010) | 7 lines
Allow translators to reorder placeholders in localizable messages from
argparse (#10528).
There is no unit test; I checked with xgettext that no more warnings
were emitted. Steven approved the change.
........
r87056 | eric.araujo | 2010-12-04 18:31:49 +0100 (sam., 04 déc. 2010) | 2 lines
Use proper plural forms in argparse (#4391)
........
r87304 | eric.araujo | 2010-12-16 04:13:05 +0100 (jeu., 16 déc. 2010) | 2 lines
Nits: use a real boolean, make one docstring more similar to the other ones
........
r87461 | eric.araujo | 2010-12-24 00:18:41 +0100 (ven., 24 déc. 2010) | 2 lines
Issue #11053: Fix IDLE "Syntax Error" windows to behave as in 2.x,
preventing a confusing hung appearance on OS X with the windows
obscured. (with release manager approval for 3.2rc2)
........
Remove spurious copy of Mac/IDLE/idlemain.py left over from
conversion from Python 2 build process. The correct version
is in Mac/IDLE/IDLE.app/Contents/Resources/
........
Issue #10916: mmap should not segfault when a file is mapped using 0 as
length and a non-zero offset, and an attempt to read past the end of file
is made (IndexError is raised instead). Patch by Ross Lagerwall.
Add mention of how to switch interpreters
........
r88017 | antoine.pitrou | 2011-01-15 13:54:19 +0100 (sam., 15 janv. 2011) | 3 lines
Reword and restructure the GIL API doc
........
r88018 | antoine.pitrou | 2011-01-15 14:11:48 +0100 (sam., 15 janv. 2011) | 4 lines
Issue #10913: Deprecate misleading functions PyEval_AcquireLock() and
PyEval_ReleaseLock(). The thread-state aware APIs should be used instead.
........
Fix the expected memory use of utf-8 encoding. Also, release the
one reference to a huge object even when an exception is raised.
........
r87971 | antoine.pitrou | 2011-01-12 22:19:59 +0100 (mer., 12 janv. 2011) | 3 lines
Make test skipping message nicer, and remove the rather useless "overhead" parameter.
........
r87972 | antoine.pitrou | 2011-01-12 22:40:20 +0100 (mer., 12 janv. 2011) | 3 lines
Fix @bigmemtest when no limit is given by the user (oops)
........
r87973 | antoine.pitrou | 2011-01-12 22:50:44 +0100 (mer., 12 janv. 2011) | 3 lines
Georg Brandl [Sun, 9 Jan 2011 08:01:46 +0000 (08:01 +0000)]
Merged revisions 87789-87790 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k
........
r87789 | georg.brandl | 2011-01-06 10:23:56 +0100 (Do, 06 Jan 2011) | 1 line
Fix various issues (mostly Python 2 relics) found by Jacques Ducasse.
........
r87790 | georg.brandl | 2011-01-06 10:25:27 +0100 (Do, 06 Jan 2011) | 1 line
This makes Header.encode throw a HeaderParseError if it winds up
formatting a header such that a continuation line has no leading
whitespace and looks like a header. Since Header accepts values
containing newlines and preserves them (and this is by design), without
this fix any program that took user input (say, a subject in a web form)
and passed it to the email package as a header was vulnerable to header
injection attacks. (As far as we know this has never been exploited.)
Thanks to Jakub Wilk for reporting this vulnerability.
........
#10686: recode non-ASCII headers to 'unknown-8bit' instead of ?s.
This applies only when generating strings from non-RFC compliant binary
input; it makes the existing recoding behavior more consistent (ie:
now no data is lost when recoding).
........
Issue #8020: Avoid a crash where the small objects allocator would read
non-Python managed memory while it is being modified by another thread.
Patch by Matt Bandy.
........
Issue #10655: Fix the build on PowerPC on Linux with GCC when building with
timestamp profiling (--with-tsc): the preprocessor test for the PowerPC
support now looks for "__powerpc__" as well as "__ppc__": the latter seems to
only be present on OS X; the former is the correct one for Linux with GCC.
........
Fix the new bug introduced in the r87710 fix for issue 6643. DummyThread
deletes its _block attribute, deal with that. This prevents an uncaught
exception in a thread during test_thread.
This refactors a bit to better match what I did in the r87727 backport to 2.7.
........
issue6643 - Two locks held within the threading module on each thread instance
needed to be reinitialized after fork(). Adds tests to confirm that they are
and that a potential deadlock and crasher bug are fixed (platform dependant).
........
Issue #6293: Have regrtest.py echo back sys.flags. This is done by default
in whole runs and enabled selectively using `--header` when running an
explicit list of tests. Original patch by Collin Winter.
........
r87705 | antoine.pitrou | 2011-01-03 21:40:07 +0100 (lun., 03 janv. 2011) | 3 lines