summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Patch #1529514: More openbsd platforms for ctypes.Thomas Heller2006-07-283-84/+61
| | | | | | 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-284-38/+161
| | | | | | 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.
* Remove a useless XXX comment.Thomas Heller2006-07-281-7/+7
| | | | | Cosmetic changes to the code so that the #ifdef _UNICODE block doesn't mess emacs code formatting.
* Fix spelling.Georg Brandl2006-07-284-4/+4
|
* Patch #1529686: also run test_email_codecs with regrtest.py.Georg Brandl2006-07-282-7/+11
|
* Add example. Should I propagate this example to all the other DBM-ish ↵Andrew M. Kuchling2006-07-281-0/+26
| | | | modules, too?
* Don't overwrite built-in name; add some blank lines for readabilityAndrew M. Kuchling2006-07-281-1/+3
|
* Add exampleAndrew M. Kuchling2006-07-281-1/+44
|
* Add exampleAndrew M. Kuchling2006-07-281-0/+12
|
* Typo fixAndrew M. Kuchling2006-07-281-1/+1
|
* [Patch #1529811] Correction to description of r|* modeAndrew M. Kuchling2006-07-281-3/+3
|
* Allow socketmodule to compile on NetBSD -current, whose bluetooth APIMatt Fleming2006-07-283-0/+12
| | | | differs from both Linux and FreeBSD. Accepted by Neal Norwitz.
* Add UUID for upcoming 2.5b3.Martin v. Löwis2006-07-281-0/+1
|
* Try to find the MAC addr on various flavours of Unix. This seems hopeless.Neal Norwitz2006-07-281-5/+31
| | | | The reduces the test_uuid failures, but there's still another method failing.
* Live with that "the hardware address" is an ill-definedTim Peters2006-07-283-20/+38
| | | | | | | concept, and that different ways of trying to find "the hardware address" may return different results. Certainly true on both of my Windows boxes, and in different ways (see whining on python-dev).
* Ensure the actual number matches the expected countNeal Norwitz2006-07-281-3/+4
|
* - pybsddb Bug #1527939: bsddb module DBEnv dbremove and dbrenameGregory P. Smith2006-07-283-9/+38
| | | | | | | 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
|
* 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
|