summaryrefslogtreecommitdiffstats
path: root/Misc
Commit message (Collapse)AuthorAgeFilesLines
* Remove myself.Martin v. Löwis2010-07-121-10/+10
|
* Put my name down for winreg.Brian Curtin2010-07-111-1/+1
|
* allow byte literalsBenjamin Peterson2010-07-111-0/+2
|
* Issue #9137: Fix issue in MutableMapping.update, which incorrectlyMark Dickinson2010-07-111-0/+3
| | | | treated keyword arguments called 'self' or 'other' specially.
* Issue #8974: fix print calls in msgfmt.py.Martin v. Löwis2010-07-111-1/+1
|
* Issue #9165: Add math.isfinite and cmath.isfinite.Mark Dickinson2010-07-111-0/+3
|
* Issue #7616: Fix copying of overlapping memoryview slices with the IntelAntoine Pitrou2010-07-111-0/+3
| | | | compiler.
* Allow set literals in literal_eval().Georg Brandl2010-07-111-1/+3
|
* Fix for issue 9164Ronald Oussoren2010-07-111-0/+2
|
* Issue #9189: Allow users to set $CFLAGS, $CPPFLAGS, and $LDFLAGS when runningJeffrey Yasskin2010-07-091-0/+6
| | | | | | | | | | | | | configure to append to Python's default values for those variables, and similarly allow users to set $XXFLAGS on the make command line to append to the values set by configure. In the makefile, this renames the variables that used to be $XXFLAGS to $PY_XXFLAGS, and renames the old $PY_CFLAGS to $PY_CORE_CFLAGS. To compensate, sysconfig now aliases $XXFLAGS=$PY_XXFLAGS so that scripts using it keep working. I see that as the right interface, not a backward-compatibility hack, since these are logically the $XXFLAGS variables; we just use a different name in the makefile to deal with make's semantics.
* Reorder Jason "two O's" CoombsBrian Curtin2010-07-091-1/+1
|
* Fix sort order mistake in Misc/ACKS.R. David Murray2010-07-091-1/+1
|
* 7846: limit fnmatch pattern cache to _MAXCACHE=100 entries.R. David Murray2010-07-092-0/+3
| | | | Patch by Andrew Clegg.
* Implement #1578269. Patch by Jason R. Coombs.Brian Curtin2010-07-082-0/+4
| | | | | | | | | | | | | | | | Added Windows support for os.symlink when run on Windows 6.0 or greater, aka Vista. Previous Windows versions will raise NotImplementedError when trying to symlink. Includes numerous test updates and additions to test_os, including a symlink_support module because of the fact that privilege escalation is required in order to run the tests to ensure that the user is able to create symlinks. By default, accounts do not have the required privilege, so the escalation code will have to be exposed later (or documented on how to do so). I'll be following up with that work next. Note that the tests use ctypes, which was agreed on during the PyCon language summit.
* Issue #9136: Profiling Decimal gave 'dictionary changed size during iteration'.Mark Dickinson2010-07-081-0/+4
| | | | Remove the use of locals() that caused this error.
* Fix a performance issue in Decimal.pow. Thanks Stefan Krah for finding this.Mark Dickinson2010-07-081-0/+4
|
* Issue #8605: Skip test_gdb if Python is compiled with optimizations.Antoine Pitrou2010-07-081-0/+2
|
* make struct sequences subclass tuple; kill lots of codeBenjamin Peterson2010-07-071-0/+2
| | | | This fixes #8413.
* add NEWSBenjamin Peterson2010-07-071-0/+3
|
* Issue #9186: log1p(-1.0) should raise ValueError, not OverflowError.Mark Dickinson2010-07-071-0/+2
|
* Issue #9000: datetime.timezone objects now have eval-friendly repr.Alexander Belopolsky2010-07-061-0/+2
|
* Issue #9130: Fix validation of relative imports in parser module.Mark Dickinson2010-07-041-0/+2
|
* Issue #9128: Fix validation of class decorators in parser module.Mark Dickinson2010-07-041-0/+2
|
* Trailing whitespace is bad for .rst files.Brett Cannon2010-07-031-1/+1
|
* Issue #9094: Make python -m pickletools disassemble pickles given inAlexander Belopolsky2010-07-031-0/+4
| | | | the command line.
* Fix Issue5468 - urlencode to handle bytes and other alternate encodings.Senthil Kumaran2010-07-031-0/+3
| | | | (Extensive tests provided). Patch by Dan Mahn.
* Merged revisions 82492 via svnmerge fromVictor Stinner2010-07-031-1/+4
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r82492 | victor.stinner | 2010-07-03 15:36:19 +0200 (sam., 03 juil. 2010) | 3 lines Issue #7673: Fix security vulnerability (CVE-2010-2089) in the audioop module, ensure that the input string length is a multiple of the frame size ........
* Issue 6507: missing patch submitter from NEWS entry in previous checkinNick Coghlan2010-07-031-1/+2
|
* Issue 6507: accept source strings directly in dis.dis(). Original patch by ↵Nick Coghlan2010-07-032-0/+3
| | | | Daniel Urban
* Some people have mistaken Python bytecode as being stable and unchanging. InBrett Cannon2010-07-021-0/+3
| | | | | | | | reality it's simply an implementation detail for CPython. This point is now clearly documented in both the docs for dis and the glossary. Closes issue #7829. Thanks to Terry Reedy for some initial suggestions on wording.
* fix lookup of __ceil__Benjamin Peterson2010-07-021-2/+2
|
* correctly lookup __trunc__ and __floor__Benjamin Peterson2010-07-011-0/+3
|
* Update PyUnicode_DecodeUTF8 from RFC 2279 to RFC 3629.Ezio Melotti2010-07-011-0/+8
| | | | | | | | | | | | | 1) #8271: when a byte sequence is invalid, only the start byte and all the valid continuation bytes are now replaced by U+FFFD, instead of replacing the number of bytes specified by the start byte. See http://www.unicode.org/versions/Unicode5.2.0/ch03.pdf (pages 94-95); 2) 5- and 6-bytes-long UTF-8 sequences are now considered invalid (no changes in behavior); 3) Change the error messages "unexpected code byte" to "invalid start byte" and "invalid data" to "invalid continuation byte"; 4) Add an extensive set of tests in test_unicode; 5) Fix test_codeccallbacks because it was failing after this change.
* Merged revisions 82404 via svnmerge fromGiampaolo Rodolà2010-06-301-0/+3
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r82404 | giampaolo.rodola | 2010-06-30 19:38:28 +0200 (mer, 30 giu 2010) | 1 line fix issue #6589: cleanup asyncore.socket_map if smtpd.SMTPServer constructor raises an exception ........
* Issue 9110. Adding ContextDecorator to contextlib. This enables the creation ↵Michael Foord2010-06-301-0/+4
| | | | of APIs that act as decorators as well as context managers. contextlib.contextmanager changed to use ContextDecorator.
* Issue #9011: Tests for Python 3.2's treatment of negated imaginary literals.Mark Dickinson2010-06-301-0/+4
|
* Implement importlib.abc.SourceLoader and deprecate PyLoader and PyPycLoader.Brett Cannon2010-06-271-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | SourceLoader is a simplification of both PyLoader and PyPycLoader. If one only wants to use source, then they need to only implement get_data and get_filename. To also use bytecode -- sourceless loading is not supported -- then two abstract methods -- path_mtime and set_data -- need to be implemented. Compared to PyLoader and PyPycLoader, there are less abstract methods introduced and bytecode files become an optimization controlled by the ABC and hidden from the user (this need came about as PEP 3147 showed that not treating bytecode as an optimization can cause problems for compatibility). PyLoader is deprecated in favor of SourceLoader. To be compatible from Python 3.1 onwards, a subclass need only use simple methods for source_path and is_package. Otherwise conditional subclassing based on whether Python 3.1 or Python 3.2 is being is the only change. The documentation and docstring for PyLoader explain what is exactly needed. PyPycLoader is deprecated also in favor of SourceLoader. Because PEP 3147 shifted bytecode path details so much, there is no foolproof way to provide backwards-compatibility with SourceLoader. Because of this the class is simply deprecated and users should move to SourceLoader (and optionally PyLoader for Python 3.1). This does lead to a loss of support for sourceless loading unfortunately. At some point before Python 3.2 is released, SourceLoader will be moved over to importlib._bootstrap so that the core code of importlib relies on the new code instead of the old PyPycLoader code. This commit is being done now so that there is no issue in having the API in Python 3.1a1.
* Revert r82259; still no good way to override instead of replace OPT, but ↵Brett Cannon2010-06-271-2/+0
| | | | changing order alters pydebug optimization flags.
* #9064: accept number of frames for "up" and "down" commands in pdb.Georg Brandl2010-06-271-0/+2
|
* Having CFLAGS come before OPT prevents silencing certain classes of warningsBrett Cannon2010-06-261-0/+2
| | | | | | | from the fact that OPT contains -Wall be default. This is annoying when compilers like clang have thorough debugging information about things that Python does extensively (e.g. -Wunused-value for unused return values caused by a macro use).
* only take into account positional arguments count in related error messagesBenjamin Peterson2010-06-251-0/+2
|
* #9018: os.path.normcase() now raises a TypeError if the argument is not str ↵Ezio Melotti2010-06-251-0/+3
| | | | or bytes.
* Merged revisions 82210 via svnmerge fromAntoine Pitrou2010-06-251-0/+3
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r82210 | antoine.pitrou | 2010-06-25 02:03:21 +0200 (ven., 25 juin 2010) | 4 lines Issue #9075: In the ssl module, remove the setting of a `debug` flag on an OpenSSL structure. ........
* Issue #8850: Remove "w" and "w#" formats from PyArg_Parse*() functions, useVictor Stinner2010-06-251-0/+3
| | | | "w*" format instead. Add tests for "w*" format.
* Issue #8682: The ssl module now temporary increments the reference count ofAntoine Pitrou2010-06-241-0/+4
| | | | | a socket object got through `PyWeakref_GetObject`, so as to avoid possible deallocation while the object is still being used.
* Issue #8949: "z" format of PyArg_Parse*() functions doesn't accept bytesVictor Stinner2010-06-241-0/+3
| | | | objects, as described in the documentation.
* Merged revisions 82157 via svnmerge fromBenjamin Peterson2010-06-221-0/+2
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r82157 | benjamin.peterson | 2010-06-22 14:16:37 -0500 (Tue, 22 Jun 2010) | 1 line remove INT_MAX assertions; they can fail with large Py_ssize_t #9058 ........
* Merged revisions 82130 via svnmerge fromBenjamin Peterson2010-06-211-0/+2
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r82130 | benjamin.peterson | 2010-06-21 10:27:46 -0500 (Mon, 21 Jun 2010) | 1 line fix finding visual studio 2008 on 64 bit #8854 ........
* Issue #9005: Prevent utctimetuple() from producing year 0 or year 10,000.Alexander Belopolsky2010-06-211-0/+5
|
* Revert r82089. Commit was intended for a branch.Jean-Paul Calderone2010-06-191-5/+0
|