summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* fix compiler warningsGregory P. Smith2008-04-121-5/+5
|
* Don't offend snake lovers.Georg Brandl2008-04-121-1/+1
|
* Add Jeroen.Georg Brandl2008-04-121-0/+3
|
* #2615: small consistency update by Jeroen Ruigrok van der Werven.Georg Brandl2008-04-121-4/+4
|
* Use absolute path in sys.path.Georg Brandl2008-04-121-1/+1
|
* Applied patch #2617 from Frank Wierzbicki wit some extras from meChristian Heimes2008-04-123-2/+20
| | | | -J and -X are now reserved for Jython and non-standard arguments (e.g. IronPython). I've added some extra comments to make sure the reservation don't get missed in the future.
* Performance improvements.Thomas Heller2008-04-111-3/+3
|
* Move backwards compatibility macro to the correct place;Thomas Heller2008-04-111-1/+1
| | | | PyIndex_Check() was introduced in Python 2.5.
* Use issue directiveAndrew M. Kuchling2008-04-101-181/+106
|
* Add punctuationAndrew M. Kuchling2008-04-101-1/+1
|
* Remove forward-looking statementAndrew M. Kuchling2008-04-101-3/+3
|
* get rid of assert (size >= 0) now that an explicit if (size < 0) is in the code.Gregory P. Smith2008-04-103-3/+0
|
* Remove the test file before writing it in case there is no write permission.Neal Norwitz2008-04-104-5/+7
| | | | | | This might help fix some of the failures on Windows box(es). It doesn't hurt either way and ensure the tests are a little more self contained (ie have less assumptions).
* Merged revisions 62080-62262 via svnmerge fromMartin v. Löwis2008-04-106-13/+119
| | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3 ........ r62092 | collin.winter | 2008-04-01 18:27:10 +0200 (Di, 01 Apr 2008) | 1 line Add get_prev_sibling() to complement pytree's get_next_sibling(). ........ r62226 | collin.winter | 2008-04-08 21:07:56 +0200 (Di, 08 Apr 2008) | 1 line Add min() and max() to the list of special contexts that don't require adding list() calls around dict methods. ........ r62232 | collin.winter | 2008-04-09 00:12:38 +0200 (Mi, 09 Apr 2008) | 4 lines Fix for http://bugs.python.org/issue2596 This extends fix_xrange to know about the (mostly) same special contexts as fix_dict (where a special context is something that is guaranteed to fully consume the iterable), adding list() calls where appropriate. It also special-cases "x in range(y)". ........
* Raise SystemError when size < 0 is passed into PyString_FromStringAndSize,Gregory P. Smith2008-04-093-0/+18
| | | | PyBytes_FromStringAndSize or PyUnicode_FromStringAndSize. [issue2587]
* better diagnosticsGregory P. Smith2008-04-091-2/+2
|
* Try out the new issue role. Thanks, Georg!Andrew M. Kuchling2008-04-091-1/+1
|
* Package wininst*.exe from distutils/command.Martin v. Löwis2008-04-091-4/+1
|
* Add a note about the zlib.decompressobj().flush() fix.Gregory P. Smith2008-04-091-0/+3
|
* Add :issue: directive for easy linking to bugs.python.org.Georg Brandl2008-04-092-1/+25
|
* #2585: initialize code attribute of HTTPError.Georg Brandl2008-04-091-1/+1
|
* Changed test so it no longer runs as a side effect of importing.Jerry Seutter2008-04-091-110/+115
|
* Add itemsAndrew M. Kuchling2008-04-091-3/+13
|
* Fix typo with regards to self.PORT shadowing class variables with the same name.Trent Nelson2008-04-092-7/+8
|
* Fix zlib crash from zlib.decompressobj().flush(val) when val was not positive.Gregory P. Smith2008-04-092-0/+9
| | | | It tried to allocate negative or zero memory. That fails.
* - Issue #2550: The approach used by client/server code for obtaining portsTrent Nelson2008-04-0813-651/+716
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to listen on in network-oriented tests has been refined in an effort to facilitate running multiple instances of the entire regression test suite in parallel without issue. test_support.bind_port() has been fixed such that it will always return a unique port -- which wasn't always the case with the previous implementation, especially if socket options had been set that affected address reuse (i.e. SO_REUSEADDR, SO_REUSEPORT). The new implementation of bind_port() will actually raise an exception if it is passed an AF_INET/SOCK_STREAM socket with either the SO_REUSEADDR or SO_REUSEPORT socket option set. Furthermore, if available, bind_port() will set the SO_EXCLUSIVEADDRUSE option on the socket it's been passed. This currently only applies to Windows. This option prevents any other sockets from binding to the host/port we've bound to, thus removing the possibility of the 'non-deterministic' behaviour, as Microsoft puts it, that occurs when a second SOCK_STREAM socket binds and accepts to a host/port that's already been bound by another socket. The optional preferred port parameter to bind_port() has been removed. Under no circumstances should tests be hard coding ports! test_support.find_unused_port() has also been introduced, which will pass a temporary socket object to bind_port() in order to obtain an unused port. The temporary socket object is then closed and deleted, and the port is returned. This method should only be used for obtaining an unused port in order to pass to an external program (i.e. the -accept [port] argument to openssl's s_server mode) or as a parameter to a server-oriented class that doesn't give you direct access to the underlying socket used. Finally, test_support.HOST has been introduced, which should be used for the host argument of any relevant socket calls (i.e. bind and connect). The following tests were updated to following the new conventions: test_socket, test_smtplib, test_asyncore, test_ssl, test_httplib, test_poplib, test_ftplib, test_telnetlib, test_socketserver, test_asynchat and test_socket_ssl. It is now possible for multiple instances of the regression test suite to run in parallel without issue.
* Add a NEWS entry for previous checkinAmaury Forgeot d'Arc2008-04-081-0/+4
|
* Issue 2408: remove the _types moduleAmaury Forgeot d'Arc2008-04-0810-136/+13
| | | | | | | | | It was only used as a helper in types.py to access types (GetSetDescriptorType and MemberDescriptorType), when they can easily be obtained with python code. These expressions even work with Jython. I don't know what the future of the types module is; (cf. discussion in http://bugs.python.org/issue1605 ) at least this change makes it simpler.
* Prevent an error when inspect.isabstract() is called with something else ↵Amaury Forgeot d'Arc2008-04-081-1/+1
| | | | than a new-style class.
* Issue2564: Prevent a hang in "import test.autotest", which runs the entire testAmaury Forgeot d'Arc2008-04-082-5/+3
| | | | | | | suite as a side-effect of importing the module. - in test_capi, a thread tried to import other modules - re.compile() imported sre_parse again on every call.
* Add itemsAndrew M. Kuchling2008-04-081-2/+65
|
* Suppress compilation of py3_ files upon installation.Martin v. Löwis2008-04-081-1/+1
|
* Typographical fix: 32bit -> 32-bit, 64bit -> 64-bitAndrew M. Kuchling2008-04-081-4/+4
|
* Typo fixAndrew M. Kuchling2008-04-071-2/+2
|
* Write PEP 3127 section; add itemsAndrew M. Kuchling2008-04-071-8/+82
|
* #2525: update timezone info examples in the docs.Georg Brandl2008-04-071-8/+38
|
* Make the "private CRT" case work, by editing theMartin v. Löwis2008-04-071-5/+17
| | | | manifest in DLLs to refer to the root copy of the CRT.
* Drop support for 7.1 CRT.Martin v. Löwis2008-04-071-38/+5
|
* Make private_crt feature object a global variable.Martin v. Löwis2008-04-071-1/+1
|
* Delete ALLUSERS property merged from CRT merge module, so that per-user ↵Martin v. Löwis2008-04-071-0/+5
| | | | installations become possible again.
* changed "2500 components" to "several thousand" since the number keepsMark Summerfield2008-04-071-2/+3
| | | | growning:-)
* Use the new PyFile_IncUseCount & PyFile_DecUseCount calls appropriatlyGregory P. Smith2008-04-072-0/+19
| | | | | within the standard library. These modules use PyFile_AsFile and later release the GIL while operating on the previously returned FILE*.
* Bug #2388: Fix gcc warnings when compiling with --enable-unicode=ucs4.Martin v. Löwis2008-04-073-6/+25
|
* correct heading underline for new "Cross-compiling on Windows" sectionMark Hammond2008-04-071-1/+1
|
* Issue #2513: enable 64bit cross compilation on windows.Mark Hammond2008-04-0716-65/+323
|
* Make file objects as thread safe as the underlying libc FILE* implementation.Gregory P. Smith2008-04-065-83/+373
| | | | | | | | | | | close() will now raise an IOError if any operations on the file object are currently in progress in other threads. Most code was written by Antoine Pitrou (pitrou). Additional testing, documentation and test suite cleanup done by me (gregory.p.smith). Fixes issue 815646 and 595601 (as well as many other bugs and references to this problem dating back to the dawn of Python).
* Add enough debugging information to diagnose failures where theJeffrey Yasskin2008-04-061-5/+14
| | | | | | | | HandlerBException is ignored, and fix one such problem, where it was thrown during the __del__ method of the previous Popen object. We may want to find a better way of printing verbose information so it's not spammy when the test passes.
* Don't run kill_python as part of the build process. Change the buildbots so ↵Trent Nelson2008-04-064-24/+18
| | | | they have to call it explicitly instead.
* typeSkip Montanaro2008-04-061-1/+1
|
* From issue 1753245 - better _winreg support for x64.Mark Hammond2008-04-061-0/+133
| | | | | Adds _winreg.DisableReflectionKey, EnableReflectionKey, QueryReflectionKey, KEY_WOW64_64KEY and KEY_WOW64_32KEY.