summaryrefslogtreecommitdiffstats
path: root/Misc
Commit message (Collapse)AuthorAgeFilesLines
* Patch 1046644 - improved distutils support for SWIG.Anthony Baxter2004-10-142-0/+6
|
* Patch 983206: distutils obeys LDSHARED env var. Removed the code inAnthony Baxter2004-10-132-0/+4
| | | | | Python's own setup.py that did the same thing (and tested on Solaris, where LDSHARED is needed...)
* 969574Anthony Baxter2004-10-132-0/+4
|
* Fix PEP numberAndrew M. Kuchling2004-10-121-1/+1
|
* Added Peter Astrand's subprocess module.Fredrik Lundh2004-10-121-0/+2
|
* Added note about the new usegmt argument to email.Utils.formatdate().Barry Warsaw2004-10-111-0/+1
|
* SF patch 1044089: New C API function PyEval_ThreadsInitialized(), by NickTim Peters2004-10-111-0/+5
| | | | | Coghlan, for determining whether PyEval_InitThreads() has been called. Also purged the undocumented+unused _PyThread_Started int.
* PyInterpreterState_New(), PyThreadState_New(): use malloc/free directly.Tim Peters2004-10-101-0/+10
| | | | | | This appears to finish repairs for SF bug 1041645. This is a critical bugfix.
* find_key(): This routine wasn't thread-correct, and accounts for theTim Peters2004-10-101-0/+5
| | | | | | release-build failures noted in bug 1041645. This is a critical bugfix. I'm not going to backport it, though (no time).
* Add helpful commentAndrew M. Kuchling2004-10-071-0/+4
|
* Take out Guido's name and put in the PSFAndrew M. Kuchling2004-10-071-7/+1
|
* Update two URLsAndrew M. Kuchling2004-10-071-2/+2
|
* Add -m to man pageAndrew M. Kuchling2004-10-071-0/+11
|
* SF patch #1035498: -m option to run a module as a scriptRaymond Hettinger2004-10-071-1/+6
| | | | (Contributed by Nick Coghlan.)
* Locale data that contains regex metacharacters are now properly escaped.Brett Cannon2004-10-061-0/+5
| | | | Closes bug #1039270.
* Read the text files to be compared in universal-newline mode.Tim Peters2004-10-031-1/+5
|
* added plistlib news itemJust van Rossum2004-10-031-1/+3
|
* SF bug #997050: Document, test, & check for non-string values in ↵David Goodger2004-10-031-0/+6
| | | | ConfigParser. Moved the new string-only restriction added in rev. 1.65 to the SafeConfigParser class, leaving existing ConfigParser & RawConfigParser behavior alone, and documented the conditions under which non-string values work.
* SF bug #1017864: ConfigParser now correctly handles default keys, processing ↵David Goodger2004-10-031-0/+5
| | | | them with ``ConfigParser.optionxform`` when supplied, consistent with the handling of config file entries and runtime-set options.
* Big email 3.0 API changes, with updated unit tests and documentation.Barry Warsaw2004-10-031-0/+13
| | | | | | | | | | | | | | | | | Briefly (from the NEWS file): - Updates for the email package: + All deprecated APIs that in email 2.x issued warnings have been removed: _encoder argument to the MIMEText constructor, Message.add_payload(), Utils.dump_address_pair(), Utils.decode(), Utils.encode() + New deprecations: Generator.__call__(), Message.get_type(), Message.get_main_type(), Message.get_subtype(), the 'strict' argument to the Parser constructor. These will be removed in email 3.1. + Support for Python earlier than 2.3 has been removed (see PEP 291). + All defect classes have been renamed to end in 'Defect'. + Some FeedParser fixes; also a MultipartInvariantViolationDefect will be added to messages that claim to be multipart but really aren't. + Updates to documentation.
* SF bug#1038917 fix typos (Contributed by George Yoshida.)Raymond Hettinger2004-10-021-1/+1
|
* Noted the fix to deque gc.Tim Peters2004-10-011-1/+3
|
* Add note about inclusion of DarwinPorts directories in setup.py on darwin.Brett Cannon2004-09-281-0/+4
|
* Updated doctest doc news.Tim Peters2004-09-261-1/+4
|
* Add warning notation about using 'bomb' setting.Brett Cannon2004-09-251-1/+3
|
* Granted Noam Raphael's request for minor improvements to the re module andRaymond Hettinger2004-09-241-0/+5
| | | | | | | | | | | | | | its documentation. * Documented that the compiled re methods are supposed to be more full featured than their simpilified function counterparts. * Documented the existing start and stop position arguments for the findall() and finditer() methods of compiled regular expression objects. * Added an optional flags argument to the re.findall() and re.finditer() functions. This aligns their API with that for re.search() and re.match().
* Introduced a Py_IS_NAN macro, which probably works on the major platformsTim Peters2004-09-231-1/+5
| | | | | | today. pyconfig.h can override it if not, and can also override Py_IS_INFINITY now. Py_IS_NAN and Py_IS_INFINITY are overridden now for Microsoft compilers, using efficient MS-specific spellings.
* SF bug #513866: Float/long comparison anomaly.Tim Peters2004-09-231-1/+10
| | | | | | | | | | | | | | | | | | When an integer is compared to a float now, the int isn't coerced to float. This avoids spurious overflow exceptions and insane results. This should compute correct results, without raising spurious exceptions, in all cases now -- although I expect that what happens when an int/long is compared to a NaN is still a platform accident. Note that we had potential problems here even with "short" ints, on boxes where sizeof(long)==8. There's #ifdef'ed code here to handle that, but I can't test it as intended. I tested it by changing the #ifdef to trigger on my 32-bit box instead. I suppose this is a bugfix candidate, but I won't backport it. It's long-winded (for speed) and messy (because the problem is messy). Note that this also depends on a previous 2.4 patch that introduced _Py_SwappedOp[] as an extern.
* SF patch #1031667: Fold tuples of constants into a single constantRaymond Hettinger2004-09-221-0/+3
| | | | | | | | Example: >>> import dis >>> dis.dis(compile('1,2,3', '', 'eval')) 0 0 LOAD_CONST 3 ((1, 2, 3)) 3 RETURN_VALUE
* Clarify that iteration is over headers, not Mime elements.Raymond Hettinger2004-09-221-1/+2
|
* Bug #1030125: rfc822 __iter__ problemRaymond Hettinger2004-09-221-0/+1
| | | | Add iteration support to the Message class.
* Add a commented-out recipe on making trailing whitespace explicit.Brett Cannon2004-09-201-0/+7
| | | | If people think this is not too intrusive it could be uncommented.
* Patch #1024670: Support int objects in PyLong_AsUnsignedLong[Mask].Martin v. Löwis2004-09-201-1/+1
|
* When this file is sourced in, or used as, one's vimrc file it will set the ↵Brett Cannon2004-09-191-0/+78
| | | | | | | | proper settings to follow the style guidelines laid out in PEPs 7 & 8 as best it can without forcing extraneous settings. Suggested settings are commented out and included at the end of the file. The goal is to have this file prevent as much as possible from deviating from the style guidelines. It is not meant to collect every cool macro possible for Python. Any useful settings for features included with Vim can be included and commented out, but anything overly extraneous should be left out.
* Patch #1029061: Always extract member names from the tarinfo.Martin v. Löwis2004-09-181-0/+3
|
* Patch #1025790: Add status code constants to httplib.Martin v. Löwis2004-09-182-0/+3
|
* SF bug #1028306: date-datetime comparisonTim Peters2004-09-161-0/+10
| | | | Treat comparing a date to a datetime like a mixed-type comparison.
* mention httplib ipv6 fixSkip Montanaro2004-09-141-0/+2
|
* Fix quoting.Walter Dörwald2004-09-131-1/+1
|
* Reluctantly, rehabilitate doctest.master.Tim Peters2004-09-131-7/+15
|
* Typo fix: 'comparisions' is not a wordAndrew M. Kuchling2004-09-101-1/+1
|
* Patch #808120: Add --force-arch=ARCH to bdist_rpm.py.Martin v. Löwis2004-09-102-2/+4
|
* Patch #808115: Add script support to bdist_rpm.py.Martin v. Löwis2004-09-101-0/+2
|
* SF patch #998993: The UTF-8 and the UTF-16 stateful decoders now supportWalter Dörwald2004-09-071-2/+11
| | | | | | | | | | | decoding incomplete input (when the input stream is temporarily exhausted). codecs.StreamReader now implements buffering, which enables proper readline support for the UTF-16 decoders. codecs.StreamReader.read() has a new argument chars which specifies the number of characters to return. codecs.StreamReader.readline() and codecs.StreamReader.readlines() have a new argument keepends. Trailing "\n"s will be stripped from the lines if keepends is false. Added C APIs PyUnicode_DecodeUTF8Stateful and PyUnicode_DecodeUTF16Stateful.
* compiler.transformer: correct lineno attribute when possibleJeremy Hylton2004-09-071-0/+1
| | | | | | | | | | | | | | | | SF patch #1015989 The basic idea of this patch is to compute lineno attributes for all AST nodes. The actual implementation lead to a lot of restructing and code cleanup. The generated AST nodes now have an optional lineno argument to constructor. Remove the top-level asList(), since it didn't seem to serve any purpose. Add an __iter__ to ast nodes. Use isinstance() instead of explicit type tests. Change transformer to use the new lineno attribute, which replaces three lines of code with one. Use universal newlines so that we can get rid of special-case code for line endings. Use lookup_node() in a few more frequently called, but simple com_xxx methods(). Change string exception to class exception.
* Ported test__locale to unittest.Brett Cannon2004-09-061-0/+61
|
* update versionAnthony Baxter2004-09-021-1/+1
|
* release dateAnthony Baxter2004-09-021-1/+1
|
* Add news item.Andrew M. Kuchling2004-08-311-0/+3
|
* Remove mpz, rotorAndrew M. Kuchling2004-08-311-2/+1
|