Victor Stinner [Mon, 21 Mar 2011 02:22:50 +0000 (03:22 +0100)]
Issue #8651: PyArg_Parse*() functions raise an OverflowError if the file
doesn't have PY_SSIZE_T_CLEAN define and the size doesn't fit in an int
(length bigger than 2^31-1 bytes).
Ronald Oussoren [Wed, 16 Mar 2011 13:41:32 +0000 (09:41 -0400)]
Issue #11569: use absolute path to the sysctl command in multiprocessing to
ensure that it will be found regardless of the shell PATH. This ensures
that multiprocessing.cpu_count works on default installs of MacOSX.
Antoine Pitrou [Tue, 15 Mar 2011 20:02:59 +0000 (21:02 +0100)]
On behalf of Tarek: Issue #11501: disutils.archive_utils.make_zipfile no
longer fails if zlib is not installed. Instead, the zipfile.ZIP_STORED
compression is used to create the ZipFile. Patch by Natalia B. Bidart.
briancurtin [Mon, 14 Mar 2011 19:35:35 +0000 (15:35 -0400)]
Fix #11491. When dbm.open was called with a file which already exists and
the "flag" argument is "n", dbm.error was being raised. As documented,
dbm.open(...,flag='n') will now "Always create a new, empty database,
open for reading and writing", regardless of a previous file existing.
Martin v. Löwis [Sun, 6 Mar 2011 10:28:23 +0000 (11:28 +0100)]
Convert DOS files to CRLF. This doesn't touch the .hgeol settings, so that the files
will have the right line ending even if the extension is not active.
Antoine Pitrou [Sun, 6 Mar 2011 00:11:03 +0000 (01:11 +0100)]
Issue #11391: Writing to a mmap object created with
`mmap.PROT_READ|mmap.PROT_EXEC` would segfault instead of raising a
TypeError. Patch by Charles-François Natali.
Issue #4681: Allow mmap() to work on file sizes and offsets larger than
4GB, even on 32-bit builds. Initial patch by Ross Lagerwall, adapted for
32-bit Windows.
........
r88511 | antoine.pitrou | 2011-02-22 22:42:56 +0100 (mar., 22 févr. 2011) | 4 lines
Issue #11277: finally fix Snow Leopard crash following r88460.
(probably an OS-related issue with mmap)
........
r88652 | antoine.pitrou | 2011-02-26 16:58:05 +0100 (sam., 26 févr. 2011) | 4 lines
Issue #9931: Fix hangs in GUI tests under Windows in certain conditions.
Patch by Hirokazu Yamamoto.
........
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.
........