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

sort by:
Revision Author Date Message Commit Date
4e0c72b Clarfiy the availability of the extended support for win32_ver() in Py2.6. 20 March 2008, 18:58:14 UTC
a186775 Add news items for platform module changes. 20 March 2008, 18:08:00 UTC
53c7a60 Add documentation for updated Windows support in win32_ver(). Add documentation for linux_distribution() API. 20 March 2008, 17:55:31 UTC
dbd61a2 If Mark Hammonds win32 tools are not available, try to use the _winreg module and sys.getwindowsversion() to get at the Windows version info. For the machine and processor uname() values, use the environment variables for these on Windows XP and later. 20 March 2008, 17:31:36 UTC
fa6a8b3 Gave Jerry Seutter svn access for general Python development. 20 March 2008, 16:13:48 UTC
402b270 #2383: remove obsolete XXX comment in stat.py. 20 March 2008, 07:25:55 UTC
6af3db8 Attempt to fix the Solaris Sparc 10 buildbot. It was failing with an invalid argument error on ioctl. This was caused by the added test_fcntl ioctl test that hard coded 0 as the fd to use. Without a terminal, this fails on solaris. (it passed from the command line on sol 10, both 32 and 64 bit) Also, test_ioctl exists so I moved the test into there where it belongs. 20 March 2008, 05:41:53 UTC
45ea86c Issue 2188: Documentation hint about disabling proxy detection. 20 March 2008, 03:20:48 UTC
00b53ea Revert r61650; the intent of this commit was to try and address alarm failures on some of the build slaves. As Neal points out, it's called after test_main(), so it's not going to factor into the test when run via regrtest.py (and removes the original functionality that Jeffrey wanted that would kill the test if it took longer than 3 seconds to run when executing it directly during development). 20 March 2008, 00:58:44 UTC
68fa8e6 Forgot to add NEWS item about smtplib SSL readline hang fix. 20 March 2008, 00:50:07 UTC
ac2ed1e Issue #2143: Fix embedded readline() hang on SSL socket EOF. 20 March 2008, 00:46:50 UTC
a5cfcad Prevent ioctl op codes from being sign extended from int to unsigned long when used on platforms that actually define ioctl as taking an unsigned long. (the BSDs and OS X / Darwin) Adds a unittest for fcntl.ioctl that tests what happens with both positive and negative numbers. This was done because of issue1471 but I'm not able to reproduce -that- problem in the first place on Linux 32bit or 64bit or OS X 10.4 & 10.5 32bit or 64 bit. 19 March 2008, 23:03:25 UTC
48581c5 Make sure that the warnings filter is not reset or changed beyond the current running test file. Closes issue2407. Thanks Jerry Seutter. 19 March 2008, 23:01:17 UTC
a0ce6b6 Bump the SIGALM delay from 3 seconds to 20 seconds, mainly in an effort to see if it fixes the alarm failures in this test experienced by some of the buildbots. 19 March 2008, 22:51:42 UTC
c71d2a9 Remove unnecessary traceback save/restore pair. 19 March 2008, 22:47:48 UTC
27f60a6 Comment out tcltk/tcltk64 removal. 19 March 2008, 22:41:10 UTC
f15cde3 Improve the error message when the CRCs don't match. 19 March 2008, 22:23:51 UTC
e7abf20 Force a clean of the tcltk/tcltk64 directories now that we've completely changed the tcl/tk build environment. 19 March 2008, 21:51:16 UTC
611c86b Fix the x64 Windows build environment used by the buildbots. %VS90COMNTOOLS%\vsvars32.bat is fine for 32-bit builds, but doesn't work for x64 builds, regardless of /MACHINE:AMD64 and /USECL:MS_OPTERON flags passed to cl.exe. Launch the x86_64 cross compilation environment via '%VS90COMNTOOLS%\..\..\VC\vcvarsall.bat x86_amd64'. I don't have access to any systems *without* Visual Studio 2008 Professional installed (i.e. just Express Edition), so I can't test if x64 compilation works w/ VS Express at the moment. Additionally, force a clean in our build.bat files before building, just whilst we're going through these build system updates. And finally, add in the missing MACHINE=AMD64 option to our Tcl/Tk x64 build. 19 March 2008, 21:11:55 UTC
0ccfe5f Remove itertools warnings I had added before the 2-to-3 handled the migration. 19 March 2008, 18:01:58 UTC
10dca6e The filter() function does support a None argument in Py3.0. 19 March 2008, 17:58:59 UTC
0538786 Issue 2354: Fix-up compare warning. Patch contributed by Jeff Balogh. 19 March 2008, 17:45:19 UTC
977eb02 Use sys.py3kwarning instead of trying to trigger a Py3k-related warning. 19 March 2008, 17:37:43 UTC
7919d98 test_nis would fail if test.test_support.verbose was true but NIS was not set up on the machine. Closes issue2411. Thanks Michael Bishop. 19 March 2008, 16:50:13 UTC
12b580b Checkout sqlite-source when it is not there. 19 March 2008, 16:10:57 UTC
8ff4963 Trivial typo. 19 March 2008, 12:15:10 UTC
e504445 Use test.test_support.captured_stdout instead of a custom contextmanager. Thanks Nick Coghlan. 19 March 2008, 12:09:55 UTC
4f4738f Lets have another try at getting the Windows buildbots in a consistent state before rebuilding using the new process. 19 March 2008, 09:23:08 UTC
4fbaaca Fix the tcl-8.4.18.1 path and make sure we cd into the right directory when building tcl/tk. 19 March 2008, 08:06:03 UTC
97e863e Another one. 19 March 2008, 07:57:57 UTC
482d752 Remove footnote from versionchanged as it upsets LaTeX. 19 March 2008, 07:56:40 UTC
2b1ec17 Remove extraneous apostrophe and semi-colon from AdditionalIncludeDirectories. 19 March 2008, 07:56:39 UTC
05a9664 Refine the Visual Studio 2008 build solution in order to improve how we deal with external components, as well as fixing outstanding issues with Windows x64 build support. Introduce two new .vcproj files, _bsddb44.vcproj and sqlite3.vcproj, which replace the previous pre-link event scripts for _bsddb and _sqlite3 respectively. The new project files inherit from our property files as if they were any other Python module. This has numerous benefits. First, the components get built with exactly the same compiler flags and settings as the rest of Python. Second, it makes it much easier to debug problems in the external components when they're part of the build system. Third, they'll benefit from profile guided optimisation in the release builds, just like the rest of Python core. I've also introduced a slightly new pattern for managing externals in subversion. New components get checked in as <name>-<version>.x, where <version> matches the exact vendor version string. After the initial import of the external component, the .x is tagged as .0 (i.e. tcl-8.4.18.x -> tcl-8.4.18.0). Some components may not need any tweaking, whereas there are others that might (tcl/tk fall into this bucket). In that case, the relevant modifications are made to the .x branch, which will be subsequently tagged as .1 (and then n+1 going forward) when they build successfully and all tests pass. Buildbots will be converted to rely on these explicit tags only, which makes it easy for us to switch them over to a new version as and when required. (Simple change to external(-amd64).bat: if we've bumped tcl to 8.4.18.1, change the .bat to rmdir 8.4.18.0 if it exists and check out a new .1 copy.) 19 March 2008, 07:45:19 UTC
b27745f Issue2290: Support x64 Windows builds that live in pcbuild/amd64. Without it, sysutils._python_build() returns the wrong directory, which causes the test_get_config_h_filename method in Lib/distutils/tests/test_sysconfig.py to fail. 19 March 2008, 06:28:24 UTC
16b2e6b Import relimport using a relative import. 19 March 2008, 06:00:28 UTC
ab41b37 Merged revisions 61598-61599,61601 via svnmerge from svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3 ........ r61598 | david.wolever | 2008-03-18 23:58:33 -0500 (Di, 18 Mär 2008) | 1 line Added fixer for zip, and refactored a bit of code in the process. Closing #2171. ........ r61599 | david.wolever | 2008-03-19 00:04:26 -0500 (Mi, 19 Mär 2008) | 3 lines Removed a bunch of duplicate code -- it's in util now. ........ r61601 | martin.v.loewis | 2008-03-19 00:21:12 -0500 (Mi, 19 Mär 2008) | 2 lines Fix whitespace. ........ 19 March 2008, 05:22:42 UTC
aad2b61 Initialized merge tracking via "svnmerge" with revisions "1-61595" from svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3 19 March 2008, 04:58:04 UTC
5e37bae Import lib2to3. 19 March 2008, 04:43:46 UTC
a4d7789 Issue #2400: Allow relative imports to "import *". 19 March 2008, 04:39:13 UTC
de48d84 Fix compiler warning. 19 March 2008, 03:56:59 UTC
bf02e3b Fix the struct module DeprecationWarnings that zipfile was triggering by removing all use of signed struct values. test_zipfile and test_zipfile64 pass. no more warnings. 19 March 2008, 03:14:41 UTC
14cae96 Another test for __future__ print_function. 19 March 2008, 03:13:34 UTC
2724ab9 Added zip, map, filter to future_bultins (#2171) 19 March 2008, 02:35:45 UTC
fbe7c55 Added my name to ACKS 19 March 2008, 02:26:57 UTC
5d5c63f Fixed compiler module so __future__ print_function is compilable. 19 March 2008, 02:11:30 UTC
b89a096 Use zlib's crc32 routine instead of binascii when available. zlib's is faster when compiled properly optimized and about the same speed otherwise. 19 March 2008, 01:46:10 UTC
bde4007 Mention that crc32 and adler32 are available in a different module (zlib). Some people look for them in hashlib. 19 March 2008, 01:38:35 UTC
0279f43 Add Jeff Rush 19 March 2008, 01:05:35 UTC
7c47894 Backport of the print function, using a __future__ import. This work is substantially Anthony Baxter's, from issue 1633807. I just freshened it, made a few minor tweaks, and added the test cases. I also created issue 2412, which is to check for 2to3's behavior with the print function. I also added myself to ACKS. 18 March 2008, 23:45:49 UTC
6c0ff8a Issue: 2354: Add 3K warning for the cmp argument to list.sort() and sorted(). 18 March 2008, 23:33:08 UTC
9a47e62 Speed-up isinstance() for one easy case. 18 March 2008, 23:22:29 UTC
c856fa8 Add a test to make sure zlib.crc32 and binascii.crc32 return the same thing. Fix a buglet in binascii.crc32, the second optional argument could previously have a signedness mismatch with the C variable its going into. 18 March 2008, 22:27:41 UTC
6a644f9 Add py3k warnings for code and method inequality comparisons. This should resolve issue 2373. The codeobject.c and methodobject.c changes are both just backports of the Python 3 code. 18 March 2008, 22:08:20 UTC
e8e22cf Have regrtest skip test_py3kwarn when the -3 flag is missing. 18 March 2008, 21:30:13 UTC
8e6ec2f Added a warning when -3 is enabled and None is passed to filter as the first argument. 18 March 2008, 21:20:25 UTC
30f3680 Ignore BIG5HKSCS-2004.TXT which is downloaded as part of a test. 18 March 2008, 21:12:42 UTC
37f3f43 news entry for the chown fix 18 March 2008, 20:40:01 UTC
0c1ef47 Import the test properly. This is especially important for py3k. 18 March 2008, 20:30:38 UTC
a7a3e28 Fix test_atexit so that it still passes when -3 is supplied. (It was catching the warning messages on stdio from using the reload() function.) 18 March 2008, 19:59:14 UTC
f48da8f Fix chown on 64-bit linux. It needed to take a long (64-bit on 64bit linux) as uid and gid input to accept values >=2**31 as valid while still accepting negative numbers to pass -1 to chown for "no change". Fixes issue1747858. This should be backported to release25-maint. 18 March 2008, 19:05:32 UTC
8906575 _have_soundcard() is a bad check for winsound.Beep, since you can have a soundcard but have the beep driver disabled. This revision basically disables the beep tests by wrapping them in a try/except. The Right Way To Do It is to come up with a _have_enabled_beep_driver() and use that. 18 March 2008, 19:04:32 UTC
b865f05 cell_compare needs to return -2 instead of NULL. 18 March 2008, 19:03:50 UTC
5fe5cf6 Get regrtest working when re-running tests 18 March 2008, 17:58:02 UTC
ae42f33 Add py3k warnings for object, type, cell and dict comparisons. This should resolve issue2342 and partly resolve issue2373. 18 March 2008, 17:26:10 UTC
a8b09fd Add Tools/scripts/patchcheck.py. Invoked from ``make check``, the script does some verification: - Runs reindent.py on all .py files. - Checks if any changes in Doc exist. - Whether Misc/ACKS was changed. - Whether Misc/NEWS was changed. The hope is that ``make check`` can become a command anybody can run to get reminders about what all the requisite steps needed to create a proper patch/checkin. 18 March 2008, 17:25:13 UTC
493894c Issue 1577: shutil.move() where destination is a directory was doing a copy, now it is doing a os.rename() if it's on the same file-system. 18 March 2008, 17:24:12 UTC
c81d3dc Cast the arguments to PyString_AsStringAndSize() to silence compiler warnings on OS X. 18 March 2008, 16:47:51 UTC
ed427e7 Use test_support.unlink instead of os.unlink in tearDown(). (Seems to fix an occasional failure in Windows Vista.) 18 March 2008, 16:00:19 UTC
f084e04 Fix test_errno to only check for error numbers that are defined by Standard C. 18 March 2008, 15:52:00 UTC
10ed0f5 Remove all traces of HAVE_STRERROR. The removal of strerror.c led to the function check being removed from configure.in. 18 March 2008, 15:35:58 UTC
50a24d8 Include <alloca.h> on Solaris, see issue #1506. It would probably be better to have a configure test for that, but this is outside of my configure expertise. 18 March 2008, 15:03:17 UTC
66e2663 Note that the stderr output of the test is intentional. 18 March 2008, 13:16:05 UTC
afb416b Add WSA errors. 18 March 2008, 13:05:03 UTC
637f239 Add more Linux error codes. 18 March 2008, 12:45:37 UTC
d43ca3b norwitz-amd64 (gentoo) has EREMOTEIO. 18 March 2008, 12:20:15 UTC
496ad27 The behaviour of winsound.Beep() seems to differ between different versions of Windows when there's either: a) no sound card entirely b) legacy beep driver has been disabled c) the legacy beep driver has been uninstalled Sometimes RuntimeErrors are raised, sometimes they're not. If _have_soundcard() returns False, don't expect winsound.Beep() to raise a RuntimeError, as this clearly isn't the case, as demonstrated by the various Win32 XP buildbots. 18 March 2008, 07:32:47 UTC
3ce7675 Issue 2286: bump up the stack size of the 64-bit debug python_d.exe to 2100000. The default value of 200000 causes a stack overflow at 1965 iterations of r_object() in marshal.c, 35 iterations before the 2000 limit enforced by MAX_MARSHAL_STACK_DEPTH. 18 March 2008, 07:02:12 UTC
d1befd7 Add some info to the failure messages 18 March 2008, 06:03:46 UTC
36dbcb9 Add a -S/--slow flag to regrtest to have it print the 10 slowest tests with their times. 18 March 2008, 05:45:40 UTC
08811dd Improve the error message for a test that failed on the S-390 Debian buildbot. 18 March 2008, 05:43:04 UTC
819f139 Try increasing the timeout to reduce the flakiness of this test. 18 March 2008, 05:20:29 UTC
ed41465 Speed up test_dict by about 10x by only checking selected dict literal sizes, instead of every integer from 0 to 400. Exhaustive testing wastes time without providing enough more assurance that the code is correct. 18 March 2008, 05:12:41 UTC
a145853 Speed test_thread up from 51.328s to 0.081s by reducing its sleep times. We still sleep at all to make it likely that all threads are active at the same time. 18 March 2008, 04:56:06 UTC
b1d3d96 Issue 2332: add new attribute names for instance method objects 18 March 2008, 04:46:00 UTC
3781aef Finish backporting new buffer API to Python 2.6. Left to do: memoryview object and structmodule. But, these need to be finished in Python 3.0 first. No objects support the new buffer API in Python 2.6 as of yet, and except for the memoryview object, I don't think they will. 18 March 2008, 04:44:57 UTC
6d91be3 - Issue 2379: Raise a Py3K warning for __getitem__ or __getslice__ on exception instances. 18 March 2008, 04:42:22 UTC
0bfc896 Block the "socket.ssl() is deprecated" warning from test_socket_ssl. 18 March 2008, 04:29:35 UTC
504153d Issue #2341: Add a Py3k warning when raising an exception that doesn't derive from BaseException. 18 March 2008, 04:26:48 UTC
a5573b3 The output directory for tests that compare against stdout is now gone! 18 March 2008, 04:16:06 UTC
aa5778d Remove our implementation of memmove() and strerror(); both are in the C89 standard library. 18 March 2008, 04:09:00 UTC
b7ec8e5 test_errno was a no-op test; now it actually tests things and uses unittest. 18 March 2008, 03:46:22 UTC
20bda58 Clean up the Py3k warnings for non-BaseException-subclasses a bit. We now don't warn for some corner cases that deserve a warning, rather than warning double or incorrectly for some other corner cases. 18 March 2008, 03:15:05 UTC
04edb52 - Issue #2371: Add a Py3k warning when catching an exception that doesn't derive from BaseException. 18 March 2008, 02:49:46 UTC
0bb7950 Move test_extcall to doctest. 18 March 2008, 01:58:56 UTC
ba17cfc Convert test_dummy_threading and test_dbm to unittest. 18 March 2008, 01:50:25 UTC
5de250e Fix build on platforms that don't have intptr_t. Patch by Joseph Armbruster. 18 March 2008, 01:09:59 UTC
6eeaddc Convert test_strftime, test_getargs, and test_pep247 to use unittest. 18 March 2008, 01:00:07 UTC
887290d Fix the IOError message text when opening a file with an invalid filename. Error reported by Ilan Schnell. 18 March 2008, 00:20:01 UTC
a7d57cd Add David Wolever. 17 March 2008, 21:55:30 UTC
419fd49 Issue 2321: reduce memory usage (increase the memory that is returned to the system) by using pymalloc for the data of unicode objects. Will backport. 17 March 2008, 20:22:43 UTC
back to top