summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Add some asserts that we got good params passedNeal Norwitz2006-07-211-0/+3
|
* Addressed SF#1524081 by using a dictionary to map level names to syslog ↵Vinay Sajip2006-07-201-3/+25
| | | | priority names, rather than a string.lower().
* Avoid occasional failure to detect closing paren properly.Kurt B. Kaiser2006-07-203-10/+15
| | | | | | | | Patch 1407280 Tal Einat M ParenMatch.py M NEWS.txt M CREDITS.txt
* markup fixFred Drake2006-07-201-2/+2
|
* Updated documentation for TimedRotatingFileHandler relating to how rollover ↵Vinay Sajip2006-07-201-7/+5
| | | | files are named. The previous documentation was wrongly the same as for RotatingFileHandler.
* Guard for _active being None in __del__ method.Georg Brandl2006-07-201-1/+1
|
* Fix SF#1516184 (again) and add a test to prevent regression.Phillip J. Eby2006-07-202-2/+4
| | | | (There was a problem with empty filenames still causing recursion)
* Revert r50706 (Whitespace normalization) andMartin v. Löwis2006-07-191-205/+184
| | | | | r50697: Comments and docs cleanups, and some little fixes per recommendation from Raymond Hettinger.
* Make sure the _ctypes extension can be compiled when WITH_THREAD isThomas Heller2006-07-192-0/+6
| | | | | not defined on Windows, even if that configuration is probably not supported at all.
* SF bug 1524317: configure --without-threads fails to buildTim Peters2006-07-193-52/+78
| | | | | | | | | | | | | | | | | | Moved the code for _PyThread_CurrentFrames() up, so it's no longer in a huge "#ifdef WITH_THREAD" block (I didn't realize it /was/ in one). Changed test_sys's test_current_frames() so it passes with or without thread supported compiled in. Note that test_sys fails when Python is compiled without threads, but for an unrelated reason (the old test_exit() fails with an indirect ImportError on the `thread` module). There are also other unrelated compilation failures without threads, in extension modules (like ctypes); at least the core compiles again. Do we really support --without-threads? If so, there are several problems remaining.
* Whitespace normalization.Tim Peters2006-07-183-11/+11
|
* Patch #1524429: Use repr instead of backticks again.Martin v. Löwis2006-07-182-1/+3
|
* Comments and docs cleanups, and some little fixes, provided by Santiágo ↵Facundo Batista2006-07-181-184/+205
| | | | Peresón
* Fix bug #1520914. Starting in 2.4, time.strftime() began to check the boundsBrett Cannon2006-07-184-16/+56
| | | | | | | of values in the time tuple passed in. Unfortunately people came to rely on undocumented behaviour of setting unneeded values to 0, regardless of if it was within the valid range. Now those values force the value internally to the minimum value when 0 is passed in.
* Rebinding Tab key was inserting 'tab' instead of 'Tab'. Bug 1179168.Kurt B. Kaiser2006-07-182-1/+12
|
* decode_rfc2231(): Be more robust against buggy RFC 2231 encodings.Barry Warsaw2006-07-173-4/+43
| | | | | | | | | | | | | | | | | Specifically, instead of raising a ValueError when there is a single tick in the parameter, simply return that the entire string unquoted, with None for both the charset and the language. Also, if there are more than 2 ticks in the parameter, interpret the first three parts as the standard RFC 2231 parts, then the rest of the parts as the encoded string. Test cases added. Original fewer-than-3-parts fix by Tokio Kikuchi. Resolves SF bug # 1218081. I will back port the fix and tests to Python 2.4 (email 3.0) and Python 2.3 (email 2.5). Also, bump the version number to email 4.0.1, removing the 'alpha' moniker.
* Patch 1479219 - Tal EinatKurt B. Kaiser2006-07-171-12/+18
| | | | | | | | | 1. 'as' highlighted as builtin in comment string on import line 2. Comments such as "#False identity" which start with a keyword immediately after the '#' character aren't colored as comments. 3. u or U beginning unicode string not correctly highlighted Closes bug 1325071
* Attribute more featuresAndrew M. Kuchling2006-07-171-10/+24
|
* Add missing NEWS item (#1522771)Georg Brandl2006-07-171-0/+4
|
* Remove usage of sets module (patch #1500609).Georg Brandl2006-07-174-9/+6
|
* document xmlcore (still minimal; needs mention in each of the xml.* modules)Fred Drake2006-07-171-0/+11
| | | | SF bug #1504456 (partial)
* Add NEWS entry for a bunch of fixes due to warnings produced by Klocworks ↵Neal Norwitz2006-07-171-0/+2
| | | | static analysis tool.
* Reported by Klocwork #151.Neal Norwitz2006-07-171-2/+13
| | | | | | v2 can be NULL if exception2 is NULL. I don't think that condition can happen, but I'm not sure it can't either. Now the code will protect against either being NULL.
* otherset is known to be non-NULL based on checks before and DECREF after.Neal Norwitz2006-07-171-2/+2
| | | | | | DECREF otherset rather than XDECREF in error conditions too. Reported by Klockwork #154.
* Stop INCREFing name, then checking if it's NULL. name (f_name) should neverNeal Norwitz2006-07-171-3/+6
| | | | | | be NULL so assert it. Fix one place where we could have passed NULL. Reported by Klocwork #66.
* PyFunction_SetDefaults() is documented as taking None or a tuple.Neal Norwitz2006-07-161-2/+2
| | | | | | A NULL would crash the PyTuple_Check(). Now make NULL return a SystemError. Reported by Klocwork #73.
* Handle a NULL name properly.Neal Norwitz2006-07-161-3/+3
| | | | Reported by Klocwork #67
* Use sizeof(buffer) instead of duplicating the constants to ensure they won'tNeal Norwitz2006-07-161-7/+7
| | | | | | | | | be wrong. The real change is to pass (bufsz - 1) to PyOS_ascii_formatd and 1 to strncat. strncat copies n+1 bytes from src (not dest). Reported by Klocwork #58.
* Fix memory leak under some conditions.Neal Norwitz2006-07-161-7/+9
| | | | Reported by Klocwork, #98.
* Fix memory leaks in some conditions.Neal Norwitz2006-07-161-9/+11
| | | | Reported by Klocwork #152.
* proto was dereffed above and is known to be good. No need for X.Neal Norwitz2006-07-161-1/+1
| | | | Reported by Klocwork, #39.
* self is dereffed (and passed as first arg), so it's known to be good.Neal Norwitz2006-07-161-2/+2
| | | | | | func is returned from PyArg_ParseTuple and also dereffed. Reported by Klocwork, #30 (self one at least).
* a & b were dereffed above, so they are known to be valid pointers.Neal Norwitz2006-07-161-3/+2
| | | | | | z is known to be NULL, nothing to DECREF. Reported by Klockwork, #107.
* Bug #1512814, Fix incorrect lineno's when code within a functionNeal Norwitz2006-07-163-5/+33
| | | | had more than 255 blank lines. Byte codes need to go first, line #s second.
* clean up some link markupFred Drake2006-07-161-2/+2
|
* Patch #1220874: Update the binhex module for Mach-O.Bob Ippolito2006-07-152-16/+11
|
* Bug #15187702 : ext/win-cookbook.html has a broken link to distutilsGeorge Yoshida2006-07-151-5/+7
|
* typoFredrik Lundh2006-07-141-1/+1
|
* Updates for the ctypes documentation.Thomas Heller2006-07-141-37/+27
|
* Patch #1521817: The index range checking on ctypes arrays containingThomas Heller2006-07-143-75/+12
| | | | exactly one element is enabled again.
* Make the prototypes of our private PyUnicode_FromWideChar andThomas Heller2006-07-142-5/+6
| | | | | PyUnicode_AsWideChar replacement functions compatible to the official functions by using Py_ssize_t instead of int.
* Bug #1223937: CalledProcessError.errno -> CalledProcessError.returncode.Peter Astrand2006-07-144-13/+21
|
* Mention new optionsAndrew M. Kuchling2006-07-141-0/+5
|
* Fix Debug build of _ssl.Martin v. Löwis2006-07-143-10/+15
|
* Add debug output to analyse buildbot failure.Martin v. Löwis2006-07-141-0/+1
|
* Extend build_ssl to Win64, using VSExtComp.Martin v. Löwis2006-07-145-45/+78
|
* Try to improve grammar further.Neal Norwitz2006-07-141-1/+1
|
* Patch #1521874: grammar errors in doanddont.tex.Georg Brandl2006-07-141-2/+3
|
* Typo fixAndrew M. Kuchling2006-07-131-1/+1
|
* Fix misleading words.Thomas Heller2006-07-131-1/+1
|