----------------------------------- [http://svn.python.org/view?rev=61526&view=rev r61526] | brett.cannon | 2008-03-18 12:47:51 -0400 (Tue, 18 Mar 2008) | 3 lines Changed paths: M /python/trunk/Modules/dbmmodule.c Cast the arguments to PyString_AsStringAndSize() to silence compiler warnings on OS X. ----------------------------------- [http://svn.python.org/view?rev=61527&view=rev r61527] | sean.reifschneider | 2008-03-18 13:24:12 -0400 (Tue, 18 Mar 2008) | 3 lines Changed paths: M /python/trunk/Lib/shutil.py M /python/trunk/Lib/test/test_shutil.py M /python/trunk/Misc/NEWS 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. ----------------------------------- [http://svn.python.org/view?rev=61528&view=rev r61528] | brett.cannon | 2008-03-18 13:25:13 -0400 (Tue, 18 Mar 2008) | 12 lines Changed paths: M /python/trunk/Makefile.pre.in M /python/trunk/Tools/scripts A /python/trunk/Tools/scripts/patchcheck.py M /python/trunk/Tools/scripts/reindent.py 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. ----------------------------------- [http://svn.python.org/view?rev=61538&view=rev r61538] | steven.bethard | 2008-03-18 15:03:50 -0400 (Tue, 18 Mar 2008) | 1 line Changed paths: M /python/trunk/Objects/cellobject.c cell_compare needs to return -2 instead of NULL. ----------------------------------- [http://svn.python.org/view?rev=61540&view=rev r61540] | gregory.p.smith | 2008-03-18 15:05:32 -0400 (Tue, 18 Mar 2008) | 8 lines Changed paths: M /python/trunk/Lib/test/test_posix.py M /python/trunk/Modules/posixmodule.c 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. ----------------------------------- [http://svn.python.org/view?rev=61560&view=rev r61560] | gregory.p.smith | 2008-03-18 16:40:01 -0400 (Tue, 18 Mar 2008) | 2 lines Changed paths: M /python/trunk/Misc/NEWS news entry for the chown fix ----------------------------------- [http://svn.python.org/view?rev=61564&view=rev r61564] | david.wolever | 2008-03-18 17:20:25 -0400 (Tue, 18 Mar 2008) | 1 line Changed paths: M /python/trunk/Python/bltinmodule.c Added a warning when -3 is enabled and None is passed to filter as the first argument. ----------------------------------- [http://svn.python.org/view?rev=61571&view=rev r61571] | gregory.p.smith | 2008-03-18 18:27:41 -0400 (Tue, 18 Mar 2008) | 4 lines Changed paths: M /python/trunk/Lib/test/test_zlib.py M /python/trunk/Modules/binascii.c 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. ----------------------------------- [http://svn.python.org/view?rev=61575&view=rev r61575] | raymond.hettinger | 2008-03-18 19:22:29 -0400 (Tue, 18 Mar 2008) | 1 line Changed paths: M /python/trunk/Objects/abstract.c Speed-up isinstance() for one easy case. ----------------------------------- [http://svn.python.org/view?rev=61576&view=rev r61576] | raymond.hettinger | 2008-03-18 19:33:08 -0400 (Tue, 18 Mar 2008) | 1 line Changed paths: M /python/trunk/Objects/listobject.c Issue: 2354: Add 3K warning for the cmp argument to list.sort() and sorted(). ----------------------------------- [http://svn.python.org/view?rev=61581&view=rev r61581] | gregory.p.smith | 2008-03-18 21:38:35 -0400 (Tue, 18 Mar 2008) | 3 lines Changed paths: M /python/trunk/Doc/library/hashlib.rst M /python/trunk/Lib/hashlib.py Mention that crc32 and adler32 are available in a different module (zlib). Some people look for them in hashlib. ----------------------------------- [http://svn.python.org/view?rev=61582&view=rev r61582] | gregory.p.smith | 2008-03-18 21:46:10 -0400 (Tue, 18 Mar 2008) | 3 lines Changed paths: M /python/trunk/Lib/zipfile.py Use zlib's crc32 routine instead of binascii when available. zlib's is faster when compiled properly optimized and about the same speed otherwise. ----------------------------------- [http://svn.python.org/view?rev=61586&view=rev r61586] | david.wolever | 2008-03-18 22:26:57 -0400 (Tue, 18 Mar 2008) | 1 line Changed paths: M /python/trunk/Misc/ACKS Added my name to ACKS ----------------------------------- [http://svn.python.org/view?rev=61591&view=rev r61591] | gregory.p.smith | 2008-03-18 23:14:41 -0400 (Tue, 18 Mar 2008) | 5 lines Changed paths: M /python/trunk/Lib/zipfile.py 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. ----------------------------------- [http://svn.python.org/view?rev=61593&view=rev r61593] | raymond.hettinger | 2008-03-18 23:56:59 -0400 (Tue, 18 Mar 2008) | 1 line Changed paths: M /python/trunk/Objects/abstract.c Fix compiler warning. ----------------------------------- [http://svn.python.org/view?rev=61595&view=rev r61595] | martin.v.loewis | 2008-03-19 00:39:13 -0400 (Wed, 19 Mar 2008) | 2 lines Changed paths: A /python/trunk/Lib/test/relimport.py M /python/trunk/Lib/test/test_import.py M /python/trunk/Misc/NEWS M /python/trunk/Python/ast.c Issue #2400: Allow relative imports to "import *". ----------------------------------- [http://svn.python.org/view?rev=61606&view=rev r61606] | trent.nelson | 2008-03-19 02:28:24 -0400 (Wed, 19 Mar 2008) | 1 line Changed paths: M /python/trunk/Lib/distutils/sysconfig.py 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. ----------------------------------- [http://svn.python.org/view?rev=61614&view=rev r61614] | trent.nelson | 2008-03-19 03:56:39 -0400 (Wed, 19 Mar 2008) | 1 line Changed paths: M /python/trunk/PCbuild/_bsddb44.vcproj Remove extraneous apostrophe and semi-colon from AdditionalIncludeDirectories. ----------------------------------- [http://svn.python.org/view?rev=61627&view=rev r61627] | brett.cannon | 2008-03-19 12:50:13 -0400 (Wed, 19 Mar 2008) | 5 lines Changed paths: M /python/trunk/Lib/test/test_nis.py M /python/trunk/Misc/NEWS 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. ----------------------------------- [http://svn.python.org/view?rev=61646&view=rev r61646] | gregory.p.smith | 2008-03-19 18:23:51 -0400 (Wed, 19 Mar 2008) | 2 lines Changed paths: M /python/trunk/Lib/gzip.py Improve the error message when the CRCs don't match. ----------------------------------- [http://svn.python.org/view?rev=61649&view=rev r61649] | raymond.hettinger | 2008-03-19 18:47:48 -0400 (Wed, 19 Mar 2008) | 1 line Changed paths: M /python/trunk/Objects/abstract.c Remove unnecessary traceback save/restore pair. ----------------------------------- [http://svn.python.org/view?rev=61651&view=rev r61651] | brett.cannon | 2008-03-19 19:01:17 -0400 (Wed, 19 Mar 2008) | 5 lines Changed paths: M /python/trunk/Lib/bsddb/test/test_1413192.py M /python/trunk/Lib/test/test_hmac.py M /python/trunk/Lib/test/test_unicode_file.py Make sure that the warnings filter is not reset or changed beyond the current running test file. Closes issue2407. Thanks Jerry Seutter. ----------------------------------- [http://svn.python.org/view?rev=61652&view=rev r61652] | gregory.p.smith | 2008-03-19 19:03:25 -0400 (Wed, 19 Mar 2008) | 10 lines Changed paths: M /python/trunk/Doc/library/fcntl.rst M /python/trunk/Lib/test/test_fcntl.py M /python/trunk/Modules/fcntlmodule.c 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. ----------------------------------- [http://svn.python.org/view?rev=61656&view=rev r61656] | sean.reifschneider | 2008-03-19 20:46:50 -0400 (Wed, 19 Mar 2008) | 2 lines Changed paths: M /python/trunk/Lib/smtplib.py Issue #2143: Fix embedded readline() hang on SSL socket EOF. ----------------------------------- [http://svn.python.org/view?rev=61667&view=rev r61667] | georg.brandl | 2008-03-20 03:25:55 -0400 (Thu, 20 Mar 2008) | 2 lines Changed paths: M /python/trunk/Lib/stat.py #2383: remove obsolete XXX comment in stat.py. ----------------------------------- [http://svn.python.org/view?rev=61674&view=rev r61674] | marc-andre.lemburg | 2008-03-20 13:31:36 -0400 (Thu, 20 Mar 2008) | 7 lines Changed paths: M /python/trunk/Lib/platform.py 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. ----------------------------------- [http://svn.python.org/view?rev=61711&view=rev r61711] | georg.brandl | 2008-03-21 15:54:00 -0400 (Fri, 21 Mar 2008) | 2 lines Changed paths: M /python/trunk/Lib/test/test_urllib2.py M /python/trunk/Lib/urllib2.py M /python/trunk/Misc/NEWS #2136: allow single quotes in realm spec. ----------------------------------- [http://svn.python.org/view?rev=61712&view=rev r61712] | georg.brandl | 2008-03-21 16:01:51 -0400 (Fri, 21 Mar 2008) | 3 lines Changed paths: M /python/trunk/Lib/csv.py M /python/trunk/Lib/test/test_csv.py M /python/trunk/Misc/NEWS Issue #2432: give DictReader the dialect and line_num attributes advertised in the docs. ----------------------------------- [http://svn.python.org/view?rev=61773&view=rev r61773] | raymond.hettinger | 2008-03-22 20:55:46 -0400 (Sat, 22 Mar 2008) | 1 line Changed paths: M /python/trunk/Doc/library/itertools.rst M /python/trunk/Lib/test/test_itertools.py Simplify demo code. ----------------------------------- [http://svn.python.org/view?rev=61779&view=rev r61779] | neal.norwitz | 2008-03-23 01:08:37 -0400 (Sun, 23 Mar 2008) | 6 lines Changed paths: M /python/trunk/Modules/zlibmodule.c Fix test_tarfile failures on Alpha (Tru64). The problem was caused in [http://svn.python.org/view?rev=61449&view=rev r61449] which made the return value signed. On the Alpha that also lost data since sizeof(int) != sizeof(long) and apparently adler32/crc32 return 64 bits of data. This change keeps the signedness and continues to store the data in a long rather than an int as was the case before [http://svn.python.org/view?rev=61449&view=rev r61449]. ----------------------------------- [http://svn.python.org/view?rev=61783&view=rev r61783] | neal.norwitz | 2008-03-23 02:19:57 -0400 (Sun, 23 Mar 2008) | 4 lines Changed paths: M /python/trunk/Objects/unicodeobject.c M /python/trunk/Python/pystrcmp.c Remove compiler warnings (on Alpha at least) about using chars as array subscripts. Using chars are dangerous b/c they are signed on some platforms and unsigned on others. ----------------------------------- [http://svn.python.org/view?rev=61793&view=rev r61793] | amaury.forgeotdarc | 2008-03-23 05:55:29 -0400 (Sun, 23 Mar 2008) | 4 lines Changed paths: M /python/trunk/Lib/test/test_unicode.py M /python/trunk/Misc/NEWS M /python/trunk/Objects/unicodeobject.c #1477: ur'\U0010FFFF' raised in narrow unicode builds. Corrected the raw-unicode-escape codec to use UTF-16 surrogates in this case, just like the unicode-escape codec. ----------------------------------- [http://svn.python.org/view?rev=61796&view=rev r61796] | raymond.hettinger | 2008-03-23 09:32:32 -0400 (Sun, 23 Mar 2008) | 1 line Changed paths: M /python/trunk/Doc/library/random.rst M /python/trunk/Lib/random.py M /python/trunk/Lib/test/test_random.py M /python/trunk/Misc/NEWS Issue 1681432: Add triangular distribution the random module. ----------------------------------- [http://svn.python.org/view?rev=61807&view=rev r61807] | raymond.hettinger | 2008-03-23 15:37:53 -0400 (Sun, 23 Mar 2008) | 4 lines Changed paths: M /python/trunk/Doc/library/random.rst M /python/trunk/Lib/random.py Adopt Nick's suggestion for useful default arguments. Clean-up floating point issues by adding true division and float constants. ----------------------------------- [http://svn.python.org/view?rev=61810&view=rev r61810] | gregory.p.smith | 2008-03-23 16:31:23 -0400 (Sun, 23 Mar 2008) | 10 lines Changed paths: M /python/trunk/Modules/zlibmodule.c Revert [http://svn.python.org/view?rev=61779&view=rev r61779] - It undid correct code and caused test_zlib to fail on all platforms with a 64-bit long. The Alpha/Tru64 test problem is a problem in either tarfile or test_tarfile, not zlib. crc32 and adler32 return 32-bit values. by using a long thats larger than 32-bits in these functions they were prevented from wrapping around to their signed 32-bit value that we want them to return in python 2.x. ----------------------------------- [http://svn.python.org/view?rev=61813&view=rev r61813] | gregory.p.smith | 2008-03-23 17:04:43 -0400 (Sun, 23 Mar 2008) | 6 lines Changed paths: M /python/trunk/Lib/gzip.py Fix gzip to deal with CRC's being signed values in Python 2.x properly and to read 32bit values as unsigned to start with rather than applying signedness fixups allover the place afterwards. This hopefully fixes the test_tarfile failure on the alpha/tru64 buildbot. ----------------------------------- [http://svn.python.org/view?rev=61820&view=rev r61820] | gregory.p.smith | 2008-03-23 18:14:38 -0400 (Sun, 23 Mar 2008) | 2 lines Changed paths: M /python/trunk/Modules/zlibmodule.c replace calls to get the initial values with the raw constants. ----------------------------------- [http://svn.python.org/view?rev=61821&view=rev r61821] | gregory.p.smith | 2008-03-23 19:43:02 -0400 (Sun, 23 Mar 2008) | 2 lines Changed paths: M /python/trunk/Lib/gzip.py A bugfix for [http://svn.python.org/view?rev=61813&view=rev r61813], it would fail if the data size was >=2**32. ----------------------------------- [http://svn.python.org/view?rev=61822&view=rev r61822] | gregory.p.smith | 2008-03-23 19:45:12 -0400 (Sun, 23 Mar 2008) | 2 lines Changed paths: M /python/trunk/Lib/gzip.py prevent a warning from the struct module when data size >= 2**32. ----------------------------------- [http://svn.python.org/view?rev=61823&view=rev r61823] | gregory.p.smith | 2008-03-23 20:08:01 -0400 (Sun, 23 Mar 2008) | 4 lines Changed paths: M /python/trunk/Modules/binascii.c M /python/trunk/setup.py Have the binascii module use zlib's optimized crc32() function when available to reduce our code size (1k data table and tiny bit of code). It falls back to its own without zlib. ----------------------------------- [http://svn.python.org/view?rev=61841&view=rev r61841] | raymond.hettinger | 2008-03-24 04:17:39 -0400 (Mon, 24 Mar 2008) | 1 line Changed paths: M /python/trunk/Lib/copy.py M /python/trunk/Misc/NEWS Issue 2460: Make Ellipsis objects copyable. ----------------------------------- [http://svn.python.org/view?rev=61847&view=rev r61847] | martin.v.loewis | 2008-03-24 09:31:16 -0400 (Mon, 24 Mar 2008) | 2 lines Changed paths: M /python/trunk/Doc/library/signal.rst M /python/trunk/Lib/test/test_signal.py M /python/trunk/Misc/ACKS M /python/trunk/Misc/NEWS M /python/trunk/Modules/signalmodule.c M /python/trunk/configure M /python/trunk/configure.in M /python/trunk/pyconfig.h.in Patch #2240: Implement signal.setitimer and signal.getitimer. ----------------------------------- [http://svn.python.org/view?rev=61849&view=rev r61849] | martin.v.loewis | 2008-03-24 09:54:23 -0400 (Mon, 24 Mar 2008) | 2 lines Changed paths: M /python/trunk/Modules/signalmodule.c Conditionalize sys/time.h inclusion. ----------------------------------- [http://svn.python.org/view?rev=61851&view=rev r61851] | christian.heimes | 2008-03-24 15:57:42 -0400 (Mon, 24 Mar 2008) | 1 line Changed paths: M /python/trunk/Python/sysmodule.c Added quick hack for bzr ----------------------------------- [http://svn.python.org/view?rev=61852&view=rev r61852] | christian.heimes | 2008-03-24 15:58:17 -0400 (Mon, 24 Mar 2008) | 1 line Changed paths: M /python/trunk/Python/sysmodule.c Added quick hack for bzr ----------------------------------- [http://svn.python.org/view?rev=61853&view=rev r61853] | amaury.forgeotdarc | 2008-03-24 17:04:10 -0400 (Mon, 24 Mar 2008) | 4 lines Changed paths: M /python/trunk/Objects/unicodeobject.c Issue2469: Correct a typo I introduced at [http://svn.python.org/view?rev=61793&view=rev r61793]: compilation error with UCS4 builds. All buildbots compile with UCS2... ----------------------------------- [http://svn.python.org/view?rev=61864&view=rev r61864] | neal.norwitz | 2008-03-25 00:18:18 -0400 (Tue, 25 Mar 2008) | 2 lines Changed paths: M /python/trunk/Objects/unicodeobject.c M /python/trunk/PC/_winreg.c M /python/trunk/PC/w9xpopen.c M /python/trunk/Python/peephole.c Try to fix a bunch of compiler warnings on Win64. ----------------------------------- [http://svn.python.org/view?rev=61867&view=rev r61867] | gregory.p.smith | 2008-03-25 02:12:45 -0400 (Tue, 25 Mar 2008) | 3 lines Changed paths: M /python/trunk/Lib/tarfile.py M /python/trunk/Lib/test/test_zlib.py A stab in the dark attempt to fix the alpha/tru64 buildbot problem and add more test coverage of valid inputs to zlib.crc32. ----------------------------------- [http://svn.python.org/view?rev=61874&view=rev r61874] | gregory.p.smith | 2008-03-25 03:31:28 -0400 (Tue, 25 Mar 2008) | 2 lines Changed paths: M /python/trunk/Modules/binascii.c M /python/trunk/Modules/zlibmodule.c Use a 32-bit unsigned int here, a long is not needed. ----------------------------------- [http://svn.python.org/view?rev=61875&view=rev r61875] | gregory.p.smith | 2008-03-25 03:46:07 -0400 (Tue, 25 Mar 2008) | 7 lines Changed paths: M /python/trunk/Modules/binascii.c On platforms without zlib, make this do the right thing and return the python 2.x signed value. Also, don't waste space on a table full of unsigned longs when all it needs are unsigned ints (incase anyone builds this without zlib on a 64-bit unix for some strange reason). tested by forcing it to compile this version on both 32-bit and 64-bit linux. ----------------------------------- [http://svn.python.org/view?rev=61880&view=rev r61880] | georg.brandl | 2008-03-25 04:31:32 -0400 (Tue, 25 Mar 2008) | 2 lines Changed paths: M /python/trunk/Objects/cellobject.c M /python/trunk/Objects/dictobject.c Fix tabs. ----------------------------------- [http://svn.python.org/view?rev=61889&view=rev r61889] | georg.brandl | 2008-03-25 07:59:51 -0400 (Tue, 25 Mar 2008) | 2 lines Changed paths: M /python/trunk/Objects/bufferobject.c Move declarations to block start. ----------------------------------- [http://svn.python.org/view?rev=61892&view=rev r61892] | mark.dickinson | 2008-03-25 10:33:23 -0400 (Tue, 25 Mar 2008) | 3 lines Changed paths: M /python/trunk/Lib/decimal.py M /python/trunk/Lib/test/test_decimal.py M /python/trunk/Misc/NEWS Issue #2478: Decimal(sqrt(0)) failed when the decimal context was not explicitly supplied. ----------------------------------- [http://svn.python.org/view?rev=61904&view=rev r61904] | mark.dickinson | 2008-03-25 14:47:59 -0400 (Tue, 25 Mar 2008) | 4 lines Changed paths: M /python/trunk/Lib/decimal.py M /python/trunk/Lib/test/test_decimal.py M /python/trunk/Misc/NEWS Issue #2482: Make sure that the coefficient of a Decimal instance is always stored as a str instance, even when that Decimal has been created from a unicode string. ----------------------------------- [http://svn.python.org/view?rev=61915&view=rev r61915] | thomas.heller | 2008-03-25 17:18:39 -0400 (Tue, 25 Mar 2008) | 1 line Changed paths: M /python/trunk/Modules/_ctypes/_ctypes.c Make _ctypes.c PY_SSIZE_T_CLEAN. ----------------------------------- [http://svn.python.org/view?rev=61918&view=rev r61918] | andrew.kuchling | 2008-03-25 20:16:50 -0400 (Tue, 25 Mar 2008) | 1 line Changed paths: M /python/trunk/Modules/selectmodule.c Minor docstring typos ----------------------------------- [http://svn.python.org/view?rev=61931&view=rev r61931] | benjamin.peterson | 2008-03-26 07:57:47 -0400 (Wed, 26 Mar 2008) | 2 lines Changed paths: M /python/trunk/Lib/pdb.py Added help options to PDB ----------------------------------- [http://svn.python.org/view?rev=61940&view=rev r61940] | christian.heimes | 2008-03-26 08:53:58 -0400 (Wed, 26 Mar 2008) | 1 line Changed paths: M /python/trunk/Misc/NEWS Updated Misc/NEWS ----------------------------------- [http://svn.python.org/view?rev=61943&view=rev r61943] | georg.brandl | 2008-03-26 08:57:47 -0400 (Wed, 26 Mar 2008) | 2 lines Changed paths: M /python/trunk/Modules/selectmodule.c Fix and simplify error handling, silencing a compiler warning. ----------------------------------- [http://svn.python.org/view?rev=61954&view=rev r61954] | christian.heimes | 2008-03-26 18:20:26 -0400 (Wed, 26 Mar 2008) | 1 line Changed paths: M /python/trunk/Parser/parsetok.c Surround p_flags access with #ifdef PY_PARSER_REQUIRES_FUTURE_KEYWORD ----------------------------------- [http://svn.python.org/view?rev=61956&view=rev r61956] | christian.heimes | 2008-03-26 18:51:58 -0400 (Wed, 26 Mar 2008) | 1 line Changed paths: M /python/trunk/Python/import.c M /python/trunk/Python/pythonrun.c Initialize PyCompilerFlags cf_flags with 0 ----------------------------------- [http://svn.python.org/view?rev=61958&view=rev r61958] | amaury.forgeotdarc | 2008-03-26 19:07:43 -0400 (Wed, 26 Mar 2008) | 2 lines Changed paths: M /python/trunk/Python/pythonrun.c C89 compliance: Microsoft compilers want variable declarations at the top ----------------------------------- [http://svn.python.org/view?rev=61964&view=rev r61964] | benjamin.peterson | 2008-03-26 20:25:33 -0400 (Wed, 26 Mar 2008) | 2 lines Changed paths: M /python/trunk/Misc/ACKS add commas for introductory clauses ----------------------------------- [http://svn.python.org/view?rev=61965&view=rev r61965] | christian.heimes | 2008-03-26 21:36:21 -0400 (Wed, 26 Mar 2008) | 1 line Changed paths: M /python/trunk/PC/config.c M /python/trunk/PC/pyconfig.h M /python/trunk/PCbuild/pythoncore.vcproj Hopefully added _fileio module to the Windows build system ----------------------------------- [http://svn.python.org/view?rev=61966&view=rev r61966] | christian.heimes | 2008-03-26 21:38:47 -0400 (Wed, 26 Mar 2008) | 1 line Changed paths: M /python/trunk/PC/pyconfig.h Revert commit accident ----------------------------------- [http://svn.python.org/view?rev=61969&view=rev r61969] | neal.norwitz | 2008-03-27 00:40:50 -0400 (Thu, 27 Mar 2008) | 3 lines Changed paths: M /python/trunk/Include/bytes_methods.h M /python/trunk/Objects/longobject.c M /python/trunk/Objects/unicodeobject.c M /python/trunk/Python/mystrtoul.c Fix warnings about using char as an array subscript. This is not portable since char is signed on some platforms and unsigned on others. ----------------------------------- [http://svn.python.org/view?rev=61970&view=rev r61970] | neal.norwitz | 2008-03-27 01:02:57 -0400 (Thu, 27 Mar 2008) | 1 line Changed paths: M /python/trunk/Lib/compiler/future.py Fix test_compiler after adding unicode_literals ----------------------------------- [http://svn.python.org/view?rev=61971&view=rev r61971] | neal.norwitz | 2008-03-27 01:03:11 -0400 (Thu, 27 Mar 2008) | 1 line Changed paths: M /python/trunk/Modules/_ssl.c Fix compiler warnings ----------------------------------- [http://svn.python.org/view?rev=61972&view=rev r61972] | neal.norwitz | 2008-03-27 02:52:01 -0400 (Thu, 27 Mar 2008) | 1 line Changed paths: M /python/trunk/Objects/floatobject.c M /python/trunk/Objects/intobject.c Pluralss only need one s, not 2 (intss -> ints) ----------------------------------- [http://svn.python.org/view?rev=61973&view=rev r61973] | christian.heimes | 2008-03-27 05:02:33 -0400 (Thu, 27 Mar 2008) | 1 line Changed paths: M /python/trunk/Python/import.c Quick 'n dirty hack: Increase the magic by 2 to force a rebuild of pyc/pyo files on the build bots ----------------------------------- [http://svn.python.org/view?rev=61975&view=rev r61975] | christian.heimes | 2008-03-27 06:35:52 -0400 (Thu, 27 Mar 2008) | 1 line Changed paths: M /python/trunk/Python/import.c Build bots are working again - removing the hack ----------------------------------- [http://svn.python.org/view?rev=61977&view=rev r61977] | georg.brandl | 2008-03-27 09:27:31 -0400 (Thu, 27 Mar 2008) | 2 lines Changed paths: M /python/trunk/Doc/library/smtplib.rst M /python/trunk/Lib/smtplib.py M /python/trunk/Misc/NEWS #2248: return result of QUIT from quit(). ----------------------------------- [http://svn.python.org/view?rev=61979&view=rev r61979] | amaury.forgeotdarc | 2008-03-27 19:23:54 -0400 (Thu, 27 Mar 2008) | 5 lines Changed paths: M /python/trunk/Lib/test/test_tokenize.py M /python/trunk/Lib/tokenize.py M /python/trunk/Misc/NEWS Issue2495: tokenize.untokenize did not insert space between two consecutive string literals: "" "" => """", which is invalid code. Will backport ----------------------------------- [http://svn.python.org/view?rev=61984&view=rev r61984] | jeffrey.yasskin | 2008-03-28 00:11:18 -0400 (Fri, 28 Mar 2008) | 6 lines Changed paths: M /python/trunk/Lib/test/test_threading.py M /python/trunk/Lib/threading.py Kill a race in test_threading in which the exception info in a thread finishing up after it was joined had a traceback pointing to that thread's (deleted) target attribute, while the test was trying to check that the target was destroyed. Big thanks to Antoine Pitrou for diagnosing the race and pointing out sys.exc_clear() to kill the exception early. This fixes issue 2496. ----------------------------------- [http://svn.python.org/view?rev=61987&view=rev r61987] | neal.norwitz | 2008-03-28 00:58:51 -0400 (Fri, 28 Mar 2008) | 5 lines Changed paths: M /python/trunk/Include/Python.h M /python/trunk/Include/bytes_methods.h M /python/trunk/Objects/longobject.c M /python/trunk/Objects/unicodeobject.c M /python/trunk/Parser/tokenizer.c M /python/trunk/Python/mystrtoul.c Revert [http://svn.python.org/view?rev=61969&view=rev r61969] which added casts to Py_CHARMASK to avoid compiler warnings. Rather than sprinkle casts throughout the code, change Py_CHARMASK to always cast it's result to an unsigned char. This should ensure we do the right thing when accessing an array with the result. ----------------------------------- [http://svn.python.org/view?rev=61992&view=rev r61992] | neal.norwitz | 2008-03-28 01:34:59 -0400 (Fri, 28 Mar 2008) | 2 lines Changed paths: M /python/trunk/Objects/complexobject.c M /python/trunk/Objects/floatobject.c M /python/trunk/configure M /python/trunk/configure.in M /python/trunk/pyconfig.h.in Fix compiler warning about finite() missing on Solaris. ----------------------------------- [http://svn.python.org/view?rev=62000&view=rev r62000] | gregory.p.smith | 2008-03-28 04:32:09 -0400 (Fri, 28 Mar 2008) | 4 lines Changed paths: M /python/trunk/Doc/library/sqlite3.rst M /python/trunk/Lib/test/test_sqlite.py M /python/trunk/Misc/ACKS M /python/trunk/Misc/NEWS M /python/trunk/Modules/_sqlite/connection.c Accept patch issue2426 by Paul Kippes (kippesp). Adds sqlite3.Connection.iterdump to allow dumping of databases. ----------------------------------- [http://svn.python.org/view?rev=62004&view=rev r62004] | georg.brandl | 2008-03-28 08:11:56 -0400 (Fri, 28 Mar 2008) | 4 lines Changed paths: M /python/trunk/Doc/library/_ast.rst M /python/trunk/Doc/library/compiler.rst M /python/trunk/Doc/library/functions.rst M /python/trunk/Doc/library/language.rst M /python/trunk/Include/Python-ast.h M /python/trunk/Lib/test/test_compile.py M /python/trunk/Misc/NEWS M /python/trunk/Parser/asdl_c.py M /python/trunk/Python/Python-ast.c M /python/trunk/Python/bltinmodule.c M /python/trunk/Python/compile.c Patch #1810 by Thomas Lee, reviewed by myself: allow compiling Python AST objects into code objects in compile(). ----------------------------------- [http://svn.python.org/view?rev=62011&view=rev r62011] | gerhard.haering | 2008-03-28 16:08:36 -0400 (Fri, 28 Mar 2008) | 2 lines Changed paths: M /python/trunk/Lib/sqlite3/test/factory.py M /python/trunk/Lib/sqlite3/test/userfunctions.py M /python/trunk/Modules/_sqlite/cache.c M /python/trunk/Modules/_sqlite/cache.h M /python/trunk/Modules/_sqlite/cursor.c M /python/trunk/Modules/_sqlite/prepare_protocol.h M /python/trunk/Modules/_sqlite/row.h M /python/trunk/Modules/_sqlite/statement.c M /python/trunk/Modules/_sqlite/statement.h M /python/trunk/Modules/_sqlite/util.h Update sqlite3 module to match current version of pysqlite. ----------------------------------- [http://svn.python.org/view?rev=62013&view=rev r62013] | amaury.forgeotdarc | 2008-03-28 16:17:51 -0400 (Fri, 28 Mar 2008) | 2 lines Changed paths: M /python/trunk/Python/Python-ast.c Silence a compilation warning ----------------------------------- [http://svn.python.org/view?rev=62014&view=rev r62014] | georg.brandl | 2008-03-28 16:22:56 -0400 (Fri, 28 Mar 2008) | 2 lines Changed paths: M /python/trunk/Parser/asdl_c.py Silence compiler warning at the source. ----------------------------------- [http://svn.python.org/view?rev=62015&view=rev r62015] | amaury.forgeotdarc | 2008-03-28 16:30:50 -0400 (Fri, 28 Mar 2008) | 5 lines Changed paths: M /python/trunk/Misc/NEWS M /python/trunk/Python/compile.c Fix a reference leak found by Georg, when compiling a class nested in another class. Now "regrtest.py -R:: test_compile" is satisfied. Will backport. ----------------------------------- [http://svn.python.org/view?rev=62018&view=rev r62018] | benjamin.peterson | 2008-03-28 16:56:00 -0400 (Fri, 28 Mar 2008) | 2 lines Changed paths: M /python/trunk/Lib/bdb.py #2498 modernized try, except, finally statements in bdb ----------------------------------- [http://svn.python.org/view?rev=62020&view=rev r62020] | amaury.forgeotdarc | 2008-03-28 18:43:38 -0400 (Fri, 28 Mar 2008) | 5 lines Changed paths: M /python/trunk/PC/pyconfig.h One #ifdef too much, and I broke all windows buildbots: in pyconfig.h, NTDDI_WIN2KSP4 is not *yet* defined, but will be at some point on some modules. Let this line even for older SDKs, they don't use it anyway. ----------------------------------- [http://svn.python.org/view?rev=62021&view=rev r62021] | benjamin.peterson | 2008-03-28 19:11:01 -0400 (Fri, 28 Mar 2008) | 2 lines Changed paths: M /python/trunk/Include/object.h NIL => NULL ----------------------------------- [http://svn.python.org/view?rev=62023&view=rev r62023] | amaury.forgeotdarc | 2008-03-28 20:44:58 -0400 (Fri, 28 Mar 2008) | 5 lines Changed paths: M /python/trunk/Lib/threading.py Try to understand why most buildbots suddenly turned to red. Undo the only change that might have unexpected effects. To be followed. ----------------------------------- [http://svn.python.org/view?rev=62025&view=rev r62025] | amaury.forgeotdarc | 2008-03-28 20:49:07 -0400 (Fri, 28 Mar 2008) | 2 lines Changed paths: M /python/trunk/Lib/threading.py At least let the module compile ----------------------------------- [http://svn.python.org/view?rev=62028&view=rev r62028] | amaury.forgeotdarc | 2008-03-28 21:41:08 -0400 (Fri, 28 Mar 2008) | 2 lines Changed paths: M /python/trunk/Lib/threading.py Revert my experiment. I found one reason of failures in test_logging. ----------------------------------- [http://svn.python.org/view?rev=62030&view=rev r62030] | georg.brandl | 2008-03-28 21:50:06 -0400 (Fri, 28 Mar 2008) | 2 lines Changed paths: M /python/trunk/Misc/NEWS M /python/trunk/Modules/main.c Backport #1442: report exception when startup file cannot be run. ----------------------------------- [http://svn.python.org/view?rev=62039&view=rev r62039] | georg.brandl | 2008-03-29 09:24:23 -0400 (Sat, 29 Mar 2008) | 3 lines Changed paths: M /python/trunk/Include/Python-ast.h M /python/trunk/Lib/test/test_compile.py M /python/trunk/Parser/asdl_c.py M /python/trunk/Python/Python-ast.c M /python/trunk/Python/bltinmodule.c Properly check for consistency with the third argument of compile() when compiling an AST node. ----------------------------------- [http://svn.python.org/view?rev=62043&view=rev r62043] | benjamin.peterson | 2008-03-29 11:24:25 -0400 (Sat, 29 Mar 2008) | 3 lines Changed paths: M /python/trunk/Demo/classes/Dbm.py M /python/trunk/Demo/curses/ncurses.py M /python/trunk/Demo/rpc/mountclient.py M /python/trunk/Demo/rpc/nfsclient.py M /python/trunk/Demo/rpc/rpc.py M /python/trunk/Demo/tkinter/guido/paint.py M /python/trunk/Lib/bsddb/dbshelve.py M /python/trunk/Lib/bsddb/test/test_basics.py M /python/trunk/Lib/bsddb/test/test_dbtables.py M /python/trunk/Lib/idlelib/AutoComplete.py M /python/trunk/Lib/idlelib/PyShell.py M /python/trunk/Lib/lib-tk/Tkinter.py M /python/trunk/Lib/lib-tk/turtle.py M /python/trunk/Lib/plat-mac/EasyDialogs.py M /python/trunk/Lib/plat-mac/FrameWork.py M /python/trunk/Lib/plat-mac/MiniAEFrame.py M /python/trunk/Lib/plat-mac/PixMapWrapper.py M /python/trunk/Lib/plat-mac/aepack.py M /python/trunk/Lib/plat-mac/buildtools.py M /python/trunk/Lib/plat-mac/findertools.py M /python/trunk/Lib/plat-mac/gensuitemodule.py M /python/trunk/Lib/plat-mac/ic.py M /python/trunk/Lib/plat-mac/lib-scriptpackages/CodeWarrior/CodeWarrior_suite.py M /python/trunk/Lib/plat-mac/lib-scriptpackages/CodeWarrior/Metrowerks_Shell_Suite.py M /python/trunk/Lib/plat-mac/lib-scriptpackages/CodeWarrior/Standard_Suite.py M /python/trunk/Lib/plat-mac/lib-scriptpackages/Explorer/Required_Suite.py M /python/trunk/Lib/plat-mac/lib-scriptpackages/Explorer/Web_Browser_Suite.py M /python/trunk/Lib/plat-mac/lib-scriptpackages/Finder/Finder_Basics.py M /python/trunk/Lib/plat-mac/lib-scriptpackages/Finder/Legacy_suite.py M /python/trunk/Lib/plat-mac/lib-scriptpackages/Finder/Standard_Suite.py M /python/trunk/Lib/plat-mac/lib-scriptpackages/Netscape/Mozilla_suite.py M /python/trunk/Lib/plat-mac/lib-scriptpackages/Netscape/PowerPlant.py M /python/trunk/Lib/plat-mac/lib-scriptpackages/Netscape/Required_suite.py M /python/trunk/Lib/plat-mac/lib-scriptpackages/Netscape/WorldWideWeb_suite.py M /python/trunk/Lib/plat-mac/lib-scriptpackages/StdSuites/AppleScript_Suite.py M /python/trunk/Lib/plat-mac/lib-scriptpackages/StdSuites/Standard_Suite.py M /python/trunk/Lib/plat-mac/lib-scriptpackages/SystemEvents/Standard_Suite.py M /python/trunk/Lib/plat-mac/lib-scriptpackages/Terminal/Standard_Suite.py M /python/trunk/Lib/plat-mac/lib-scriptpackages/_builtinSuites/builtin_Suite.py M /python/trunk/Lib/plat-mac/macostools.py M /python/trunk/Lib/plat-mac/videoreader.py M /python/trunk/Lib/plat-os2emx/grp.py M /python/trunk/Lib/plat-os2emx/pwd.py M /python/trunk/Lib/test/test_ast.py M /python/trunk/Lib/test/test_mailbox.py M /python/trunk/Lib/test/test_pyclbr.py M /python/trunk/Lib/test/test_ssl.py M /python/trunk/Lib/xml/sax/expatreader.py M /python/trunk/Mac/BuildScript/build-installer.py M /python/trunk/Mac/Demo/applescript/Disk_Copy/Utility_Events.py M /python/trunk/Mac/Tools/Doc/HelpIndexingTool/Standard_Suite.py M /python/trunk/Mac/Tools/Doc/setup.py M /python/trunk/Mac/scripts/buildpkg.py M /python/trunk/Tools/bgen/bgen/bgenGenerator.py #2503 make singletons compared with "is" not == or != Thanks to Wummel for the patch ----------------------------------- [http://svn.python.org/view?rev=62047&view=rev r62047] | georg.brandl | 2008-03-30 02:40:17 -0400 (Sun, 30 Mar 2008) | 2 lines Changed paths: M /python/trunk/Include/Python-ast.h M /python/trunk/Parser/Python.asdl M /python/trunk/Python/Python-ast.c M /python/trunk/Python/ast.c M /python/trunk/Python/compile.c M /python/trunk/Python/symtable.c Patch #2511: Give the "excepthandler" AST item proper attributes by making it a Sum. ----------------------------------- [http://svn.python.org/view?rev=62049&view=rev r62049] | georg.brandl | 2008-03-30 03:01:47 -0400 (Sun, 30 Mar 2008) | 2 lines Changed paths: M /python/trunk/Doc/library/_ast.rst M /python/trunk/Parser/asdl_c.py M /python/trunk/Python/Python-ast.c #2505: allow easier creation of AST nodes. ----------------------------------- [http://svn.python.org/view?rev=62051&view=rev r62051] | georg.brandl | 2008-03-30 15:00:49 -0400 (Sun, 30 Mar 2008) | 2 lines Changed paths: M /python/trunk/Lib/test/test_ast.py M /python/trunk/Parser/asdl_c.py M /python/trunk/Python/Python-ast.c Make _fields attr for no fields consistent with _attributes attr. ----------------------------------- [http://svn.python.org/view?rev=62053&view=rev r62053] | georg.brandl | 2008-03-30 15:41:39 -0400 (Sun, 30 Mar 2008) | 2 lines Changed paths: M /python/trunk/README The other download formats will be available for 2.6 too. ----------------------------------- [http://svn.python.org/view?rev=62054&view=rev r62054] | georg.brandl | 2008-03-30 15:43:27 -0400 (Sun, 30 Mar 2008) | 2 lines Changed paths: M /python/trunk/Parser/asdl_c.py M /python/trunk/Python/Python-ast.c Fix error message -- "expects either 0 or 0 arguments" ----------------------------------- [http://svn.python.org/view?rev=62059&view=rev r62059] | georg.brandl | 2008-03-30 16:20:39 -0400 (Sun, 30 Mar 2008) | 2 lines Changed paths: M /python/trunk/Lib/test/test_ast.py M /python/trunk/Parser/asdl_c.py M /python/trunk/Python/Python-ast.c Make AST nodes pickleable. ----------------------------------- [http://svn.python.org/view?rev=62067&view=rev r62067] | jeffrey.yasskin | 2008-03-30 20:35:53 -0400 (Sun, 30 Mar 2008) | 2 lines Changed paths: M /python/trunk/Lib/threading.py Block the sys.exc_clear -3 warning from threading.py. ----------------------------------- [http://svn.python.org/view?rev=62097&view=rev r62097] | guido.van.rossum | 2008-04-01 19:57:36 -0400 (Tue, 01 Apr 2008) | 3 lines Changed paths: M /python/trunk/Modules/timing.h Remove the advertising clause from the BSD license in timing.h. I have the email trail to prove that George Neville-Neil approved this. ----------------------------------- [http://svn.python.org/view?rev=62105&view=rev r62105] | trent.nelson | 2008-04-02 11:01:00 -0400 (Wed, 02 Apr 2008) | 1 line Changed paths: M /python/trunk/PCbuild/readme.txt Update information pertaining to building external components, as well as notes on x64 builds. This file now accurately describes the build process as is; however, there's still a lot of room for improvement, especially with regards to how we build Tcl/Tk, Tix, and OpenSSL. Watch this space for further improvements. ----------------------------------- [http://svn.python.org/view?rev=62110&view=rev r62110] | vinay.sajip | 2008-04-02 17:09:27 -0400 (Wed, 02 Apr 2008) | 1 line Changed paths: M /python/trunk/Lib/logging/handlers.py Fix: #2315, #2316, #2317: TimedRotatingFileHandler - changed logic to better handle daylight savings time, deletion of old log files, and fixed a bug in calculating rollover when no logging occurs for a longer interval than the rollover period. ----------------------------------- [http://svn.python.org/view?rev=62111&view=rev r62111] | vinay.sajip | 2008-04-02 17:10:23 -0400 (Wed, 02 Apr 2008) | 1 line Changed paths: M /python/trunk/Misc/NEWS Added updates with respect to recent changes to TimedRotatingFileHandler. ----------------------------------- [http://svn.python.org/view?rev=62114&view=rev r62114] | benjamin.peterson | 2008-04-02 17:20:35 -0400 (Wed, 02 Apr 2008) | 2 lines Changed paths: M /python/trunk/README Suggested proposed changes to Python be considered on some mailing lists first ----------------------------------- [http://svn.python.org/view?rev=62131&view=rev r62131] | trent.nelson | 2008-04-03 14:48:53 -0400 (Thu, 03 Apr 2008) | 1 line Changed paths: M /python/trunk/PCbuild/kill_python.vcproj Add the correct OutputFile values for debug builds. Fixes [http://svn.python.org/view?rev=62129&view=rev r62129]'s commit. ----------------------------------- [http://svn.python.org/view?rev=62133&view=rev r62133] | trent.nelson | 2008-04-03 16:00:08 -0400 (Thu, 03 Apr 2008) | 1 line Changed paths: M /python/trunk/PCbuild/kill_python.c Make kill_python a little more forgiving if it can't obtain a snapshot of module information for a given python[_d].exe process. Failing here was too pessimistic; the python[_d].exe process may be owned by another user, which is the case in some buildbot environments. ----------------------------------- [http://svn.python.org/view?rev=62136&view=rev r62136] | amaury.forgeotdarc | 2008-04-03 19:07:55 -0400 (Thu, 03 Apr 2008) | 9 lines Changed paths: M /python/trunk/Lib/test/test_threading.py M /python/trunk/Lib/threading.py M /python/trunk/Misc/NEWS #1733757: the interpreter would hang on shutdown, if the function set by sys.settrace calls threading.currentThread. The correction somewhat improves the code, but it was close. Many thanks to the "with" construct, which turns python code into C calls. I wonder if it is not better to sys.settrace(None) just after running the __main__ module and before finalization. ----------------------------------- [http://svn.python.org/view?rev=62138&view=rev r62138] | barry.warsaw | 2008-04-03 21:34:41 -0400 (Thu, 03 Apr 2008) | 1 line Changed paths: M /python/trunk/Misc/NEWS post release updates ----------------------------------- [http://svn.python.org/view?rev=62142&view=rev r62142] | fred.drake | 2008-04-04 01:41:30 -0400 (Fri, 04 Apr 2008) | 4 lines Changed paths: M /python/trunk/Lib/distutils/core.py A /python/trunk/Lib/distutils/tests/test_core.py M /python/trunk/Misc/NEWS - Issue #2385: distutils.core.run_script() makes __file__ available, so the controlled environment will more closely mirror the typical script environment. This supports setup.py scripts that refer to data files. ----------------------------------- [http://svn.python.org/view?rev=62143&view=rev r62143] | thomas.heller | 2008-04-04 04:35:44 -0400 (Fri, 04 Apr 2008) | 1 line Changed paths: M /python/trunk/Lib/ctypes/test/test_prototypes.py M /python/trunk/Modules/_ctypes/_ctypes.c M /python/trunk/Modules/_ctypes/ctypes.h Issue #2543: Make ctypes compatible (again) with Python 2.3, 2.4, and 2.5. ----------------------------------- [http://svn.python.org/view?rev=62145&view=rev r62145] | thomas.heller | 2008-04-04 06:07:55 -0400 (Fri, 04 Apr 2008) | 3 lines Changed paths: M /python/trunk/Misc/NEWS M /python/trunk/configure M /python/trunk/configure.in Issue #2544: On HP-UX systems, use 'gcc -shared' for linking when gcc is used as compiler. ----------------------------------- [http://svn.python.org/view?rev=62147&view=rev r62147] | fred.drake | 2008-04-04 07:31:14 -0400 (Fri, 04 Apr 2008) | 6 lines Changed paths: M /python/trunk/Lib/distutils/core.py M /python/trunk/Lib/distutils/tests/test_core.py my previous change did what I said it should not: it changed the current directory to the directory in which the setup.py script lived (which made __file__ wrong) fixed, with test that the script is run in the current directory of the caller ----------------------------------- [http://svn.python.org/view?rev=62148&view=rev r62148] | fred.drake | 2008-04-04 07:38:51 -0400 (Fri, 04 Apr 2008) | 2 lines Changed paths: M /python/trunk/Lib/distutils/tests/test_core.py stupid, stupid, stupid! ----------------------------------- [http://svn.python.org/view?rev=62161&view=rev r62161] | neal.norwitz | 2008-04-05 00:26:31 -0400 (Sat, 05 Apr 2008) | 9 lines Changed paths: M /python/trunk/Lib/sqlite3/test/transactions.py Prevent test_sqlite from hanging on older versions of sqlite. The problem is that when trying to do the second insert, sqlite seems to sleep for a very long time. Here is the output from strace: read(6, "SQLite format 3\0\4\0\1\1\0@ \0\0\0\1\0\0\0\0"..., 1024) = 1024 nanosleep({4294, 966296000}, I don't know which version this was fixed in, but 3.2.1 definitely fails. ----------------------------------- [http://svn.python.org/view?rev=62167&view=rev r62167] | martin.v.loewis | 2008-04-05 11:45:25 -0400 (Sat, 05 Apr 2008) | 1 line Changed paths: M /python/trunk/Tools/msi/schema.py Extend sizes of various fields, to support the CRT90 merge module. ----------------------------------- [http://svn.python.org/view?rev=62168&view=rev r62168] | martin.v.loewis | 2008-04-05 11:48:36 -0400 (Sat, 05 Apr 2008) | 1 line Changed paths: M /python/trunk/Tools/msi/msi.py Add two features to distinguish between private and SxS CRT. ----------------------------------- [http://svn.python.org/view?rev=62177&view=rev r62177] | skip.montanaro | 2008-04-05 15:47:47 -0400 (Sat, 05 Apr 2008) | 2 lines Changed paths: M /python/trunk/Modules/timemodule.c Declare inittimezone static. ----------------------------------- [http://svn.python.org/view?rev=62179&view=rev r62179] | thomas.wouters | 2008-04-05 19:39:15 -0400 (Sat, 05 Apr 2008) | 10 lines Changed paths: M /python/trunk/Lib/distutils/tests/test_sysconfig.py M /python/trunk/setup.py 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. ----------------------------------- [http://svn.python.org/view?rev=62180&view=rev r62180] | mark.hammond | 2008-04-05 21:42:06 -0400 (Sat, 05 Apr 2008) | 4 lines Changed paths: M /python/trunk/PC/_winreg.c From issue 1753245 - better _winreg support for x64. Adds _winreg.DisableReflectionKey, EnableReflectionKey, QueryReflectionKey, KEY_WOW64_64KEY and KEY_WOW64_32KEY. ----------------------------------- [http://svn.python.org/view?rev=62187&view=rev r62187] | skip.montanaro | 2008-04-06 13:05:57 -0400 (Sun, 06 Apr 2008) | 1 line Changed paths: M /python/trunk/Modules/timemodule.c type ----------------------------------- [http://svn.python.org/view?rev=62195&view=rev r62195] | gregory.p.smith | 2008-04-06 19:11:17 -0400 (Sun, 06 Apr 2008) | 10 lines Changed paths: M /python/trunk/Doc/c-api/file.rst M /python/trunk/Include/fileobject.h M /python/trunk/Lib/test/test_file.py M /python/trunk/Misc/NEWS M /python/trunk/Objects/fileobject.c 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). ----------------------------------- [http://svn.python.org/view?rev=62197&view=rev r62197] | mark.hammond | 2008-04-06 21:53:39 -0400 (Sun, 06 Apr 2008) | 2 lines Changed paths: M /python/trunk/Doc/distutils/builtdist.rst M /python/trunk/Lib/distutils/command/bdist.py M /python/trunk/Lib/distutils/command/bdist_msi.py M /python/trunk/Lib/distutils/command/bdist_wininst.py M /python/trunk/Lib/distutils/command/build.py M /python/trunk/Lib/distutils/command/build_ext.py M /python/trunk/Lib/distutils/command/install.py A /python/trunk/Lib/distutils/command/wininst-9.0-amd64.exe M /python/trunk/Lib/distutils/msvc9compiler.py M /python/trunk/Lib/distutils/msvccompiler.py M /python/trunk/Lib/distutils/util.py M /python/trunk/Misc/NEWS M /python/trunk/PC/example_nt/readme.txt A /python/trunk/PC/example_nt/setup.py M /python/trunk/PCbuild/bdist_wininst.vcproj M /python/trunk/PCbuild/pcbuild.sln Issue #2513: enable 64bit cross compilation on windows. ----------------------------------- [http://svn.python.org/view?rev=62204&view=rev r62204] | gregory.p.smith | 2008-04-07 02:33:21 -0400 (Mon, 07 Apr 2008) | 4 lines Changed paths: M /python/trunk/Modules/bz2module.c M /python/trunk/Modules/cPickle.c 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*. ----------------------------------- [http://svn.python.org/view?rev=62207&view=rev r62207] | martin.v.loewis | 2008-04-07 10:53:34 -0400 (Mon, 07 Apr 2008) | 1 line Changed paths: M /python/trunk/Tools/msi/merge.py Delete ALLUSERS property merged from CRT merge module, so that per-user installations become possible again. ----------------------------------- [http://svn.python.org/view?rev=62208&view=rev r62208] | martin.v.loewis | 2008-04-07 10:54:16 -0400 (Mon, 07 Apr 2008) | 1 line Changed paths: M /python/trunk/Tools/msi/msi.py Make private_crt feature object a global variable. ----------------------------------- [http://svn.python.org/view?rev=62209&view=rev r62209] | martin.v.loewis | 2008-04-07 10:55:53 -0400 (Mon, 07 Apr 2008) | 1 line Changed paths: M /python/trunk/Tools/msi/msi.py Drop support for 7.1 CRT. ----------------------------------- [http://svn.python.org/view?rev=62210&view=rev r62210] | martin.v.loewis | 2008-04-07 12:34:04 -0400 (Mon, 07 Apr 2008) | 2 lines Changed paths: M /python/trunk/Tools/msi/msi.py Make the "private CRT" case work, by editing the manifest in DLLs to refer to the root copy of the CRT. ----------------------------------- [http://svn.python.org/view?rev=62221&view=rev r62221] | andrew.kuchling | 2008-04-07 21:33:10 -0400 (Mon, 07 Apr 2008) | 1 line Changed paths: M /python/trunk/PC/_winreg.c Typographical fix: 32bit -> 32-bit, 64bit -> 64-bit ----------------------------------- [http://svn.python.org/view?rev=62223&view=rev r62223] | martin.v.loewis | 2008-04-08 12:48:35 -0400 (Tue, 08 Apr 2008) | 1 line Changed paths: M /python/trunk/Tools/msi/msi.py Suppress compilation of py3_ files upon installation. ----------------------------------- [http://svn.python.org/view?rev=62229&view=rev r62229] | amaury.forgeotdarc | 2008-04-08 17:27:42 -0400 (Tue, 08 Apr 2008) | 7 lines Changed paths: M /python/trunk/Lib/sre_compile.py M /python/trunk/Lib/test/test_capi.py 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. ----------------------------------- [http://svn.python.org/view?rev=62230&view=rev r62230] | amaury.forgeotdarc | 2008-04-08 17:51:57 -0400 (Tue, 08 Apr 2008) | 2 lines Changed paths: M /python/trunk/Lib/inspect.py Prevent an error when inspect.isabstract() is called with something else than a new-style class. ----------------------------------- [http://svn.python.org/view?rev=62231&view=rev r62231] | amaury.forgeotdarc | 2008-04-08 18:07:05 -0400 (Tue, 08 Apr 2008) | 8 lines Changed paths: M /python/trunk/Doc/library/types.rst M /python/trunk/Lib/types.py M /python/trunk/Makefile.pre.in D /python/trunk/Modules/_typesmodule.c M /python/trunk/Modules/config.c.in M /python/trunk/PC/VC6/pythoncore.dsp M /python/trunk/PC/VS7.1/pythoncore.vcproj M /python/trunk/PC/VS8.0/pythoncore.vcproj M /python/trunk/PC/config.c M /python/trunk/PCbuild/pythoncore.vcproj 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. ----------------------------------- [http://svn.python.org/view?rev=62234&view=rev r62234] | trent.nelson | 2008-04-08 19:47:30 -0400 (Tue, 08 Apr 2008) | 37 lines Changed paths: M /python/trunk/Lib/test/test_asynchat.py M /python/trunk/Lib/test/test_asyncore.py M /python/trunk/Lib/test/test_ftplib.py M /python/trunk/Lib/test/test_httplib.py M /python/trunk/Lib/test/test_poplib.py M /python/trunk/Lib/test/test_smtplib.py M /python/trunk/Lib/test/test_socket.py M /python/trunk/Lib/test/test_socket_ssl.py M /python/trunk/Lib/test/test_socketserver.py M /python/trunk/Lib/test/test_ssl.py M /python/trunk/Lib/test/test_support.py M /python/trunk/Lib/test/test_telnetlib.py M /python/trunk/Misc/NEWS - 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. ----------------------------------- [http://svn.python.org/view?rev=62235&view=rev r62235] | gregory.p.smith | 2008-04-08 20:25:17 -0400 (Tue, 08 Apr 2008) | 3 lines Changed paths: M /python/trunk/Lib/test/test_zlib.py M /python/trunk/Modules/zlibmodule.c Fix zlib crash from zlib.decompressobj().flush(val) when val was not positive. It tried to allocate negative or zero memory. That fails. ----------------------------------- [http://svn.python.org/view?rev=62246&view=rev r62246] | georg.brandl | 2008-04-09 13:57:38 -0400 (Wed, 09 Apr 2008) | 2 lines Changed paths: M /python/trunk/Lib/urllib2.py #2585: initialize code attribute of HTTPError. ----------------------------------- [http://svn.python.org/view?rev=62249&view=rev r62249] | gregory.p.smith | 2008-04-09 14:18:43 -0400 (Wed, 09 Apr 2008) | 2 lines Changed paths: M /python/trunk/Misc/NEWS Add a note about the zlib.decompressobj().flush() fix. ----------------------------------- [http://svn.python.org/view?rev=62255&view=rev r62255] | martin.v.loewis | 2008-04-09 14:56:20 -0400 (Wed, 09 Apr 2008) | 2 lines Changed paths: M /python/trunk/Tools/msi/msi.py Package wininst*.exe from distutils/command. ----------------------------------- [http://svn.python.org/view?rev=62289&view=rev r62289] | thomas.heller | 2008-04-11 09:05:38 -0400 (Fri, 11 Apr 2008) | 3 lines Changed paths: M /python/trunk/Modules/_ctypes/ctypes.h Move backwards compatibility macro to the correct place; PyIndex_Check() was introduced in Python 2.5. ----------------------------------- [http://svn.python.org/view?rev=62290&view=rev r62290] | thomas.heller | 2008-04-11 10:20:26 -0400 (Fri, 11 Apr 2008) | 2 lines Changed paths: M /python/trunk/Modules/_ctypes/_ctypes.c Performance improvements. ----------------------------------- [http://svn.python.org/view?rev=62293&view=rev r62293] | christian.heimes | 2008-04-12 09:03:03 -0400 (Sat, 12 Apr 2008) | 2 lines Changed paths: M /python/trunk/Misc/NEWS M /python/trunk/Modules/main.c M /python/trunk/Python/getopt.c 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. ----------------------------------- [http://svn.python.org/view?rev=62298&view=rev r62298] | gregory.p.smith | 2008-04-12 16:37:48 -0400 (Sat, 12 Apr 2008) | 2 lines Changed paths: M /python/trunk/Modules/bz2module.c fix compiler warnings ----------------------------------- [http://svn.python.org/view?rev=62302&view=rev r62302] | gregory.p.smith | 2008-04-12 18:24:04 -0400 (Sat, 12 Apr 2008) | 3 lines Changed paths: M /python/trunk/Lib/ftplib.py socket.error inherits from IOError, it no longer needs listing in the all_errors tuple. ----------------------------------- [http://svn.python.org/view?rev=62304&view=rev r62304] | gregory.p.smith | 2008-04-12 20:03:25 -0400 (Sat, 12 Apr 2008) | 3 lines Changed paths: M /python/trunk/Makefile.pre.in Adds a profile-opt target for easy compilation of a python binary using gcc's profile guided optimization. ----------------------------------- [http://svn.python.org/view?rev=62305&view=rev r62305] | brett.cannon | 2008-04-12 20:18:44 -0400 (Sat, 12 Apr 2008) | 3 lines Changed paths: M /python/trunk/Python/sysmodule.c Fix a bug in PySys_HasWarnOption() where it was not properly checking the length of the list storing the warning options. ----------------------------------- [http://svn.python.org/view?rev=62306&view=rev r62306] | brett.cannon | 2008-04-12 20:25:15 -0400 (Sat, 12 Apr 2008) | 2 lines Changed paths: M /python/trunk/PC/config.c Fix an accidental bug of an non-existent init function. ----------------------------------- [http://svn.python.org/view?rev=62320&view=rev r62320] | christian.heimes | 2008-04-13 05:33:24 -0400 (Sun, 13 Apr 2008) | 1 line Changed paths: M /python/trunk/Python/_warnings.c Use PyString_InternFromString instead of PyString_FromString for static vars ----------------------------------- [http://svn.python.org/view?rev=62321&view=rev r62321] | christian.heimes | 2008-04-13 05:37:05 -0400 (Sun, 13 Apr 2008) | 1 line Changed paths: M /python/trunk/PCbuild/pythoncore.vcproj Added new files to the pcbuild files ----------------------------------- [http://svn.python.org/view?rev=62329&view=rev r62329] | benjamin.peterson | 2008-04-13 16:35:56 -0400 (Sun, 13 Apr 2008) | 2 lines Changed paths: M /python/trunk/Include/graminit.h M /python/trunk/Parser/printgrammar.c M /python/trunk/Python/graminit.c #2627 Let it be known what pgen generates ----------------------------------- [http://svn.python.org/view?rev=62331&view=rev r62331] | georg.brandl | 2008-04-13 16:50:29 -0400 (Sun, 13 Apr 2008) | 2 lines Changed paths: M /python/trunk/Modules/main.c M /python/trunk/Python/getopt.c Improve -X error message. ----------------------------------- [http://svn.python.org/view?rev=62338&view=rev r62338] | thomas.heller | 2008-04-14 12:10:07 -0400 (Mon, 14 Apr 2008) | 3 lines Changed paths: M /python/trunk/Lib/ctypes/__init__.py M /python/trunk/Misc/NEWS M /python/trunk/Modules/_ctypes/_ctypes.c M /python/trunk/Modules/_ctypes/callproc.c M /python/trunk/Modules/_ctypes/ctypes.h Issue #2616: Implement ctypes.pointer() and ctypes.POINTER() in C for better performance. ----------------------------------- [http://svn.python.org/view?rev=62340&view=rev r62340] | amaury.forgeotdarc | 2008-04-14 15:55:40 -0400 (Mon, 14 Apr 2008) | 2 lines Changed paths: M /python/trunk/PC/VC6/pythoncore.dsp M /python/trunk/PC/VS7.1/pythoncore.vcproj M /python/trunk/PC/VS8.0/pythoncore.vcproj M /python/trunk/PCbuild/pythoncore.vcproj Update project files for all Windows supported compilers ----------------------------------- [http://svn.python.org/view?rev=62341&view=rev r62341] | amaury.forgeotdarc | 2008-04-14 16:07:48 -0400 (Mon, 14 Apr 2008) | 6 lines Changed paths: M /python/trunk/Python/_warnings.c 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 ----------------------------------- [http://svn.python.org/view?rev=62348&view=rev r62348] | neal.norwitz | 2008-04-14 23:46:21 -0400 (Mon, 14 Apr 2008) | 1 line Changed paths: M /python/trunk/Objects/abstract.c M /python/trunk/Objects/descrobject.c Prevent namespace pollution, add static for internal functions ----------------------------------- [http://svn.python.org/view?rev=62350&view=rev r62350] | nick.coghlan | 2008-04-15 06:25:31 -0400 (Tue, 15 Apr 2008) | 1 line Changed paths: M /python/trunk/Doc/library/pkgutil.rst M /python/trunk/Lib/pkgutil.py M /python/trunk/Misc/NEWS Issue 2439: add pkgutils.get_data() as a convenience wrapper for the PEP 302 get_data() API (contributed by Paul Moore) ----------------------------------- [http://svn.python.org/view?rev=62355&view=rev r62355] | mark.dickinson | 2008-04-15 16:51:18 -0400 (Tue, 15 Apr 2008) | 3 lines Changed paths: M /python/trunk/Objects/longobject.c Fix for possible signed overflow: the behaviour of -LONG_MIN is undefined in ANSI C. ----------------------------------- [http://svn.python.org/view?rev=62378&view=rev r62378] | skip.montanaro | 2008-04-18 16:35:46 -0400 (Fri, 18 Apr 2008) | 1 line Changed paths: M /python/trunk/Lib/test/test_xmlrpc.py M /python/trunk/Lib/xmlrpclib.py M /python/trunk/Misc/NEWS resolve issue 2014 ----------------------------------- [http://svn.python.org/view?rev=62379&view=rev r62379] | benjamin.peterson | 2008-04-18 16:45:33 -0400 (Fri, 18 Apr 2008) | 2 lines Changed paths: M /python/trunk/Python/sysmodule.c Fix indentation in sysmodule.c ----------------------------------- [http://svn.python.org/view?rev=62380&view=rev r62380] | christian.heimes | 2008-04-18 19:13:07 -0400 (Fri, 18 Apr 2008) | 3 lines Changed paths: M /python/trunk/Doc/library/cmath.rst M /python/trunk/Doc/library/math.rst M /python/trunk/Include/Python.h M /python/trunk/Include/complexobject.h M /python/trunk/Include/floatobject.h A /python/trunk/Include/pymath.h (from /python/branches/trunk-math/Include/pymath.h:62242) M /python/trunk/Include/pyport.h A /python/trunk/Lib/test/cmath_testcases.txt (from /python/branches/trunk-math/Lib/test/cmath_testcases.txt:62242) A /python/trunk/Lib/test/ieee754.txt (from /python/branches/trunk-math/Lib/test/ieee754.txt:62242) M /python/trunk/Lib/test/test_cmath.py M /python/trunk/Lib/test/test_float.py M /python/trunk/Lib/test/test_math.py M /python/trunk/Makefile.pre.in M /python/trunk/Misc/NEWS M /python/trunk/Modules/cmathmodule.c M /python/trunk/Modules/mathmodule.c M /python/trunk/Objects/complexobject.c D /python/trunk/Objects/doubledigits.c M /python/trunk/Objects/floatobject.c M /python/trunk/Objects/intobject.c M /python/trunk/Objects/longobject.c M /python/trunk/PC/pyconfig.h D /python/trunk/Python/hypot.c A /python/trunk/Python/pymath.c (from /python/branches/trunk-math/Python/pymath.c:62242) M /python/trunk/configure I finally got the time to update and merge Mark's and my trunk-math branch. The patch is collaborated work of Mark Dickinson and me. It was mostly done a few months ago. The patch fixes a lot of loose ends and edge cases related to operations with NaN, INF, very small values and complex math. The patch also adds acosh, asinh, atanh, log1p and copysign to all platforms. Finally it fixes differences between platforms like different results or exceptions for edge cases. Have fun :) ----------------------------------- [http://svn.python.org/view?rev=62382&view=rev r62382] | christian.heimes | 2008-04-18 19:40:40 -0400 (Fri, 18 Apr 2008) | 2 lines Changed paths: M /python/trunk/PC/VC6/pythoncore.dsp M /python/trunk/PC/VS7.1/pythoncore.vcproj M /python/trunk/PC/VS8.0/pythoncore.vcproj M /python/trunk/PCbuild/pythoncore.vcproj Added new files to Windows project files More Windows related fixes are coming soon ----------------------------------- [http://svn.python.org/view?rev=62383&view=rev r62383] | christian.heimes | 2008-04-18 19:49:11 -0400 (Fri, 18 Apr 2008) | 1 line Changed paths: M /python/trunk/Include/floatobject.h Stupid me. Py_RETURN_NAN should actually return something ... ----------------------------------- [http://svn.python.org/view?rev=62386&view=rev r62386] | christian.heimes | 2008-04-18 22:23:57 -0400 (Fri, 18 Apr 2008) | 2 lines Changed paths: M /python/trunk/Doc/library/subprocess.rst M /python/trunk/Lib/subprocess.py M /python/trunk/Lib/test/test_subprocess.py M /python/trunk/Misc/NEWS Added kill, terminate and send_signal to subprocess.Popen The bits and pieces for the Windows side were already in place. The POSIX side is trivial (as usual) and uses os.kill(). ----------------------------------- [http://svn.python.org/view?rev=62396&view=rev r62396] | mark.dickinson | 2008-04-19 14:51:48 -0400 (Sat, 19 Apr 2008) | 5 lines Changed paths: M /python/trunk/Lib/test/test_math.py M /python/trunk/Modules/mathmodule.c Additional tests for math.pow, and extra special-case handling code in math.pow, in the hope of making all tests pass on the alpha Tru64 buildbot. ----------------------------------- [http://svn.python.org/view?rev=62400&view=rev r62400] | mark.dickinson | 2008-04-19 15:41:52 -0400 (Sat, 19 Apr 2008) | 3 lines Changed paths: M /python/trunk/Modules/mathmodule.c Additional special-case handling for math.pow. Windows/VS2008 doesn't like (-1)**(+-inf). ----------------------------------- [http://svn.python.org/view?rev=62413&view=rev r62413] | mark.dickinson | 2008-04-19 21:39:24 -0400 (Sat, 19 Apr 2008) | 3 lines Changed paths: M /python/trunk/Modules/mathmodule.c FreeBSD doesn't follow C99 for modf(inf); so add explicit special-value handling to math.modf code. ----------------------------------- [http://svn.python.org/view?rev=62414&view=rev r62414] | mark.dickinson | 2008-04-20 00:13:13 -0400 (Sun, 20 Apr 2008) | 5 lines Changed paths: M /python/trunk/Lib/test/test_math.py M /python/trunk/Modules/mathmodule.c Yet more explicit special case handling to make math.pow behave on alpha Tru64. All IEEE 754 special values are now handled directly; only the finite**finite case is handled by libm. ----------------------------------- [http://svn.python.org/view?rev=62418&view=rev r62418] | mark.dickinson | 2008-04-20 12:13:17 -0400 (Sun, 20 Apr 2008) | 7 lines Changed paths: M /python/trunk/Modules/cmathmodule.c Issue 2662: Initialize special value tables dynamically (i.e. when cmath module is loaded) instead of statically. This fixes compile-time problems on platforms where HUGE_VAL is an extern variable rather than a constant. Thanks Hirokazu Yamamoto for the patch. ----------------------------------- [http://svn.python.org/view?rev=62420&view=rev r62420] | mark.dickinson | 2008-04-20 14:30:05 -0400 (Sun, 20 Apr 2008) | 3 lines Changed paths: M /python/trunk/Modules/cmathmodule.c Even more fixes for alpha Tru64, this time for the phase and polar methods. ----------------------------------- [http://svn.python.org/view?rev=62424&view=rev r62424] | mark.dickinson | 2008-04-20 17:39:04 -0400 (Sun, 20 Apr 2008) | 4 lines Changed paths: M /python/trunk/Modules/mathmodule.c math.atan2 is misbehaving on Windows; this patch should fix the problem in the same way that the cmath.phase problems were fixed. ----------------------------------- [http://svn.python.org/view?rev=62426&view=rev r62426] | mark.dickinson | 2008-04-20 21:55:50 -0400 (Sun, 20 Apr 2008) | 2 lines Changed paths: M /python/trunk/Modules/mathmodule.c Silence 'r may be used uninitialized' compiler warning. ----------------------------------- [http://svn.python.org/view?rev=62434&view=rev r62434] | thomas.heller | 2008-04-21 09:46:55 -0400 (Mon, 21 Apr 2008) | 1 line Changed paths: M /python/trunk/Tools/pybench/systimes.py Fix typo. ----------------------------------- [http://svn.python.org/view?rev=62441&view=rev r62441] | gregory.p.smith | 2008-04-21 13:46:40 -0400 (Mon, 21 Apr 2008) | 2 lines Changed paths: M /python/trunk/Tools/pybench/pybench.py explicitly flush after the ... since there wasn't a newline ----------------------------------- [http://svn.python.org/view?rev=62446&view=rev r62446] | gregory.p.smith | 2008-04-21 17:31:08 -0400 (Mon, 21 Apr 2008) | 3 lines Changed paths: M /python/trunk/Lib/getpass.py M /python/trunk/Misc/NEWS If sys.stdin is not a tty, fall back to default_getpass after printing a warning instead of failing with a termios.error. ----------------------------------- [http://svn.python.org/view?rev=62447&view=rev r62447] | mark.dickinson | 2008-04-21 18:32:24 -0400 (Mon, 21 Apr 2008) | 8 lines Changed paths: M /python/trunk/configure M /python/trunk/configure.in M /python/trunk/pyconfig.h.in test_math and test_cmath are failing on the FreeBSD 6.2 trunk buildbot, apparently because tanh(-0.) loses the sign of zero on that platform. If true, this is a bug in FreeBSD. Added a configure test to verify this. I still need to figure out how best to deal with this failure. ----------------------------------- [http://svn.python.org/view?rev=62448&view=rev r62448] | amaury.forgeotdarc | 2008-04-21 18:35:30 -0400 (Mon, 21 Apr 2008) | 7 lines Changed paths: M /python/trunk/Lib/idlelib/NEWS.txt M /python/trunk/Lib/idlelib/configHandler.py Issue 2665: On Windows, sys.stderr does not contain a valid file when running without a console. It seems to work, but will fail at the first flush. This causes IDLE to crash when too many warnings are printed. Will backport. ----------------------------------- [http://svn.python.org/view?rev=62451&view=rev r62451] | mark.dickinson | 2008-04-21 20:54:27 -0400 (Mon, 21 Apr 2008) | 3 lines Changed paths: M /python/trunk/configure M /python/trunk/configure.in Make configure test for tanh(-0.) == -0. committed in [http://svn.python.org/view?rev=62447&view=rev r62447] actually work. (The test wasn't properly linked with libm. Sigh.) ----------------------------------- [http://svn.python.org/view?rev=62454&view=rev r62454] | gregory.p.smith | 2008-04-22 04:08:41 -0400 (Tue, 22 Apr 2008) | 8 lines Changed paths: M /python/trunk/Doc/library/getpass.rst M /python/trunk/Lib/getpass.py Major improvements: * Default to using /dev/tty for the password prompt and input before falling back to sys.stdin and sys.stderr. * Use sys.stderr instead of sys.stdout. * print the 'password may be echoed' warning to stream used to display the prompt rather than always sys.stderr. * warn() with GetPassWarning when input may be echoed. ----------------------------------- [http://svn.python.org/view?rev=62455&view=rev r62455] | gregory.p.smith | 2008-04-22 04:11:33 -0400 (Tue, 22 Apr 2008) | 2 lines Changed paths: M /python/trunk/Misc/NEWS update the getpass entry ----------------------------------- [http://svn.python.org/view?rev=62463&view=rev r62463] | amaury.forgeotdarc | 2008-04-22 17:14:41 -0400 (Tue, 22 Apr 2008) | 5 lines Changed paths: M /python/trunk/Lib/test/test_urllib2.py M /python/trunk/Lib/urllib2.py M /python/trunk/Misc/NEWS Issue #2670: urllib2.build_opener() failed when two handlers derive the same default base class. Will backport. ----------------------------------- [http://svn.python.org/view?rev=62476&view=rev r62476] | martin.v.loewis | 2008-04-24 09:16:36 -0400 (Thu, 24 Apr 2008) | 3 lines Changed paths: M /python/trunk/Include/object.h Remove Py_Refcnt, Py_Type, Py_Size, as they were added only for backwards compatibility, yet 2.5 did not have them at all. ----------------------------------- [http://svn.python.org/view?rev=62477&view=rev r62477] | martin.v.loewis | 2008-04-24 09:17:24 -0400 (Thu, 24 Apr 2008) | 2 lines Changed paths: M /python/trunk/Modules/_bsddb.c Fix typo. ----------------------------------- [http://svn.python.org/view?rev=62480&view=rev r62480] | amaury.forgeotdarc | 2008-04-24 14:07:05 -0400 (Thu, 24 Apr 2008) | 4 lines Changed paths: M /python/trunk/Lib/test/test_compile.py M /python/trunk/Misc/NEWS M /python/trunk/Parser/tokenizer.c Issue2681: the literal 0o8 was wrongly accepted, and evaluated as float(0.0). This happened only when 8 is the first digit. Credits go to Lukas Meuser. ----------------------------------- [http://svn.python.org/view?rev=62492&view=rev r62492] | neal.norwitz | 2008-04-24 23:40:17 -0400 (Thu, 24 Apr 2008) | 1 line Changed paths: M /python/trunk/Misc/NEWS Fix typo (now -> no) ----------------------------------- [http://svn.python.org/view?rev=62498&view=rev r62498] | thomas.heller | 2008-04-25 11:44:16 -0400 (Fri, 25 Apr 2008) | 1 line Changed paths: M /python/trunk/Doc/library/ctypes.rst A /python/trunk/Lib/ctypes/test/test_frombuffer.py M /python/trunk/Misc/NEWS M /python/trunk/Modules/_ctypes/_ctypes.c Add from_buffer and from_buffer_copy class methods to ctypes types. ----------------------------------- [http://svn.python.org/view?rev=62499&view=rev r62499] | mark.dickinson | 2008-04-25 12:11:04 -0400 (Fri, 25 Apr 2008) | 7 lines Changed paths: M /python/trunk/Misc/NEWS M /python/trunk/configure M /python/trunk/configure.in Issue #1496032. Add -mieee to BASECFLAGS on alpha, when gcc is the compiler. This should(?) help to fix failures in test_math and test_cmath on Linux/alpha. Also add configure message reporting the result of uname -m, as a debugging aid. ----------------------------------- [http://svn.python.org/view?rev=62500&view=rev r62500] | mark.dickinson | 2008-04-25 12:59:09 -0400 (Fri, 25 Apr 2008) | 3 lines Changed paths: M /python/trunk/Lib/test/test_textwrap.py M /python/trunk/Lib/textwrap.py M /python/trunk/Misc/NEWS Issue 2635: fix bug in the fix_sentence_endings option to textwrap.fill. ----------------------------------- [http://svn.python.org/view?rev=62514&view=rev r62514] | georg.brandl | 2008-04-26 14:32:17 -0400 (Sat, 26 Apr 2008) | 2 lines Changed paths: M /python/trunk/Modules/_ctypes/callbacks.c Add missing return type to dealloc. ----------------------------------- [http://svn.python.org/view?rev=62516&view=rev r62516] | alexandre.vassalotti | 2008-04-26 20:52:24 -0400 (Sat, 26 Apr 2008) | 2 lines Changed paths: M /python/trunk/Lib/weakref.py Fixed URL of PEP 205 in weakref's module docstring. ----------------------------------- [http://svn.python.org/view?rev=62546&view=rev r62546] | kurt.kaiser | 2008-04-27 17:07:41 -0400 (Sun, 27 Apr 2008) | 7 lines Changed paths: M /python/trunk/Lib/idlelib/EditorWindow.py M /python/trunk/Lib/idlelib/NEWS.txt M /python/trunk/Lib/idlelib/PyShell.py Home / Control-A toggles between left margin and end of leading white space. Patch 1196903 Jeff Shute. M idlelib/PyShell.py M idlelib/EditorWindow.py M idlelib/NEWS.txt ----------------------------------- [http://svn.python.org/view?rev=62548&view=rev r62548] | kurt.kaiser | 2008-04-27 17:38:05 -0400 (Sun, 27 Apr 2008) | 2 lines Changed paths: M /python/trunk/Lib/idlelib/AutoCompleteWindow.py M /python/trunk/Lib/idlelib/NEWS.txt Improved AutoCompleteWindow logic. Patch 2062 Tal Einat. ----------------------------------- [http://svn.python.org/view?rev=62549&view=rev r62549] | kurt.kaiser | 2008-04-27 17:52:19 -0400 (Sun, 27 Apr 2008) | 4 lines Changed paths: M /python/trunk/Lib/idlelib/AutoComplete.py M /python/trunk/Lib/idlelib/NEWS.txt Autocompletion of filenames now support alternate separators, e.g. the '/' char on Windows. Patch 2061 Tal Einat. ----------------------------------- [http://svn.python.org/view?rev=62550&view=rev r62550] | skip.montanaro | 2008-04-27 18:49:56 -0400 (Sun, 27 Apr 2008) | 6 lines Changed paths: M /python/trunk/Lib/tempfile.py A few small changes: * The only exception we should catch when trying to import cStringIO is an ImportError. * Delete the function signatures embedded in the mk*temp docstrings. * The tempdir global variable was initialized twice. ----------------------------------- [http://svn.python.org/view?rev=62553&view=rev r62553] | skip.montanaro | 2008-04-27 22:57:23 -0400 (Sun, 27 Apr 2008) | 7 lines Changed paths: M /python/trunk/Lib/pyclbr.py Minor cleanups: * Avoid creating unused local variables where we can. Where we can't prefix the unused variables with '_'. * Avoid shadowing builtins where it won't change the external interface of a function. * Use None as default path arg to readmodule and readmodule_ex. ----------------------------------- [http://svn.python.org/view?rev=62555&view=rev r62555] | brett.cannon | 2008-04-27 23:23:50 -0400 (Sun, 27 Apr 2008) | 5 lines Changed paths: M /python/trunk/Lib/test/test_traceback.py M /python/trunk/Modules/_testcapimodule.c M /python/trunk/Python/traceback.c Fix a bug introduced by the warnings rewrite where tracebacks were being improperly indented. Closes issue #2699. ----------------------------------- [http://svn.python.org/view?rev=62557&view=rev r62557] | skip.montanaro | 2008-04-27 23:27:53 -0400 (Sun, 27 Apr 2008) | 6 lines Changed paths: M /python/trunk/Lib/robotparser.py Get rid of _test(), _main(), _debug() and _check(). Tests are no longer needed (better set available in Lib/test/test_robotparser.py). Clean up a few PEP 8 nits (compound statements on a single line, whitespace around operators). ----------------------------------- [http://svn.python.org/view?rev=62558&view=rev r62558] | brett.cannon | 2008-04-28 00:50:06 -0400 (Mon, 28 Apr 2008) | 3 lines Changed paths: M /python/trunk/Lib/test/test_traceback.py M /python/trunk/Modules/_testcapimodule.c Rename the test_traceback_print() function to traceback_print() to prevent test_capi from automatically calling the function. ----------------------------------- [http://svn.python.org/view?rev=62595&view=rev r62595] | andrew.kuchling | 2008-04-30 12:19:55 -0400 (Wed, 30 Apr 2008) | 1 line Changed paths: M /python/trunk/Misc/NEWS Typo fix ----------------------------------- [http://svn.python.org/view?rev=62605&view=rev r62605] | georg.brandl | 2008-04-30 17:08:42 -0400 (Wed, 30 Apr 2008) | 2 lines Changed paths: M /python/trunk/Lib/contextlib.py #1748: use functools.wraps instead of rolling own metadata update. ----------------------------------- [http://svn.python.org/view?rev=62626&view=rev r62626] | brett.cannon | 2008-05-01 22:25:09 -0400 (Thu, 01 May 2008) | 6 lines Changed paths: M /python/trunk/Misc/NEWS M /python/trunk/Python/_warnings.c Fix a backwards-compatibility mistake where a new optional argument for warnings.showwarning() was being used. This broke pre-existing replacements for the function since they didn't support the extra argument. Closes issue 2705. ----------------------------------- [http://svn.python.org/view?rev=62627&view=rev r62627] | gregory.p.smith | 2008-05-02 03:26:52 -0400 (Fri, 02 May 2008) | 20 lines Changed paths: M /python/trunk/Lib/socket.py This should fix issue2632. A long description of the two competing problems is in the bug report (one old, one recently introduced trying to fix the old one). In short: buffer data during socket._fileobject.read() and readlines() within a cStringIO object instead of a [] of str()s returned from the recv() call. This prevents excessive memory use due to the size parameter being passed to recv() being grossly larger than the actual size of the data returned *and* prevents excessive cpu usage due to looping in python calling recv() with a very tiny size value if min() is used as the previous memory-use bug "fix" did. It also documents what the socket._fileobject._rbufsize member is actually used for. This is a candidate for back porting to 2.5. ----------------------------------- [http://svn.python.org/view?rev=62636&view=rev r62636] | mark.hammond | 2008-05-02 08:48:15 -0400 (Fri, 02 May 2008) | 2 lines Changed paths: M /python/trunk/Doc/distutils/builtdist.rst M /python/trunk/Lib/distutils/command/bdist_wininst.py M /python/trunk/Lib/distutils/command/wininst-6.0.exe M /python/trunk/Lib/distutils/command/wininst-7.1.exe M /python/trunk/Lib/distutils/command/wininst-9.0-amd64.exe M /python/trunk/Lib/distutils/command/wininst-9.0.exe M /python/trunk/Lib/distutils/msvc9compiler.py M /python/trunk/Misc/NEWS M /python/trunk/PC/bdist_wininst/install.c M /python/trunk/PC/bdist_wininst/wininst-7.1.vcproj M /python/trunk/PC/bdist_wininst/wininst.dsp #2581: Vista UAC/elevation support for bdist_wininst ----------------------------------- [http://svn.python.org/view?rev=62638&view=rev r62638] | facundo.batista | 2008-05-02 13:39:00 -0400 (Fri, 02 May 2008) | 3 lines Changed paths: M /python/trunk/Lib/decimal.py M /python/trunk/Lib/test/test_decimal.py Fixed some test structures. Thanks Mark Dickinson. ----------------------------------- [http://svn.python.org/view?rev=62644&view=rev r62644] | ronald.oussoren | 2008-05-02 15:45:11 -0400 (Fri, 02 May 2008) | 7 lines Changed paths: M /python/trunk/Mac/BuildScript/build-installer.py M /python/trunk/Mac/BuildScript/resources/ReadMe.txt M /python/trunk/Mac/IDLE/Makefile.in M /python/trunk/Mac/Makefile.in D /python/trunk/Mac/Resources/app/Info.plist A /python/trunk/Mac/Resources/app/Info.plist.in (from /python/trunk/Mac/Resources/app/Info.plist:62636) D /python/trunk/Mac/Resources/app/Resources/English.lproj/InfoPlist.strings D /python/trunk/Mac/Resources/framework/English.lproj D /python/trunk/Mac/Resources/framework/Info.plist A /python/trunk/Mac/Resources/framework/Info.plist.in (from /python/trunk/Mac/Resources/framework/Info.plist:62636) D /python/trunk/Mac/Resources/framework/version.plist M /python/trunk/Makefile.pre.in M /python/trunk/Misc/NEWS M /python/trunk/configure M /python/trunk/configure.in Fix for issue #2573: Can't change the framework name on OS X builds This introduces a new configure option: --with-framework-name=NAME (defaulting to 'Python'). This allows you to install several copies of the Python framework with different names (such as a normal build and a debug build). ----------------------------------- [http://svn.python.org/view?rev=62645&view=rev r62645] | ronald.oussoren | 2008-05-02 15:58:56 -0400 (Fri, 02 May 2008) | 2 lines Changed paths: M /python/trunk/Mac/PythonLauncher/Makefile.in Finish fix for issue2573, previous patch was incomplete. ----------------------------------- [http://svn.python.org/view?rev=62648&view=rev r62648] | ronald.oussoren | 2008-05-02 17:42:35 -0400 (Fri, 02 May 2008) | 4 lines Changed paths: M /python/trunk/Lib/plat-mac/Carbon/AppleEvents.py M /python/trunk/Lib/plat-mac/terminalcommand.py M /python/trunk/Mac/PythonLauncher/MyDocument.m M /python/trunk/Mac/PythonLauncher/doscript.m Fix for #1905: PythonLauncher not working correctly on OSX 10.5/Leopard This fixes both Python Launchar and the terminalcommand module.