Staging
v0.5.1
https://github.com/python/cpython

sort by:
Revision Author Date Message Commit Date
858a770 Fix indentation in sysmodule.c 18 April 2008, 20:45:33 UTC
b131f04 resolve issue 2014 18 April 2008, 20:35:46 UTC
0892317 Rewrite introductory section, and remove old section. (It was already commented-out, but why keep it?) 18 April 2008, 18:39:55 UTC
02f6356 Remove personal note from Jim Roskind; it no longer applies, and the e-mail address is for a previous employer. Can we move the big long copyright statement into a sidebar or something? 18 April 2008, 18:28:23 UTC
4f74769 #2654: fix typo 18 April 2008, 16:53:09 UTC
aea8d2e Use correct parameter name 18 April 2008, 02:40:47 UTC
e2e0313 Typo fixes 17 April 2008, 20:44:06 UTC
ea7fa72 Be consistent in the use of read-only. 17 April 2008, 12:39:45 UTC
5eaffc4 Issue 2648: Add leading zero to money format recipe in the docs. 17 April 2008, 10:48:31 UTC
967a83c Add details about the return value for mmap.flush(). 16 April 2008, 12:57:43 UTC
069dfad Reformat to 80 columns prior to adding documentation. 16 April 2008, 12:47:01 UTC
27a6325 Fix for possible signed overflow: the behaviour of -LONG_MIN is undefined in ANSI C. 15 April 2008, 20:51:18 UTC
8c65b1e Typo fix 15 April 2008, 13:10:41 UTC
3822af6 Add *,**,@ to index, as suggested by http://farmdev.com/thoughts/24/what-does-the-def-star-variable-or-def-asterisk-parameter-syntax-do-in-python-/ The right entry type to use isn't clear; operator seems wrong, because *,**,@ aren't being used in expressions here. I put them as 'statement'; 'syntax' might be better. 15 April 2008, 13:10:07 UTC
09a1ebc Add myself to Doc/ACKS.txt 15 April 2008, 11:58:46 UTC
1e88992 Add test file missing from rev 62350 15 April 2008, 10:28:14 UTC
106fc48 Issue 2439: add pkgutils.get_data() as a convenience wrapper for the PEP 302 get_data() API (contributed by Paul Moore) 15 April 2008, 10:25:31 UTC
fddc469 Prevent namespace pollution, add static for internal functions 15 April 2008, 03:46:21 UTC
04f5876 Various items; begin writing the SSL section 15 April 2008, 02:24:15 UTC
bcdc468 Backport manually r62342 from the py3k branch to the trunk. 14 April 2008, 22:40:08 UTC
f9e7ebe Correct a refleak found by "regrtest.py -R:: test_structmembers" Some other minor updates in _warnings.c: - make a function static - rename a shadowing local variable 14 April 2008, 20:07:48 UTC
14d6b0f Update project files for all Windows supported compilers 14 April 2008, 19:55:40 UTC
046e6a4 Issue #2616: Implement ctypes.pointer() and ctypes.POINTER() in C for better performance. 14 April 2008, 16:10:07 UTC
da950eb Add example 13 April 2008, 22:39:12 UTC
8ffb573 Check out Jinja as a separate step now that it's not included in the Sphinx package anymore. 13 April 2008, 20:51:27 UTC
41a0a37 Improve -X error message. 13 April 2008, 20:50:29 UTC
c89be9d Added an ignore file for Bazaar #2510 13 April 2008, 20:40:03 UTC
820b51c #2627 Let it be known what pgen generates 13 April 2008, 20:35:56 UTC
c477427 Fix spliting on colons on Windows machines with a file path by limiting the number of splits. 13 April 2008, 17:41:31 UTC
25bb818 Add an explicit check for output in a test to try to diagnose a failure on Windows. 13 April 2008, 17:09:43 UTC
a2d7f4c Added new files to the pcbuild files 13 April 2008, 09:37:05 UTC
6715352 Use PyString_InternFromString instead of PyString_FromString for static vars 13 April 2008, 09:33:24 UTC
0a4f895 Fix compiler warning Include/warnings.h:19:28: warning: no newline at end of file 13 April 2008, 09:30:17 UTC
4aa8df2 Fix markup. 13 April 2008, 07:07:44 UTC
e3d3785 spelling 13 April 2008, 03:17:30 UTC
667bb4f Fix test_warnings by making the state of things more consistent for each test when it is run. 13 April 2008, 02:42:36 UTC
037d829 Give the "Interactive Interpreter Changes" section in 2.6 whatsnew a unique link name 13 April 2008, 02:20:05 UTC
a3d19f3 Backport the removal of a __repr__ from 62251 13 April 2008, 02:05:48 UTC
7bb4d2d Backported io module docs 13 April 2008, 02:01:27 UTC
c161df6 Mention -J, -X 13 April 2008, 01:05:59 UTC
76ca13c Fix an accidental bug of an non-existent init function. 13 April 2008, 00:25:15 UTC
40f0a87 Fix a bug in PySys_HasWarnOption() where it was not properly checking the length of the list storing the warning options. 13 April 2008, 00:18:44 UTC
b2693e0 Adds a profile-opt target for easy compilation of a python binary using gcc's profile guided optimization. 13 April 2008, 00:03:25 UTC
e974689 Re-implement the 'warnings' module in C. This allows for usage of the 'warnings' code in places where it was previously not possible (e.g., the parser). It could also potentially lead to a speed-up in interpreter start-up if the C version of the code (_warnings) is imported over the use of the Python version in key places. Closes issue #1631171. 12 April 2008, 23:44:07 UTC
e6c0303 socket.error inherits from IOError, it no longer needs listing in the all_errors tuple. 12 April 2008, 22:24:04 UTC
73bee44 fix compiler warnings 12 April 2008, 20:37:48 UTC
751a036 Don't offend snake lovers. 12 April 2008, 19:05:37 UTC
a93eaa5 Add Jeroen. 12 April 2008, 19:00:20 UTC
8189310 #2615: small consistency update by Jeroen Ruigrok van der Werven. 12 April 2008, 18:36:09 UTC
b4d2113 Use absolute path in sys.path. 12 April 2008, 18:11:18 UTC
7a98d27 Applied patch #2617 from Frank Wierzbicki wit some extras from me -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. 12 April 2008, 13:03:03 UTC
d3ed492 Performance improvements. 11 April 2008, 14:20:26 UTC
12c4e64 Move backwards compatibility macro to the correct place; PyIndex_Check() was introduced in Python 2.5. 11 April 2008, 13:05:38 UTC
17f8429 Use issue directive 10 April 2008, 21:29:01 UTC
19baaad Add punctuation 10 April 2008, 21:28:51 UTC
3351e41 Remove forward-looking statement 10 April 2008, 21:27:10 UTC
2ea2968 get rid of assert (size >= 0) now that an explicit if (size < 0) is in the code. 10 April 2008, 19:50:36 UTC
36a59b4 Remove the test file before writing it in case there is no write permission. 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). 10 April 2008, 05:46:39 UTC
60a819d Merged revisions 62080-62262 via svnmerge from 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)". ........ 10 April 2008, 02:48:01 UTC
c00eb73 Raise SystemError when size < 0 is passed into PyString_FromStringAndSize, PyBytes_FromStringAndSize or PyUnicode_FromStringAndSize. [issue2587] 09 April 2008, 23:16:37 UTC
f108320 better diagnostics 09 April 2008, 23:11:56 UTC
c157c9c Try out the new issue role. Thanks, Georg! 09 April 2008, 22:28:43 UTC
023b9f9 Package wininst*.exe from distutils/command. 09 April 2008, 18:56:20 UTC
671c5d9 Add a note about the zlib.decompressobj().flush() fix. 09 April 2008, 18:18:43 UTC
c305192 Add :issue: directive for easy linking to bugs.python.org. 09 April 2008, 17:58:56 UTC
99bb5f3 #2585: initialize code attribute of HTTPError. 09 April 2008, 17:57:38 UTC
8f80a6a Changed test so it no longer runs as a side effect of importing. 09 April 2008, 05:07:58 UTC
f68b553 Add items 09 April 2008, 01:08:32 UTC
6c4a7c6 Fix typo with regards to self.PORT shadowing class variables with the same name. 09 April 2008, 00:34:53 UTC
79e42a0 Fix zlib crash from zlib.decompressobj().flush(val) when val was not positive. It tried to allocate negative or zero memory. That fails. 09 April 2008, 00:25:17 UTC
e41b006 - Issue #2550: The approach used by client/server code for obtaining ports 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. 08 April 2008, 23:47:30 UTC
02f33b4 Add a NEWS entry for previous checkin 08 April 2008, 23:10:07 UTC
7adc776 Issue 2408: remove the _types module 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. 08 April 2008, 22:07:05 UTC
24f3c5c Prevent an error when inspect.isabstract() is called with something else than a new-style class. 08 April 2008, 21:51:57 UTC
4b798bd Issue2564: Prevent a hang in "import test.autotest", which runs the entire test 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. 08 April 2008, 21:27:42 UTC
abf8e01 Add items 08 April 2008, 21:22:53 UTC
775e10d Suppress compilation of py3_ files upon installation. 08 April 2008, 16:48:35 UTC
eba0004 Typographical fix: 32bit -> 32-bit, 64bit -> 64-bit 08 April 2008, 01:33:10 UTC
5b1070a Typo fix 07 April 2008, 23:57:21 UTC
34be7ce Write PEP 3127 section; add items 07 April 2008, 23:57:07 UTC
4a16723 #2525: update timezone info examples in the docs. 07 April 2008, 18:51:59 UTC
1e72fec Make the "private CRT" case work, by editing the manifest in DLLs to refer to the root copy of the CRT. 07 April 2008, 16:34:04 UTC
46a8be7 Drop support for 7.1 CRT. 07 April 2008, 14:55:53 UTC
e411f89 Make private_crt feature object a global variable. 07 April 2008, 14:54:16 UTC
54d489a Delete ALLUSERS property merged from CRT merge module, so that per-user installations become possible again. 07 April 2008, 14:53:34 UTC
5285760 changed "2500 components" to "several thousand" since the number keeps growning:-) 07 April 2008, 07:39:23 UTC
c20adf8 Use the new PyFile_IncUseCount & PyFile_DecUseCount calls appropriatly within the standard library. These modules use PyFile_AsFile and later release the GIL while operating on the previously returned FILE*. 07 April 2008, 06:33:21 UTC
d918e4e Bug #2388: Fix gcc warnings when compiling with --enable-unicode=ucs4. 07 April 2008, 03:08:28 UTC
295814e correct heading underline for new "Cross-compiling on Windows" section 07 April 2008, 01:59:40 UTC
495cf99 Issue #2513: enable 64bit cross compilation on windows. 07 April 2008, 01:53:39 UTC
aa63d0d Make file objects as thread safe as the underlying libc FILE* implementation. 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). 06 April 2008, 23:11:17 UTC
ee76777 Add enough debugging information to diagnose failures where the 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. 06 April 2008, 23:04:28 UTC
5a4d668 Don't run kill_python as part of the build process. Change the buildbots so they have to call it explicitly instead. 06 April 2008, 20:51:23 UTC
28112d0 type 06 April 2008, 17:05:57 UTC
8a3c871 From issue 1753245 - better _winreg support for x64. Adds _winreg.DisableReflectionKey, EnableReflectionKey, QueryReflectionKey, KEY_WOW64_64KEY and KEY_WOW64_32KEY. 06 April 2008, 01:42:06 UTC
2fab8f1 Fix test_distutils to not fail when running 'make test' from a Python build directory that is not the source directory (ie, one created using '/path/to/source/configure'.) Leaves this test very slightly degraded in that particular case, compared to the build-in-sourcedir case, but that case isn't a particularly strong test either: neither test the actual path that will be used after installing. There isn't a particularly good way to test this, and a poor test beats a failing test. 05 April 2008, 23:39:15 UTC
9e0fa7a Declare inittimezone static. 05 April 2008, 19:47:47 UTC
2185241 Write PEP 3119 section 05 April 2008, 18:15:30 UTC
3b1202d Mention that the tuple returned by __reduce__ is pickled as normal. 05 April 2008, 17:45:58 UTC
217057f Markup fixes; write PEP 3118 section 05 April 2008, 15:57:46 UTC
back to top