summaryrefslogtreecommitdiffstats
path: root/Misc
Commit message (Collapse)AuthorAgeFilesLines
* Issue #5211: Fix complex type to avoid implicit calls toMark Dickinson2010-02-211-0/+3
| | | | complex.__coerce__. Thanks Meador Inge for the patch.
* Issue 7970: When email.Parser.Parser parses a MIME message of typeR. David Murray2010-02-211-0/+3
| | | | | | | | | | message/rfc822 it turns it into an object whose body consists of a list containing a single Message object. HeaderParser, on the other hand, just copies the body as a string. Generator.flatten has a special handler for the message mime type that expected the body to be the one item list. This fails if the message was parsed by HeaderParser. So we now check to see if the body is a string first, and if so just we just emit it.
* #3426: os.path.abspath now returns unicode when its arg is unicode.Ezio Melotti2010-02-201-1/+3
|
* Issue #7633: Context method in the decimal module (with the exceptionMark Dickinson2010-02-182-0/+7
| | | | | | of the 'canonical' and 'is_canonical' methods) now consistently accept integer arguments wherever a Decimal instance is accepted. Thanks Juan José Conti for the patch.
* Stop providing crtassem.h symbols when compiling withMartin v. Löwis2010-02-181-0/+5
| | | | | Visual Studio 2010, as msvcr100.dll is not a platform assembly anymore.
* Issue #7903: Define _BSD_SOURCE through OpenBSD 4.9.Martin v. Löwis2010-02-151-1/+1
|
* Issue #3920: Define _BSD_SOURCE on OpenBSD 4.4.Martin v. Löwis2010-02-151-0/+5
|
* Issue 5754: tweak shelve doc wording to make it clearer that even whenR. David Murray2010-02-111-0/+1
| | | | | | | writeback=True values are written to the backing store when assigned to the shelf. Add test to confirm that this happens. Doc patch and added test by Robert Lehmann. I also fixed the cross references to the sync and close methods.
* Issue 7835: Shelve's __del__ method calls its close method, and itsR. David Murray2010-02-101-0/+3
| | | | | | | | | close method refers to an identifier in the global module namespace. This means that when __del__ is called during interpreter shutdown (if, for example, the calling program still has a pointer to the shelf), sometimes that global identifier would wind up being None, causing mysterious 'ignored' exceptions. This patch checks for the possible None value first before using the global, thus avoiding the error messages.
* #7712: add a temp_cwd context manager to test_support and use it in regrtest ↵Ezio Melotti2010-02-101-0/+11
| | | | to run all the tests in a temporary directory, saving the original CWD in test_support.SAVEDCWD. Thanks to Florent Xicluna who helped with the patch.
* Issue 7893 and Issue 7588Michael Foord2010-02-101-0/+5
|
* Issue #2746: Don't escape ampersands and angle brackets ("&", "<", ">")Antoine Pitrou2010-02-092-0/+6
| | | | | | in XML processing instructions and comments. These raw characters are allowed by the XML specification, and are necessary when outputting e.g. PHP code in a processing instruction. Patch by Neil Muller.
* Issue 6003: ZipFile.writestr "compression_type" argumentRonald Oussoren2010-02-071-0/+3
|
* Issue #7869: logging: improved format-time diagnostics and removed some ↵Vinay Sajip2010-02-071-0/+2
| | | | 1.5.2 support code.
* Issue #7868: logging: added loggerClass attribute to Manager.Vinay Sajip2010-02-071-0/+2
|
* post release updatesBenjamin Peterson2010-02-061-0/+12
|
* bump version to 2.7a3v2.7a3Benjamin Peterson2010-02-062-3/+3
|
* issue #7728: test_timeout was using a hardcoded port, which wasR. David Murray2010-02-061-0/+8
| | | | | causing buildbot failures. Changed to use test_support.bind_port. Patch by Florent Xicluna.
* Resolve bug 7847 by including documentation for -J, -U, and -X under "OptionsBarry Warsaw2010-02-051-2/+5
| | | | you shouldn't use".
* Issue #5677: Explicitly forbid write operations on read-only file objects,Antoine Pitrou2010-02-052-0/+6
| | | | | | and read operations on write-only file objects. On Windows, the system C library would return a bogus result; on Solaris, it was possible to crash the interpreter. Patch by Stefan Krah.
* normalize exceptions passed to the __exit__ method #7853Benjamin Peterson2010-02-051-0/+3
| | | | | | | | | In Python 2.x, exceptions in finally blocks are not normalized. Since with statements are implemented using finally blocks, ceval.c had to be tweaked to distinguish between with finally blocks and normal ones. A test for the finalization of generators containing with statements was also added.
* Issue #7851: logging: clarification on logging configuration files.Vinay Sajip2010-02-041-0/+2
|
* Issue #4772: Raise a ValueError when an unknown Bluetooth protocol isAntoine Pitrou2010-02-041-0/+5
| | | | | | specified, rather than fall through to AF_PACKET (in the `socket` module). Also, raise ValueError rather than TypeError when an unknown TIPC address type is specified. Patch by Brian Curtin.
* Logging: Implemented PEP 391.Vinay Sajip2010-02-041-0/+2
|
* Add Chris Rebert to ACKS for issue 6760 Popen doc improvements.R. David Murray2010-02-041-0/+1
|
* Issue #7385: Fix a crash in `MemoryView_FromObject` whenAntoine Pitrou2010-02-021-0/+3
| | | | `PyObject_GetBuffer` fails. Patch by Florent Xicluna.
* Issue #7819: Check sys.call_tracing() arguments types.Victor Stinner2010-01-311-0/+2
| | | | py3k was already patched by issue #3661.
* - Issue #6939: Fix file I/O objects in the `io` module to keep the originalAntoine Pitrou2010-01-312-0/+6
| | | | | | file position when calling `truncate()`. It would previously change the file position to the given argument, which goes against the tradition of ftruncate() and other truncation APIs. Patch by Pascal Chambon.
* - Update python manual page (options -B, -O0, -s, environment variablesMatthias Klose2010-01-312-5/+42
| | | | PYTHONDONTWRITEBYTECODE, PYTHONNOUSERSITE).
* Issue #7767: Add new C-API function PyLong_AsLongLongAndOverflow, aMark Dickinson2010-01-301-0/+3
| | | | | long long variant of PyLong_AsLongAndOverflow. Patch by Case Van Horsen.
* Add Victor Stinner.Martin v. Löwis2010-01-301-0/+3
|
* Issue #7788: Fix a crash produced by deleting a list slice with hugeMark Dickinson2010-01-291-0/+3
| | | | step value. Patch by Marcin Bachry.
* an -> aBenjamin Peterson2010-01-281-2/+2
|
* add compat noteBenjamin Peterson2010-01-281-0/+2
|
* Issue #7610: Reworked implementation of the internalAntoine Pitrou2010-01-271-0/+7
| | | | | | | | :class:`zipfile.ZipExtFile` class used to represent files stored inside an archive. The new implementation is significantly faster and can be wrapped in a :class:`io.BufferedReader` object for more speedups. It also solves an issue where interleaved calls to `read()` and `readline()` give wrong results. Patch by Nir Aides.
* Issue #6963: Added maxtasksperchild argument to multiprocessing.PoolJesse Noller2010-01-272-0/+6
|
* raise a clear TypeError when trying to register a non-classBenjamin Peterson2010-01-271-0/+2
|
* Issue #7766: Change sys.getwindowsversion() return value to a named tuple ↵Eric Smith2010-01-271-0/+5
| | | | and add the additional members returned in an OSVERSIONINFOEX structure. The new members are service_pack_major, service_pack_minor, suite_mask, and product_type.
* Add a news entry for the functions verify and vereq that have been removed ↵Ezio Melotti2010-01-251-0/+2
| | | | in r77729 and r77731
* fix an UnboundLocalError when the release file is empty #7773Benjamin Peterson2010-01-252-0/+4
|
* Fixed #7748: now upload and register commands don't need to force the ↵Tarek Ziadé2010-01-241-1/+6
| | | | encoding anymore : DistributionMetada returns utf8 strings
* - Expat: Fix DoS via XML document with malformed UTF-8 sequencesMatthias Klose2010-01-221-0/+6
| | | | (CVE_2009_3560).
* - Mention CVE-2009-3720 for change in r74429.Matthias Klose2010-01-221-1/+1
|
* Add a NEWS entry for r77599 and r77600.Antoine Pitrou2010-01-181-0/+7
|
* Issue #7632: When Py_USING_MEMORY_DEBUGGER is defined, disable theMark Dickinson2010-01-171-0/+4
| | | | | | | | private memory allocation scheme in dtoa.c, along with a piece of code that caches powers of 5 for future use. This makes it easier to detect dtoa.c memory leaks with Valgrind or similar tools. Patch by Stefan Krah.
* - Issue #7658: Ensure that the new pythonw executable works on OSX 10.4Ronald Oussoren2010-01-171-1/+5
| | | | | | | | | | | | - Issue #7714: Use ``gcc -dumpversion`` to detect the version of GCC on MacOSX. - Make configure look for util.h as well as libutil.h. The former is the header file that on OSX contains the defition of openpty. (Needed to compile for OSX 10.4 on OSX 10.6) - Use the correct definition of CC to compile the pythonw executable
* Issue #7632: Fix a memory leak in _Py_dg_strtod.Mark Dickinson2010-01-171-2/+3
|
* Issue #7561: Operations on empty bytearrays (such as `int(bytearray())`)Antoine Pitrou2010-01-171-0/+5
| | | | | | could crash in many places because of the PyByteArray_AS_STRING() macro returning NULL. The macro now returns a statically allocated empty string instead.
* typo: use one instead instead of twoEzio Melotti2010-01-161-2/+2
|
* Issue #7632: Fix a serious wrong output bug for string -> float conversion.Mark Dickinson2010-01-161-4/+6
| | | | | | Also remove some now unused variables, and add comments clarifying the possible outputs of the parsing section of _Py_dg_strtod. Thanks Eric Smith for reviewing.