summaryrefslogtreecommitdiffstats
path: root/Misc
Commit message (Collapse)AuthorAgeFilesLines
* Correction of patch #1455898: In the mbcs decoder, set final=FalseMartin v. Löwis2006-08-021-0/+3
| | | | for stream decoder, but final=True for the decode function.
* pre-release machinationsAnthony Baxter2006-08-022-2/+2
|
* Add some explanation about Klocwork and Coverity static analysisNeal Norwitz2006-08-022-0/+48
|
* Patch #1519025 and bug #926423: If a KeyboardInterrupt occurs duringNeal Norwitz2006-08-022-0/+5
| | | | | a socket operation on a socket with a timeout, the exception will be caught correctly. Previously, the exception was not caught.
* _PyWeakref_GetWeakrefCount() now returns a Py_ssize_t instead of long.Neal Norwitz2006-08-021-0/+3
|
* This fixes bug #1527397: PythonLauncher runs scripts with the wrong workingRonald Oussoren2006-08-011-0/+11
| | | | | directory. It also fixes a bug where PythonLauncher failed to launch scripts when the scriptname (or the path to the script) contains quotes.
* os.urandom no longer masks unrelated exceptions like SystemExit orGeorg Brandl2006-08-011-0/+3
| | | | KeyboardInterrupt.
* Drop usage of test -e in configure as it is not portable.Martin v. Löwis2006-07-301-0/+5
| | | | | | Fixes #1439538 Will backport to 2.4 Also regenerate pyconfig.h.in.
* Mention Cygwin in distutils error message about a missing VS 2003.Martin v. Löwis2006-07-301-0/+3
| | | | Fixes #1257728.
* Base __version__ on sys.version_info, as distutils isMartin v. Löwis2006-07-301-1/+2
| | | | no longer maintained separatedly.
* Don't copy directory stat times in shutil.copytree on WindowsMartin v. Löwis2006-07-301-0/+3
| | | | Fixes #1525866.
* Bug #1002398: The documentation for os.path.sameopenfile now correctlyGeorg Brandl2006-07-301-0/+3
| | | | refers to file descriptors, not file objects.
* Bug #1515471: string.replace() accepts character buffers again.Neal Norwitz2006-07-301-0/+2
| | | | Pass the char* and size around rather than PyObject's.
* Add PyErr_WarnEx() so C code can pass the stacklevel to warnings.warn().Neal Norwitz2006-07-301-0/+4
| | | | | | This provides the proper warning for struct.pack(). PyErr_Warn() is now deprecated in favor of PyErr_WarnEx(). As mentioned by Tim Peters on python-dev.
* Patch #1531113: Fix augmented assignment with yield expressions.Neal Norwitz2006-07-302-0/+4
| | | | Also fix a SystemError when trying to assign to yield expressions.
* expunge the xmlcore changes:Fred Drake2006-07-291-2/+6
| | | | | | | | | | | | | | | | | | | 41667, 41668 - initial switch to xmlcore 47044 - mention of xmlcore in What's New 50687 - mention of xmlcore in the library reference re-apply xmlcore changes to xml: 41674 - line ending changes (re-applied manually), directory props 41677 - add cElementTree wrapper 41678 - PSF licensing for etree 41812 - whitespace normalization 42724 - fix svn:eol-style settings 43681, 43682 - remove Python version-compatibility cruft from minidom 46773 - fix encoding of \r\n\t in attr values in saxutils 47269 - added XMLParser alias for cElementTree compatibility additional tests were added in Lib/test/test_sax.py that failed with the xmlcore changes; these relate to SF bugs #1511497, #1513611
* update target version numberFred Drake2006-07-291-2/+2
|
* Bug #1441397: The compiler module now recognizes module and functionGeorg Brandl2006-07-291-0/+3
| | | | docstrings correctly as it did in Python 2.4.
* Patch #1529514: More openbsd platforms for ctypes.Thomas Heller2006-07-281-0/+3
| | | | | | Regenerated Modules/_ctypes/libffi/configure with autoconf 2.59. Approved by Neal.
* Fix svn merge spew.Phillip J. Eby2006-07-281-4/+0
|
* Bug #1529871: The speed enhancement patch #921466 broke Python's compliancePhillip J. Eby2006-07-281-0/+9
| | | | | | with PEP 302. This was fixed by adding an ``imp.NullImporter`` type that is used in ``sys.path_importer_cache`` to cache non-directory paths and avoid excessive filesystem operations during imports.
* Patch #1529686: also run test_email_codecs with regrtest.py.Georg Brandl2006-07-281-3/+3
|
* Allow socketmodule to compile on NetBSD -current, whose bluetooth APIMatt Fleming2006-07-282-0/+4
| | | | differs from both Linux and FreeBSD. Accepted by Neal Norwitz.
* - pybsddb Bug #1527939: bsddb module DBEnv dbremove and dbrenameGregory P. Smith2006-07-281-0/+4
| | | | | | | methods now allow their database parameter to be None as the sleepycat API allows. Also adds an appropriate test case for DBEnv.dbrename and dbremove.
* News about the repaired memory leak in defaultdict.Tim Peters2006-07-281-0/+3
|
* Bug #1529297: The rewrite of doctest for Python 2.4 unintentionallyTim Peters2006-07-271-0/+6
| | | | | lost that tests are sorted by name before being run. ``DocTestFinder`` has been changed to sort the list of tests it returns.
* Patch #1520294: Support for getset and member descriptors in types.py,Barry Warsaw2006-07-271-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | inspect.py, and pydoc.py. Specifically, this allows for querying the type of an object against these built-in C types and more importantly, for getting their docstrings printed in the interactive interpreter's help() function. This patch includes a new built-in module called _types which provides definitions of getset and member descriptors for use by the types.py module. These types are exposed as types.GetSetDescriptorType and types.MemberDescriptorType. Query functions are provided as inspect.isgetsetdescriptor() and inspect.ismemberdescriptor(). The implementations of these are robust enough to work with Python implementations other than CPython, which may not have these fundamental types. The patch also includes documentation and test suite updates. I commit these changes now under these guiding principles: 1. Silence is assent. The release manager has not said "no", and of the few people that cared enough to respond to the thread, the worst vote was "0". 2. It's easier to ask for forgiveness than permission. 3. It's so dang easy to revert stuff in svn, that you could view this as a forcing function. :) Windows build patches will follow.
* Amend news entry.Georg Brandl2006-07-271-2/+3
|
* News for patch #1529686.Tim Peters2006-07-271-0/+3
|
* Bump distutils version to 2.5, as several new featuresMartin v. Löwis2006-07-271-0/+2
| | | | have been introduced since 2.4.
* Bug #1521947: possible bug in mystrtol.c with recent gcc.Tim Peters2006-07-271-2/+7
| | | | | | | | | | | | | | | | | | | | | In general, C doesn't define anything about what happens when an operation on a signed integral type overflows, and PyOS_strtol() did several formally undefined things of that nature on signed longs. Some version of gcc apparently tries to exploit that now, and PyOS_strtol() could fail to detect overflow then. Tried to repair all that, although it seems at least as likely to me that we'll get screwed by bad platform definitions for LONG_MIN and/or LONG_MAX now. For that reason, I don't recommend backporting this. Note that I have no box on which this makes a lick of difference -- can't really test it, except to note that it didn't break anything on my boxes. Silent change: PyOS_strtol() used to return the hard-coded 0x7fffffff in case of overflow. Now it returns LONG_MAX. They're the same only on 32-bit boxes (although C doesn't guarantee that either ...).
* Put news item in right sectionAndrew M. Kuchling2006-07-261-3/+3
|
* Minor grammar fixAndrew M. Kuchling2006-07-261-1/+1
|
* [Bug #1471938] Fix build problem on Solaris 8 by conditionalizing the use of ↵Andrew M. Kuchling2006-07-261-0/+3
| | | | mvwgetnstr(); it was conditionalized a few lines below. Fix from Paul Eggert. I also tried out the STRICT_SYSV_CURSES case and am therefore removing the 'untested' comment.
* Bug #978833: Really close underlying socket in _socketobject.close.Martin v. Löwis2006-07-261-0/+2
| | | | | Fix httplib.HTTPConnection.getresponse to not close the socket if it is still needed for the response.
* Bug #1459963: properly capitalize HTTP header names.Georg Brandl2006-07-261-0/+3
|
* NEWS entry for #1525766.Georg Brandl2006-07-261-0/+3
|
* Hmm, only python2.x is installed, not plain python. Did that change recently?Neal Norwitz2006-07-261-0/+4
|
* Fix bug #1517990: IDLE keybindings on OSXRonald Oussoren2006-07-251-0/+9
| | | | | | | This adds a new key definition for OSX, which is slightly different from the classic mac definition. Also add NEWS item for a couple of bugfixes I added recently.
* Add comment for changes to test_ossaudiodev.Brett Cannon2006-07-251-0/+8
|
* Revert incomplete checkin.Martin v. Löwis2006-07-251-2/+0
|
* Bug #978833: Really close underlying socket in _socketobject.close.Martin v. Löwis2006-07-251-0/+2
| | | | Will backport to 2.4.
* Bug #1525817: Don't truncate short lines in IDLE's tool tips.Martin v. Löwis2006-07-251-0/+2
|
* Patch #1515343: Fix printing of deprecated string exceptions with aGeorg Brandl2006-07-241-0/+3
| | | | value in the traceback module.
* Patch #1523356: fix determining include dirs in python-config.Georg Brandl2006-07-241-3/+4
| | | | | | Also don't install "python-config" when doing altinstall, but always install "python-config2.x" and make a link to it like with the main executable.
* Bug #1524310: Properly report errors from FindNextFile in os.listdir.Martin v. Löwis2006-07-241-0/+2
| | | | Will backport to 2.4.
* Patch #1232023: Don't include empty path component from registry,Martin v. Löwis2006-07-241-0/+3
| | | | | so that the current directory does not get added to sys.path. Also fixes #1526785.
* Patch #1448199: Release GIL around ConnectRegistry.Martin v. Löwis2006-07-241-0/+2
|
* Resync optparse with Optik 1.5.3: minor tweaks for/to tests.Greg Ward2006-07-231-0/+2
|
* More RFC 2231 improvements for the email 4.0 package. As Mark Sapiro rightlyBarry Warsaw2006-07-211-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | points out there are really two types of continued headers defined in this RFC (i.e. "encoded" parameters with the form "name*0*=" and unencoded parameters with the form "name*0="), but we were were handling them both the same way and that isn't correct. This patch should be much more RFC compliant in that only encoded params are %-decoded and the charset/language information is only extract if there are any encoded params in the segments. If there are no encoded params then the RFC says that there will be no charset/language parts. Note however that this will change the return value for Message.get_param() in some cases. For example, whereas before if you had all unencoded param continuations you would have still gotten a 3-tuple back from this method (with charset and language == None), you will now get just a string. I don't believe this is a backward incompatible change though because the documentation for this method already indicates that either return value is possible and that you must do an isinstance(val, tuple) check to discriminate between the two. (Yeah that API kind of sucks but we can't change /that/ without breaking code.) Test cases, some documentation updates, and a NEWS item accompany this patch.