summaryrefslogtreecommitdiffstats
path: root/Misc
Commit message (Collapse)AuthorAgeFilesLines
* Add an "optimize" parameter to compile() to control the optimization level, ↵Georg Brandl2010-12-041-0/+5
| | | | and provide an interface to it in py_compile, compileall and PyZipFile.
* Fixed several corner case issues on os.stat/os.lstat related to reparseHirokazu Yamamoto2010-12-041-0/+3
| | | | | | | points. (Windows) - Set S_IEXEC via final path name not link name. - Set S_IFLNK also via FindFirstFile (when CreateFile fails)
* Add the NEWS entry for issue7904Senthil Kumaran2010-12-041-0/+4
|
* #6045: provide at least get() and setdefault() for all dbm modules.Georg Brandl2010-12-041-1/+3
|
* Issue #10557: Fixed error messages from float() and other numericAlexander Belopolsky2010-12-041-0/+4
| | | | | | types. Added a new API function, PyUnicode_TransformDecimalToASCII(), which transforms non-ASCII decimal digits in a Unicode string to their ASCII equivalents.
* Issue 10620: Specifying test modules by path instead of module name to ↵Michael Foord2010-12-041-4/+7
| | | | 'python -m unittest'
* Issue #10534: add NEWS entry for r86983 and r87000.Terry Reedy2010-12-031-0/+3
|
* Merge branches/pep-0384.Martin v. Löwis2010-12-031-0/+2
|
* Issue #10272: The ssl module now raises socket.timeout instead of a genericAntoine Pitrou2010-12-031-0/+3
| | | | SSLError on socket timeouts.
* Allow translators to reorder placeholders in localizable messages fromÉric Araujo2010-12-031-0/+3
| | | | | | | argparse (#10528). There is no unit test; I checked with xgettext that no more warnings were emitted. Steven approved the change.
* Fix incorrect use of gettext in argparse (#10497).Éric Araujo2010-12-031-0/+2
| | | | | Steven, the maintainer of argparse, agreed to have this committed without tests for now, since the fix is obvious. See the bug log.
* Issue #10478: Reentrant calls inside buffered IO objects (for example byAntoine Pitrou2010-12-031-0/+4
| | | | | way of a signal handler) now raise a RuntimeError instead of freezing the current process.
* Issue 10499: Modular interpolation in configparserŁukasz Langa2010-12-031-0/+8
|
* Issue 2690: Add support for slicing and negative indices to range objects ↵Nick Coghlan2010-12-031-1/+3
| | | | | | (includes precalculation and storage of the range length). Refer to the tracker issue for the language moratorium implications of this change
* Factor out common code from lib/test/__main__.py and lib/test/regrtest.py ↵Michael Foord2010-12-031-0/+3
| | | | into a function.
* logging: Added getLogRecordFactory/setLogRecordFactory with docs and tests.Vinay Sajip2010-12-031-0/+2
|
* #10549: fix interface of docclass() for text documenter.Georg Brandl2010-12-031-0/+2
|
* Improve Pydoc interactive browsing (#2001). Patch by Ron Adam.Nick Coghlan2010-12-032-0/+4
| | | | | | | | | | | | | | * A -b option to start an enhanced browsing session. * Allow -b and -p options to be used together. * Specifying port 0 will pick an arbitrary unused socket port. * A new browse() function to start the new server and browser. * Show Python version information in the header. * A *Get* field which takes the same input as the help() function. * A *Search* field which replaces the Tkinter search box. * Links to *Module Index*, *Topics*, and *Keywords*. * Improved source file viewing. * An HTMLDoc.filelink() method. * The -g option and the gui() and serve() functions are deprecated.
* Rewrap NEWS (Builbot test commit.)Georg Brandl2010-12-031-52/+52
|
* #10360: catch TypeError in WeakSet.__contains__, just like WeakKeyDictionary ↵Georg Brandl2010-12-031-0/+3
| | | | does.
* #940286: pydoc.Helper.help() ignores input/output init parameters.Georg Brandl2010-12-031-0/+2
|
* Partially revert r78719 - it removed a check that is still needed in some ↵Nick Coghlan2010-12-031-0/+3
| | | | cases (i.e. this will allow Michael to add the test.__main__ support that broke the buildbots previously)
* #1745035: add limits for command and data size to smtpd; patch by Savio Sena.Georg Brandl2010-12-031-0/+3
|
* Move entries from "core" section to where they belong.Georg Brandl2010-12-031-23/+23
|
* #1486713: Add a tolerant mode to HTMLParser.R. David Murray2010-12-031-0/+3
| | | | | | | | | | | | The motivation for adding this option is that the the functionality it provides used to be provided by sgmllib in Python2, and was used by, for example, BeautifulSoup. Without this option, the Python3 version of BeautifulSoup and the many programs that use it are crippled. The original patch was by 'kxroberto'. I modified it heavily but kept his heuristics and test. I also added additional heuristics to fix #975556, #1046092, and part of #6191. This patch should be completely backward compatible: the behavior with the default strict=True is unchanged.
* Fix #10554. Added context manager support to Popen objects.Brian Curtin2010-12-031-0/+2
| | | | | | Added a few common Popen uses to the tests like we've done for a few other instances of adding context managers. Eventually the entire test suite could be converted to use the context manager format.
* Issue 7911: unittest.TestCase.longMessage defaults to True for improved ↵Michael Foord2010-12-031-0/+3
| | | | failure messages by default
* Issue9915: speeding up sorting with a keyDaniel Stutzbach2010-12-021-0/+2
|
* #8989: add 'domain' keyword to make_msgid.R. David Murray2010-12-022-0/+4
| | | | Patch by Adrian von Bidder.
* Fix #9333. Expose os.symlink on Windows only when usable.Brian Curtin2010-12-021-0/+3
| | | | | | | | | | | | | | | | In order to create symlinks on Windows, SeCreateSymbolicLinkPrivilege is an account privilege that is required to be held by the user. Not only must the privilege be enabled for the account, the activated privileges for the currently running application must be adjusted to enable the requested privilege. Rather than exposing an additional function to be called prior to the user's first os.symlink call, we handle the AdjustTokenPrivileges Windows API call internally and only expose os.symlink when the privilege escalation was successful. Due to the change of only exposing os.symlink when it's available, we can go back to the original test skipping methods of checking via `hasattr`.
* #7475: add (un)transform method to bytes/bytearray and str, add back codecs ↵Georg Brandl2010-12-021-0/+4
| | | | that can be used with them from Python 2.
* Issue 9299 Add exist_ok parameter to os.makedirs to suppress 'File exists' ↵Terry Reedy2010-12-022-0/+5
| | | | exception. Patch by Ray Allen.
* Issue #9573: os.fork now works when triggered as a side effect of import ↵Nick Coghlan2010-12-021-0/+3
| | | | (the wisdom of actually relying on this remains questionable!)
* #10464: fix netrc handling of lines with embedded '#" characters.R. David Murray2010-12-022-0/+3
| | | | Patch by Xuanji Li.
* Add itertools.accumulate().Raymond Hettinger2010-12-011-0/+2
|
* Issue #4113: Added custom __repr__ method to functools.partial.Alexander Belopolsky2010-12-011-0/+3
|
* #10273: Rename assertRegexpMatches and assertRaisesRegexp to assertRegex and ↵Ezio Melotti2010-12-011-0/+3
| | | | assertRaisesRegex.
* Fix test failure in debug builds and add NEWS entry for r86908Ezio Melotti2010-12-011-0/+2
|
* Issue #8685: Speed up set difference `a - b` when source set `a` isAntoine Pitrou2010-11-301-0/+3
| | | | much larger than operand `b`. Patch by Andrew Bennetts.
* Issue 9873: the URL parsing functions now accept ASCII encoded byte ↵Nick Coghlan2010-11-301-0/+3
| | | | sequences in addition to character strings
* Include structseq.h in Python.h, and remove now-redundant includes in ↵Georg Brandl2010-11-301-0/+2
| | | | individual sources.
* Issue 10586: change the new functools.lru_cache implementation to expose the ↵Nick Coghlan2010-11-301-0/+3
| | | | maximum and current cache sizes through the public statistics API. This API is now a single function that returns a named tuple.
* Issue #10323: Predictable final state for slice().Raymond Hettinger2010-11-301-0/+4
|
* Fix #10561 - Fix pdb behavior. Delete the breakpoints by breakpoint number.Senthil Kumaran2010-11-291-0/+2
| | | | | Handle multiple breakpoints at same line. Update docs/test. Patch by Xavier de Gaye.
* Issue #10565: Iterator ABC should require both __next__ and __iter__.Raymond Hettinger2010-11-291-0/+3
|
* Issue #10518: Bring back the callable() builtin.Antoine Pitrou2010-11-271-0/+2
| | | | Approved by Guido (BDFL) and Georg (RM).
* Issue 10242: unittest.assertItemsEqual makes too many assumptions.Raymond Hettinger2010-11-271-0/+3
|
* Issue #7094: Add alternate ('#') flag to __format__ methods for float, ↵Eric Smith2010-11-252-0/+8
| | | | complex and Decimal. Allows greater control over when decimal points appear. Added to make transitioning from %-formatting easier. '#g' still has a problem with Decimal which I'll fix soon.
* Issue 2986: Add autojunk paramater to SequenceMatcher to turn off heuristic. ↵Terry Reedy2010-11-251-0/+4
| | | | Patch by Terry Reedy, Eli Bendersky, and Simon Cross
* Add NEWS entry for r86732 and fix double function in the table.Ezio Melotti2010-11-241-0/+5
|