summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* News about the repaired memory leak in defaultdict.Tim Peters2006-07-281-0/+3
|
* defdict_reduce(): Plug leaks.Tim Peters2006-07-281-10/+11
| | | | | | | We didn't notice these before because test_defaultdict didn't actually do anything before Georg fixed that earlier today. Neal's next refleak run then showed test_defaultdict leaking 9 references on each run. That's repaired by this checkin.
* Enable the building of the _types module on Windows.Barry Warsaw2006-07-272-6/+12
| | | | Note that this has only been tested for VS 2003 since that's all I have.
* Add missing svn:eol-style property to text files.Tim Peters2006-07-270-0/+0
|
* Whitespace normalization.Tim Peters2006-07-271-1/+1
|
* Bug #1529297: The rewrite of doctest for Python 2.4 unintentionallyTim Peters2006-07-273-7/+11
| | | | | 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-2710-10/+236
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Add exampleAndrew M. Kuchling2006-07-271-0/+12
|
* Add exampleAndrew M. Kuchling2006-07-271-0/+14
|
* Reword paragraphAndrew M. Kuchling2006-07-271-3/+2
|
* check_node(): stop spraying mystery output to stderr.Tim Peters2006-07-271-8/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | When a node number disagrees, keep track of all sources & the node numbers they reported, and stick all that in the error message. Changed all callers to supply a non-empty "source" argument; made the "source" argument non-optional. On my box, test_uuid still fails, but with the less confusing output: AssertionError: different sources disagree on node: from source 'getnode1', node was 00038a000015 from source 'getnode2', node was 00038a000015 from source 'ipconfig', node was 001111b2b7bf Only the last one appears to be correct; e.g., C:\Code\python\PCbuild>getmac Physical Address Transport Name =================== ========================================================== 00-11-11-B2-B7-BF \Device\Tcpip_{190FB163-5AFD-4483-86A1-2FE16AC61FF1} 62-A1-AC-6C-FD-BE \Device\Tcpip_{8F77DF5A-EA3D-4F1D-975E-D472CEE6438A} E2-1F-01-C6-5D-88 \Device\Tcpip_{CD18F76B-2EF3-409F-9B8A-6481EE70A1E4} I can't find anything on my box with MAC 00-03-8a-00-00-15, and am not clear on where that comes from.
* If binhex is higher-level than binascii, it should come first in the chapterAndrew M. Kuchling2006-07-271-1/+1
|
* Mention base64 module; rewrite last sentence to be more positiveAndrew M. Kuchling2006-07-271-4/+5
|
* Add punctuation mark; add some examplesAndrew M. Kuchling2006-07-271-1/+25
|
* Update URL; add exampleAndrew M. Kuchling2006-07-271-1/+19
|
* Repair typosAndrew M. Kuchling2006-07-271-1/+1
|
* Add missing wordAndrew M. Kuchling2006-07-271-1/+2
|
* Typo fix ('publically' is rare, poss. non-standard)Andrew M. Kuchling2006-07-271-1/+1
|
* Remove code that is no longer used (ctypes.com).Thomas Heller2006-07-271-38/+7
| | | | | | | | | Fix the DllGetClassObject and DllCanUnloadNow so that they forward the call to the comtypes.server.inprocserver module. The latter was never documented, never used by published code, and didn't work anyway, so I think it does not deserve a NEWS entry (but I might be wrong).
* Add exampleAndrew M. Kuchling2006-07-271-0/+37
|
* Make uuid test suite pass on this box by requesting output with LC_ALL=C.Georg Brandl2006-07-272-3/+10
|
* Amend news entry.Georg Brandl2006-07-271-2/+3
|
* Whitespace normalization.Tim Peters2006-07-272-2/+1
|
* News for patch #1529686.Tim Peters2006-07-271-0/+3
|
* Add test_main() methods. These three tests were never runGeorg Brandl2006-07-273-6/+17
| | | | | | by regrtest.py. We really need a simpler testing framework.
* Reformat docstring; fix typoAndrew M. Kuchling2006-07-271-1/+2
|
* Bump distutils version to 2.5, as several new featuresMartin v. Löwis2006-07-272-1/+3
| | | | have been introduced since 2.4.
* No functional change. Add comment and assert to describe why there cannot ↵Neal Norwitz2006-07-271-2/+9
| | | | be overflow which was reported by Klocwork. Discussed on python-dev
* Closure can't be NULL at this point since we know it's a tuple.Neal Norwitz2006-07-271-1/+1
| | | | Reported by Klocwork # 74.
* Don't kill a normal instance of python running on windows when checkingNeal Norwitz2006-07-271-1/+12
| | | | | | to kill a cygwin instance. build\\python.exe was matching a normal windows instance. Prefix that with a \\ to ensure build is a directory and not PCbuild. As discussed on python-dev.
* Bug #1521947: possible bug in mystrtol.c with recent gcc.Tim Peters2006-07-272-11/+28
| | | | | | | | | | | | | | | | | | | | | 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 ...).
* Whitespace normalization.Tim Peters2006-07-262-2/+2
|
* Allow the 'onerror' argument to walk_packages() to catch any Exception, notPhillip J. Eby2006-07-261-5/+15
| | | | | just ImportError. This allows documentation tools to better skip unimportable packages.
* Use sys.exc_info()Andrew M. Kuchling2006-07-261-1/+2
|
* Use sys.exc_info()Andrew M. Kuchling2006-07-261-1/+1
|
* Put news item in right sectionAndrew M. Kuchling2006-07-261-3/+3
|
* Minor grammar fixAndrew M. Kuchling2006-07-261-1/+1
|
* Correct error messageAndrew M. Kuchling2006-07-261-1/+1
|
* [Bug #1471938] Fix build problem on Solaris 8 by conditionalizing the use of ↵Andrew M. Kuchling2006-07-262-2/+8
| | | | 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-263-2/+7
| | | | | Fix httplib.HTTPConnection.getresponse to not close the socket if it is still needed for the response.
* Part of bug #1523610: fix miscalculation of buffer length.Georg Brandl2006-07-263-3/+39
| | | | | Also add a guard against NULL in converttuple and add a test case (that previously would have crashed).
* Bug #1459963: properly capitalize HTTP header names.Georg Brandl2006-07-264-26/+29
|
* NEWS entry for #1525766.Georg Brandl2006-07-261-0/+3
|
* Forward port some fixes that were in email 2.5 but for some reason didn't makeBarry Warsaw2006-07-263-1/+100
| | | | | | | it into email 4.0. Specifically, in Message.get_content_charset(), handle RFC 2231 headers that contain an encoding not known to Python, or a character in the data that isn't in the charset encoding. Also forward port the appropriate unit tests.
* Hmm, only python2.x is installed, not plain python. Did that change recently?Neal Norwitz2006-07-261-0/+4
|
* Whitespace normalization.Tim Peters2006-07-251-3/+3
|
* Fix bug #1517990: IDLE keybindings on OSXRonald Oussoren2006-07-254-2/+64
| | | | | | | 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.
* Fix for bug #1525447 (renaming to MacOSmodule.c would also work, but notRonald Oussoren2006-07-251-0/+0
| | | | | | | | without causing problems for anyone that is on a case-insensitive filesystem). Setup.py tries to compile the MacOS extension from MacOSmodule.c, while the actual file is named macosmodule.c. This is no problem on the (default) case-insensitive filesystem, but doesn't work on case-sensitive filesystems.
* Install the compatibility symlink to libpython.a on OSX using 'ln -sf' insteadRonald Oussoren2006-07-251-1/+1
| | | | of 'ln -s', this avoid problems when reinstalling python.
* Document the crashers that will not go away soon as "won't fix",Armin Rigo2006-07-252-0/+15
| | | | and explain why.