]>
granicus.if.org Git - python/log
Brett Cannon [Sun, 19 Jul 2009 23:43:45 +0000 (23:43 +0000)]
Update importlib.test.source.test_abc_loader to new features added in Python 3.1.
Kristján Valur Jónsson [Sun, 19 Jul 2009 22:38:38 +0000 (22:38 +0000)]
merging revision 74100 from trunk:
http://bugs.python.org/issue6499
gzip.GzipFile may not exist as a parent class
Kristján Valur Jónsson [Sun, 19 Jul 2009 22:29:24 +0000 (22:29 +0000)]
porting revision 74098 from trunk:
http://bugs.python.org/issue6499
zlib/gzip may not be present for all builds. Make xmlrpclib gracefully not supporg gzip encoding in this case
Benjamin Peterson [Sun, 19 Jul 2009 21:52:02 +0000 (21:52 +0000)]
skip test when distutils is not made for py3k
Benjamin Peterson [Sun, 19 Jul 2009 21:01:52 +0000 (21:01 +0000)]
Merged revisions 74095 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74095 | benjamin.peterson | 2009-07-19 15:18:21 -0500 (Sun, 19 Jul 2009) | 1 line
split unittest.py into a package
........
Georg Brandl [Sun, 19 Jul 2009 07:25:56 +0000 (07:25 +0000)]
Recorded merge of revisions 74089 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74089 | senthil.kumaran | 2009-07-19 04:43:43 +0200 (So, 19 Jul 2009) | 3 lines
Fix for issue5102, timeout value propages between redirects, proxy, digest and
auth handlers. Fixed tests to reflect the same.
........
Senthil Kumaran [Sun, 19 Jul 2009 02:44:19 +0000 (02:44 +0000)]
Fix for issue5102, timeout value propages between redirects, proxy, digest and
auth handlers. Fixed tests to reflect the same.
R. David Murray [Sun, 19 Jul 2009 02:22:05 +0000 (02:22 +0000)]
News item for issue 6070 fix that was omitted from r74058 merge.
Mark Dickinson [Sat, 18 Jul 2009 16:03:04 +0000 (16:03 +0000)]
Merged revisions 74083 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74083 | mark.dickinson | 2009-07-18 17:01:57 +0100 (Sat, 18 Jul 2009) | 1 line
Add Case Van Horsen to Misc/ACKS, for fractions module patches and other work
........
Mark Dickinson [Sat, 18 Jul 2009 15:19:43 +0000 (15:19 +0000)]
Blocked revisions 74080 via svnmerge
........
r74080 | mark.dickinson | 2009-07-18 16:18:18 +0100 (Sat, 18 Jul 2009) | 3 lines
Issue #6431: Fix Fraction comparisons with unknown types, and with
float infinities and nans. Backport of r74078 from py3k.
........
Mark Dickinson [Sat, 18 Jul 2009 14:41:42 +0000 (14:41 +0000)]
Issue #6431: Fix Fraction comparisons to return NotImplemented when
the Fraction type doesn't know how to handle the comparison without
loss of accuracy. Also, make sure that comparisons between Fractions
and float infinities or nans do the right thing.
Georg Brandl [Sat, 18 Jul 2009 09:07:48 +0000 (09:07 +0000)]
#6502: add missing comma in docstring.
Alexandre Vassalotti [Sat, 18 Jul 2009 00:33:23 +0000 (00:33 +0000)]
Merged revisions 74072 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74072 | alexandre.vassalotti | 2009-07-17 20:31:06 -0400 (Fri, 17 Jul 2009) | 5 lines
Add a check to ensure the correct autoconf version is used
for generating the configure script.
Original idea by Martin von Löwis.
........
Alexandre Vassalotti [Fri, 17 Jul 2009 23:27:40 +0000 (23:27 +0000)]
Blocked revisions 74067,74069 via svnmerge
........
r74067 | alexandre.vassalotti | 2009-07-17 19:09:02 -0400 (Fri, 17 Jul 2009) | 2 lines
Revert r74048.
........
r74069 | alexandre.vassalotti | 2009-07-17 19:17:48 -0400 (Fri, 17 Jul 2009) | 2 lines
Regenerate configure script using autoconf 2.61.
........
Alexandre Vassalotti [Fri, 17 Jul 2009 23:19:37 +0000 (23:19 +0000)]
Regenerate configure script using autoconf 2.61.
Alexandre Vassalotti [Fri, 17 Jul 2009 23:11:52 +0000 (23:11 +0000)]
Revert r74049.
Benjamin Peterson [Fri, 17 Jul 2009 19:11:02 +0000 (19:11 +0000)]
update ast version
Alexandre Vassalotti [Fri, 17 Jul 2009 12:49:05 +0000 (12:49 +0000)]
Blocked revisions 73819,73821-73822,73863,73877 via svnmerge
........
r73819 | kristjan.jonsson | 2009-07-03 19:07:07 -0400 (Fri, 03 Jul 2009) | 2 lines
http://bugs.python.org/issue6381
some platforms may raise ENOTCONN if the stack has disconnected the socket on behalf of the peer.
........
r73821 | kristjan.jonsson | 2009-07-03 19:26:02 -0400 (Fri, 03 Jul 2009) | 2 lines
http://bugs.python.org/issue6267
Incorrect exception handling for xmlrp client retry
........
r73822 | kristjan.jonsson | 2009-07-03 19:29:50 -0400 (Fri, 03 Jul 2009) | 2 lines
http://bugs.python.org/issue6267
Incorrect exception handling for xmlrpc client retry
........
r73863 | kristjan.jonsson | 2009-07-05 16:56:57 -0400 (Sun, 05 Jul 2009) | 2 lines
http://bugs.python.org/issue6382
close_request() (which can send a socket.shutdown()) must be called by the child process in a forking server. The parent must merely close the socket handle.
........
r73877 | kristjan.jonsson | 2009-07-07 05:01:34 -0400 (Tue, 07 Jul 2009) | 2 lines
http://bugs.python.org/issue6382
added the shutdown_request() which can perform shutdown before calling close. This is needed for the ForkingMixIn because different close semantics are required for child and parent process. shutdown_request(), for TCP servers, calls socket.shutdown() and then calls close_request(). Therefore, this is not an backwards incompatible change, since subclasses that continue to override close_request() continue to work.
........
Alexandre Vassalotti [Fri, 17 Jul 2009 12:07:01 +0000 (12:07 +0000)]
Merged revisions 73694,73708,73738 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r73694 | jesse.noller | 2009-06-29 14:24:26 -0400 (Mon, 29 Jun 2009) | 1 line
Issue 5740: multiprocessing.connection.* authkey fixes
........
r73708 | jesse.noller | 2009-06-30 13:11:52 -0400 (Tue, 30 Jun 2009) | 1 line
Resolves issues 5155, 5313, 5331 - bad file descriptor error with processes in processes
........
r73738 | r.david.murray | 2009-06-30 22:49:10 -0400 (Tue, 30 Jun 2009) | 2 lines
Make punctuation prettier and break up run-on sentence.
........
Alexandre Vassalotti [Fri, 17 Jul 2009 11:43:26 +0000 (11:43 +0000)]
Merged revisions 73665,73693,73704-73705,73707,73712-73713,73824 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r73665 | alexandre.vassalotti | 2009-06-28 21:01:51 -0400 (Sun, 28 Jun 2009) | 2 lines
Update docstrings for sys.getdlopenflags() and sys.setdlopenflags().
........
r73693 | jesse.noller | 2009-06-29 14:20:34 -0400 (Mon, 29 Jun 2009) | 1 line
Bug 5906: add a documentation note for unix daemons vs. multiprocessing daemons
........
r73704 | georg.brandl | 2009-06-30 12:15:43 -0400 (Tue, 30 Jun 2009) | 1 line
#6376: fix copy-n-paste oversight.
........
r73705 | georg.brandl | 2009-06-30 12:17:28 -0400 (Tue, 30 Jun 2009) | 1 line
#6374: add a bit of explanation about shell=True on Windows.
........
r73707 | georg.brandl | 2009-06-30 12:35:11 -0400 (Tue, 30 Jun 2009) | 1 line
#6371: fix link targets.
........
r73712 | ezio.melotti | 2009-06-30 18:51:06 -0400 (Tue, 30 Jun 2009) | 1 line
Fixed defaultTestCase -> defaultTestResult
........
r73713 | ezio.melotti | 2009-06-30 18:56:16 -0400 (Tue, 30 Jun 2009) | 1 line
Fixed a backslash that was not supposed to be there
........
r73824 | ezio.melotti | 2009-07-03 21:18:08 -0400 (Fri, 03 Jul 2009) | 1 line
#6398 typo: versio. -> version.
........
Alexandre Vassalotti [Fri, 17 Jul 2009 11:20:13 +0000 (11:20 +0000)]
Blocked revisions 73773 via svnmerge
........
r73773 | benjamin.peterson | 2009-07-02 12:51:56 -0400 (Thu, 02 Jul 2009) | 1 line
remove this test; a module level warning is enough
........
Alexandre Vassalotti [Fri, 17 Jul 2009 11:12:50 +0000 (11:12 +0000)]
Blocked revisions 73774,73812,73839 via svnmerge
........
r73774 | benjamin.peterson | 2009-07-02 13:06:17 -0400 (Thu, 02 Jul 2009) | 1 line
only order comparisons are removed in py3k #6119
........
r73812 | benjamin.peterson | 2009-07-03 10:08:20 -0400 (Fri, 03 Jul 2009) | 1 line
another cStringIO restriction
........
r73839 | gregory.p.smith | 2009-07-04 04:42:10 -0400 (Sat, 04 Jul 2009) | 3 lines
Merge r73838 from py3k branch. Use the nondeprecated unittest method
names.
........
Alexandre Vassalotti [Fri, 17 Jul 2009 11:07:44 +0000 (11:07 +0000)]
Recorded merge of revisions 73841 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r73841 | ezio.melotti | 2009-07-04 10:58:27 -0400 (Sat, 04 Jul 2009) | 1 line
if zlib -> skipUnless(zlib) and minor cleanups
........
Alexandre Vassalotti [Fri, 17 Jul 2009 10:55:50 +0000 (10:55 +0000)]
Merged revisions 73870,73879,73899-73900,73905-73906 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r73870 | r.david.murray | 2009-07-06 21:06:13 -0400 (Mon, 06 Jul 2009) | 5 lines
Issue 6070: when creating a compiled file, after copying the mode bits, on
posix zap the execute bit in case it was set on the .py file, since the
compiled files are not directly executable on posix. Patch by Marco N.
........
r73879 | r.david.murray | 2009-07-07 05:54:16 -0400 (Tue, 07 Jul 2009) | 3 lines
Update issue 6070 patch to match the patch that was actually tested
on Windows.
........
r73899 | r.david.murray | 2009-07-08 21:43:41 -0400 (Wed, 08 Jul 2009) | 3 lines
Conditionalize test cleanup code to eliminate traceback, which will
hopefully reveal the real problem.
........
r73900 | r.david.murray | 2009-07-08 22:06:17 -0400 (Wed, 08 Jul 2009) | 2 lines
Make test work with -O.
........
r73905 | r.david.murray | 2009-07-09 09:55:44 -0400 (Thu, 09 Jul 2009) | 3 lines
Specify umask in execute bit test to get consistent results
and make sure we test resetting all three execute bits.
........
r73906 | r.david.murray | 2009-07-09 11:35:33 -0400 (Thu, 09 Jul 2009) | 5 lines
Curdir needs to be in the path for the test to work on all buildbots.
(I copied this from another import test, but currently this will fail if
TESTFN ends up in /tmp...see issue 2609).
........
Alexandre Vassalotti [Fri, 17 Jul 2009 10:42:05 +0000 (10:42 +0000)]
Merged revisions 73930-73932,73937-73939,73945,73951,73954,73962-73963,73970 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r73930 | amaury.forgeotdarc | 2009-07-10 12:47:42 -0400 (Fri, 10 Jul 2009) | 2 lines
#6447: typo in subprocess docstring
........
r73931 | ezio.melotti | 2009-07-10 16:25:56 -0400 (Fri, 10 Jul 2009) | 1 line
more cleanups and if zlib -> skipUnless(zlib)
........
r73932 | kristjan.jonsson | 2009-07-11 04:44:43 -0400 (Sat, 11 Jul 2009) | 3 lines
http://bugs.python.org/issue6460
Need to be careful with thread switching when testing the xmlrpc server. The server thread may not have updated stats when the client thread tests them.
........
r73937 | georg.brandl | 2009-07-11 06:12:36 -0400 (Sat, 11 Jul 2009) | 1 line
Fix style.
........
r73938 | georg.brandl | 2009-07-11 06:14:54 -0400 (Sat, 11 Jul 2009) | 1 line
#6446: fix import_spam() function to use correct error and reference handling.
........
r73939 | georg.brandl | 2009-07-11 06:18:10 -0400 (Sat, 11 Jul 2009) | 1 line
#6448: clarify docs for find_module().
........
r73945 | georg.brandl | 2009-07-11 06:51:31 -0400 (Sat, 11 Jul 2009) | 1 line
#6456: clarify the meaning of constants used as arguments to nl_langinfo().
........
r73951 | georg.brandl | 2009-07-11 10:23:38 -0400 (Sat, 11 Jul 2009) | 2 lines
array.array is actually a class.
........
r73954 | tarek.ziade | 2009-07-11 13:21:00 -0400 (Sat, 11 Jul 2009) | 1 line
reverted changes for #6459 (doesn't apply on 2.x)
........
r73962 | benjamin.peterson | 2009-07-11 18:15:13 -0400 (Sat, 11 Jul 2009) | 1 line
put downloaded test support files in Lib/test/data instead of the cwd
........
r73963 | benjamin.peterson | 2009-07-11 18:25:24 -0400 (Sat, 11 Jul 2009) | 1 line
ignore things in Lib/test/data/
........
r73970 | hirokazu.yamamoto | 2009-07-11 22:04:47 -0400 (Sat, 11 Jul 2009) | 1 line
Fixed distutils test.
........
Alexandre Vassalotti [Fri, 17 Jul 2009 09:34:31 +0000 (09:34 +0000)]
Merged revisions 73985-73986,73988-73991,73994 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r73985 | benjamin.peterson | 2009-07-12 17:18:55 -0400 (Sun, 12 Jul 2009) | 1 line
add Joe
........
r73986 | kristjan.jonsson | 2009-07-12 18:42:08 -0400 (Sun, 12 Jul 2009) | 2 lines
http://bugs.python.org/issue6267
Add more tests for the xlmrpc.ServerProxy
........
r73988 | benjamin.peterson | 2009-07-12 19:40:33 -0400 (Sun, 12 Jul 2009) | 1 line
fix Tarek's name
........
r73989 | benjamin.peterson | 2009-07-12 19:44:43 -0400 (Sun, 12 Jul 2009) | 1 line
change encoding to utf-8
........
r73990 | benjamin.peterson | 2009-07-12 19:49:23 -0400 (Sun, 12 Jul 2009) | 1 line
fix another name
........
r73991 | benjamin.peterson | 2009-07-12 19:56:18 -0400 (Sun, 12 Jul 2009) | 1 line
change encoding to utf-8
........
r73994 | benjamin.peterson | 2009-07-12 20:03:20 -0400 (Sun, 12 Jul 2009) | 1 line
fix umlaut
........
Alexandre Vassalotti [Fri, 17 Jul 2009 09:18:18 +0000 (09:18 +0000)]
Merged revisions 73995,74002,74005,74007-74008,74011,74019-74023 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r73995 | vinay.sajip | 2009-07-13 07:21:05 -0400 (Mon, 13 Jul 2009) | 1 line
Issue #6314: logging: Extra checks on the "level" argument in more places.
........
r74002 | marc-andre.lemburg | 2009-07-13 16:23:49 -0400 (Mon, 13 Jul 2009) | 6 lines
Use a new global DEV_NULL instead of hard-coding /dev/null into the system
command helper functions.
See #6479 for some motivation.
........
r74005 | marc-andre.lemburg | 2009-07-13 17:28:33 -0400 (Mon, 13 Jul 2009) | 6 lines
Use a different VER command output parser to address the localization
issues mentioned in #3410.
Prepare for Windows 7 (still commented out).
........
r74007 | michael.foord | 2009-07-14 13:58:12 -0400 (Tue, 14 Jul 2009) | 1 line
Move TestRunner initialisation into unittest.TestProgram.runTests. Fixes issue 6418.
........
r74008 | benjamin.peterson | 2009-07-14 20:46:42 -0400 (Tue, 14 Jul 2009) | 1 line
update year
........
r74011 | ezio.melotti | 2009-07-15 13:07:04 -0400 (Wed, 15 Jul 2009) | 1 line
methods' names pep8ification
........
r74019 | amaury.forgeotdarc | 2009-07-15 17:29:27 -0400 (Wed, 15 Jul 2009) | 2 lines
#6076 Add a title to the IDLE Preferences window.
........
r74020 | georg.brandl | 2009-07-16 03:18:07 -0400 (Thu, 16 Jul 2009) | 1 line
#5910: fix kqueue for calls with more than one event.
........
r74021 | georg.brandl | 2009-07-16 03:33:04 -0400 (Thu, 16 Jul 2009) | 1 line
#6486: start with built in functions rather than "built in objects".
........
r74022 | georg.brandl | 2009-07-16 03:38:35 -0400 (Thu, 16 Jul 2009) | 1 line
#6481: fix typo in os.system() replacement.
........
r74023 | jesse.noller | 2009-07-16 10:23:04 -0400 (Thu, 16 Jul 2009) | 1 line
Issue 6433: multiprocessing.pool.map hangs on empty list
........
Alexandre Vassalotti [Fri, 17 Jul 2009 08:31:44 +0000 (08:31 +0000)]
Merged revisions 74051-74052 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74051 | alexandre.vassalotti | 2009-07-17 03:54:23 -0400 (Fri, 17 Jul 2009) | 2 lines
Initialize variables in PyCurses_getsyx() to avoid compiler warnings.
........
r74052 | alexandre.vassalotti | 2009-07-17 04:09:04 -0400 (Fri, 17 Jul 2009) | 3 lines
Fix GCC warning about fprintf used without a string literal and
without format arguments.
........
Alexandre Vassalotti [Fri, 17 Jul 2009 08:29:18 +0000 (08:29 +0000)]
Blocked revisions 74028-74029,74038 via svnmerge
........
r74028 | georg.brandl | 2009-07-16 15:24:48 -0400 (Thu, 16 Jul 2009) | 1 line
#6482: simplify "except: raise" to "finally:".
........
r74029 | georg.brandl | 2009-07-16 17:47:51 -0400 (Thu, 16 Jul 2009) | 1 line
Revert r74028.
........
r74038 | alexandre.vassalotti | 2009-07-17 02:10:06 -0400 (Fri, 17 Jul 2009) | 3 lines
Double-quote the test cases for chflags() and lchflags()
to ensure they don't get mangled.
........
Alexandre Vassalotti [Fri, 17 Jul 2009 07:51:38 +0000 (07:51 +0000)]
Blocked revisions 74048 via svnmerge
........
r74048 | alexandre.vassalotti | 2009-07-17 03:46:46 -0400 (Fri, 17 Jul 2009) | 2 lines
Regenerate configure script.
........
Alexandre Vassalotti [Fri, 17 Jul 2009 07:49:53 +0000 (07:49 +0000)]
Regenerate configure script.
Hirokazu Yamamoto [Fri, 17 Jul 2009 06:55:42 +0000 (06:55 +0000)]
Merged revisions 74040,74042 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74040 | hirokazu.yamamoto | 2009-07-17 15:20:46 +0900 | 1 line
Issue #6415: Fixed warnings.warn sagfault on bad formatted string.
........
r74042 | hirokazu.yamamoto | 2009-07-17 15:26:54 +0900 | 1 line
NEWS about r74040.
........
Alexandre Vassalotti [Fri, 17 Jul 2009 06:41:02 +0000 (06:41 +0000)]
Merged revisions 74044 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74044 | alexandre.vassalotti | 2009-07-17 02:33:51 -0400 (Fri, 17 Jul 2009) | 3 lines
Double-quote the test case for %zd printf() format support to avoid
mangling the array declarations in it.
........
Alexandre Vassalotti [Fri, 17 Jul 2009 06:24:33 +0000 (06:24 +0000)]
Merged revisions 74039 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74039 | alexandre.vassalotti | 2009-07-17 02:17:33 -0400 (Fri, 17 Jul 2009) | 2 lines
Clean up the test case for broken poll().
........
Alexandre Vassalotti [Fri, 17 Jul 2009 06:00:34 +0000 (06:00 +0000)]
Cache the results of all runtime checks.
This will be helpful to people who want to compile Python with a
cross-compiler. Now you can upload the configure script on your host
machine, run it with caching enabled, and download the cached results
on your build machine.
Alexandre Vassalotti [Fri, 17 Jul 2009 05:47:33 +0000 (05:47 +0000)]
Use AC_CHECK_SIZEOF to find the size of off_t, pthread_t and time_t.
Alexandre Vassalotti [Fri, 17 Jul 2009 05:41:49 +0000 (05:41 +0000)]
Blocked revisions 74031-74033 via svnmerge
........
r74031 | alexandre.vassalotti | 2009-07-17 00:24:45 -0400 (Fri, 17 Jul 2009) | 2 lines
Use AC_CHECK_SIZEOF to find the size of off_t, pthread_t and time_t.
........
r74032 | alexandre.vassalotti | 2009-07-17 00:59:05 -0400 (Fri, 17 Jul 2009) | 4 lines
Rename the useless AC_INCLUDES_DEFAULT and protect the includes.
This is mostly an aesthetic change.
........
r74033 | alexandre.vassalotti | 2009-07-17 01:26:39 -0400 (Fri, 17 Jul 2009) | 8 lines
Cache the results of all runtime checks.
This will be helpful to people who want to compile Python with a
cross-compiler. Now you can upload the configure script on your host
machine, run it with caching enabled, and download the cached results
on your build machine.
........
Alexandre Vassalotti [Fri, 17 Jul 2009 05:35:59 +0000 (05:35 +0000)]
The output() function takes only one string argument.
Alexandre Vassalotti [Fri, 17 Jul 2009 03:51:27 +0000 (03:51 +0000)]
Use the proper autoconf macro for checking byte order.
The BYTEORDER_IS_BIG_ENDIAN macro is defined Objects/unicodeobject.c,
thus the code was always emitting the little-endian machine format codes.
This should fix the failure seen on the SPARC buildbot.
Tarek Ziadé [Thu, 16 Jul 2009 16:18:19 +0000 (16:18 +0000)]
Merged revisions 74024 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74024 | tarek.ziade | 2009-07-16 17:35:45 +0200 (Thu, 16 Jul 2009) | 1 line
#6466 refactored distutils duplicate get_versions() functions (used to get gcc/ld/dllwrap versions)
........
Alexandre Vassalotti [Wed, 15 Jul 2009 20:53:55 +0000 (20:53 +0000)]
Don't check 64-bit test cases on 32-bit machine.
Amaury Forgeot d'Arc [Wed, 15 Jul 2009 19:21:18 +0000 (19:21 +0000)]
Merged revisions 74006 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74006 | amaury.forgeotdarc | 2009-07-14 01:11:54 +0200 (mar., 14 juil. 2009) | 2 lines
Document the newly added codec
........
Alexandre Vassalotti [Wed, 15 Jul 2009 18:32:08 +0000 (18:32 +0000)]
Blocked revisions 74014 via svnmerge
........
r74014 | alexandre.vassalotti | 2009-07-15 14:19:47 -0400 (Wed, 15 Jul 2009) | 3 lines
Issue #2389: Pickle array objects using a list representation for portability
across different machine architectures and compatibility with Python 3.x.
........
Alexandre Vassalotti [Wed, 15 Jul 2009 18:31:06 +0000 (18:31 +0000)]
Fix omission in a comment.
Alexandre Vassalotti [Wed, 15 Jul 2009 17:49:23 +0000 (17:49 +0000)]
Issue #2389: Implement a portable mechanism for pickling array objects.
Reviewed by: Martin v. Löwis
Ezio Melotti [Wed, 15 Jul 2009 17:17:17 +0000 (17:17 +0000)]
Merged revisions 74011 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74011 | ezio.melotti | 2009-07-15 20:07:04 +0300 (Wed, 15 Jul 2009) | 1 line
methods' names pep8ification
........
R. David Murray [Wed, 15 Jul 2009 14:16:54 +0000 (14:16 +0000)]
PEP-8-ify r73389.
Brett Cannon [Wed, 15 Jul 2009 04:08:33 +0000 (04:08 +0000)]
Importlib was using custom code to discover all test modules in importlib.test.
This has now been removed in favor of using unittest's test discovery code in
TestLoader.discover().
Amaury Forgeot d'Arc [Mon, 13 Jul 2009 20:48:07 +0000 (20:48 +0000)]
Oops, really pass a bytes string to the ctypes function.
Amaury Forgeot d'Arc [Mon, 13 Jul 2009 20:38:21 +0000 (20:38 +0000)]
Merged revisions 74000-74001 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74000 | amaury.forgeotdarc | 2009-07-13 22:01:11 +0200 (lun., 13 juil. 2009) | 4 lines
#
1616979 : Add the cp720 (Arabic DOS) encoding.
Since there is no official mapping file from unicode.org,
the codec file is generated on Windows with the new genwincodec.py script.
........
r74001 | amaury.forgeotdarc | 2009-07-13 22:03:21 +0200 (lun., 13 juil. 2009) | 2 lines
NEWS entry for r74000.
........
Amaury Forgeot d'Arc [Mon, 13 Jul 2009 19:17:00 +0000 (19:17 +0000)]
Merged revisions 73998 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r73998 | amaury.forgeotdarc | 2009-07-13 21:14:17 +0200 (lun., 13 juil. 2009) | 3 lines
Set svn:eol-style=CRLF on all Visual Studio solution files.
This should allow direct compilation from a downloaded source tar ball.
........
Vinay Sajip [Mon, 13 Jul 2009 11:28:25 +0000 (11:28 +0000)]
Issue #6314: logging: Extra checks on the "level" argument.
Benjamin Peterson [Mon, 13 Jul 2009 00:00:31 +0000 (00:00 +0000)]
Unblocked revisions 73991 via svnmerge
........
r73991 | benjamin.peterson | 2009-07-12 18:56:18 -0500 (Sun, 12 Jul 2009) | 1 line
change encoding to utf-8
........
Benjamin Peterson [Sun, 12 Jul 2009 23:58:08 +0000 (23:58 +0000)]
Blocked revisions 73991 via svnmerge
........
r73991 | benjamin.peterson | 2009-07-12 18:56:18 -0500 (Sun, 12 Jul 2009) | 1 line
change encoding to utf-8
........
Kristján Valur Jónsson [Sun, 12 Jul 2009 22:45:18 +0000 (22:45 +0000)]
merging revision 73986 from trunk:
http://bugs.python.org/issue6267
Add more tests for the xlmrpc.ServerProxy
Raymond Hettinger [Sun, 12 Jul 2009 20:49:21 +0000 (20:49 +0000)]
Document the thousands separator.
Benjamin Peterson [Sun, 12 Jul 2009 17:02:22 +0000 (17:02 +0000)]
Blocked revisions 73979 via svnmerge
........
r73979 | benjamin.peterson | 2009-07-12 11:56:54 -0500 (Sun, 12 Jul 2009) | 1 line
add versionadded
........
Amaury Forgeot d'Arc [Sun, 12 Jul 2009 16:43:19 +0000 (16:43 +0000)]
Merged revisions 73952 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
(Only docstrings were modified, won't backport to 3.1)
........
r73952 | amaury.forgeotdarc | 2009-07-11 16:33:51 +0200 (sam., 11 juil. 2009) | 4 lines
#2622 Import errors in email.message, from a py2app standalone application.
Patch by Mads Kiilerich, Reviewed by Barry Warsaw.
........
Tarek Ziadé [Sun, 12 Jul 2009 08:27:26 +0000 (08:27 +0000)]
Fixed #6438: distutils.cygwinccompiler.get_versions was trying to use a re string pattern on a bytes
Kristján Valur Jónsson [Sat, 11 Jul 2009 21:57:16 +0000 (21:57 +0000)]
merging revision 73932 from trunk:
http://bugs.python.org/issue6460
Need to be careful with thread switching when testing the xmlrpc server. The server thread may not have updated stats when the client thread tests them.
Ezio Melotti [Sat, 11 Jul 2009 18:28:48 +0000 (18:28 +0000)]
Merged revisions 73931 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r73931 | ezio.melotti | 2009-07-10 23:25:56 +0300 (Fri, 10 Jul 2009) | 1 line
more cleanups and if zlib -> skipUnless(zlib)
........
Tarek Ziadé [Sat, 11 Jul 2009 11:02:29 +0000 (11:02 +0000)]
Blocked revisions 73944 via svnmerge
........
r73944 | tarek.ziade | 2009-07-11 12:48:31 +0200 (Sat, 11 Jul 2009) | 1 line
cleaned up distutils.build_ext module
........
Tarek Ziadé [Sat, 11 Jul 2009 10:59:56 +0000 (10:59 +0000)]
Merged revisions 73946 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r73946 | tarek.ziade | 2009-07-11 12:55:27 +0200 (Sat, 11 Jul 2009) | 1 line
fixed #6459: distutils.command.build_ext.get_export_symbols now uses 'PyInit'
........
Georg Brandl [Sat, 11 Jul 2009 10:43:08 +0000 (10:43 +0000)]
#6421: The self argument of module-level PyCFunctions is now a reference to the module object.
Georg Brandl [Sat, 11 Jul 2009 10:39:23 +0000 (10:39 +0000)]
#6430: remove mention of "w" array typecode.
Georg Brandl [Sat, 11 Jul 2009 10:39:00 +0000 (10:39 +0000)]
Merged revisions 73940 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r73940 | georg.brandl | 2009-07-11 12:37:38 +0200 (Sa, 11 Jul 2009) | 1 line
#6430: add note about size of "u" type.
........
Georg Brandl [Sat, 11 Jul 2009 10:08:49 +0000 (10:08 +0000)]
Revert r73807, which removed code to be able to build _dbm with bsddb.
Amaury Forgeot d'Arc [Sat, 11 Jul 2009 09:35:13 +0000 (09:35 +0000)]
#6358: Merge r73933: Add basic tests for the return value of os.popen().close().
And fix the implementation to make these tests pass with py3k
Tarek Ziadé [Fri, 10 Jul 2009 10:03:20 +0000 (10:03 +0000)]
Merged revisions 73925-73926 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r73925 | tarek.ziade | 2009-07-10 11:57:15 +0200 (Fri, 10 Jul 2009) | 1 line
Added test coverage for distutils.command.build
........
r73926 | tarek.ziade | 2009-07-10 12:00:21 +0200 (Fri, 10 Jul 2009) | 1 line
cleaned up distutils.command.build
........
Tarek Ziadé [Fri, 10 Jul 2009 09:14:31 +0000 (09:14 +0000)]
Merged revisions 73921 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r73921 | tarek.ziade | 2009-07-10 11:10:33 +0200 (Fri, 10 Jul 2009) | 1 line
Fixed #6455 (the test shall use pyd files under win32, rather than so files)
........
Amaury Forgeot d'Arc [Thu, 9 Jul 2009 23:07:52 +0000 (23:07 +0000)]
NEWS entry for r73918.
Amaury Forgeot d'Arc [Thu, 9 Jul 2009 23:00:40 +0000 (23:00 +0000)]
#6323: pdb doesn't deal well with SyntaxErrors.
It seems necessary to keep two layers of 'exec' (one in Bdb.run, one in Pdb._runscript);
this allows the tracing function to be active when the inner 'exec' runs
and tries to compile the real code.
This partially revert r58127, the net effet of the two changes is to replace
"exec('%s')" with "exec(%r)".
Amaury Forgeot d'Arc [Thu, 9 Jul 2009 22:44:11 +0000 (22:44 +0000)]
Merged revisions 73916 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r73916 | amaury.forgeotdarc | 2009-07-10 00:37:22 +0200 (ven., 10 juil. 2009) | 5 lines
#6416: Fix compilation of the select module on Windows, as well as test_subprocess:
PIPE_BUF is not defined on Windows, and probably has no meaning there.
Anyway the subprocess module uses another way to perform non-blocking reads (with a thread)
........
R. David Murray [Thu, 9 Jul 2009 20:12:31 +0000 (20:12 +0000)]
Merged revisions 73907-73908 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r73907 | r.david.murray | 2009-07-09 12:17:30 -0400 (Thu, 09 Jul 2009) | 4 lines
Temporarily ignore rmtree errors in test_getcwd_long_pathnames to see
if the test gives useful failure info on Solaris buildbot.
........
r73908 | r.david.murray | 2009-07-09 14:41:03 -0400 (Thu, 09 Jul 2009) | 6 lines
Try to fix Solaris buildbot rmtree failure in test_getcwd_long_pathnames
cleanup. If this fix works, it means that Solaris is unique among
our platforms in what happens when shutil.rmtree is called on the
current working directory (ie: it doesn't work on Solaris, but
it does everywhere else).
........
R. David Murray [Thu, 9 Jul 2009 19:51:32 +0000 (19:51 +0000)]
Unblocked revisions 73907 via svnmerge
........
r73907 | r.david.murray | 2009-07-09 12:17:30 -0400 (Thu, 09 Jul 2009) | 4 lines
Temporarily ignore rmtree errors in test_getcwd_long_pathnames to see
if the test gives useful failure info on Solaris buildbot.
........
R. David Murray [Thu, 9 Jul 2009 19:47:26 +0000 (19:47 +0000)]
Blocked revisions 73907 via svnmerge
........
r73907 | r.david.murray | 2009-07-09 12:17:30 -0400 (Thu, 09 Jul 2009) | 4 lines
Temporarily ignore rmtree errors in test_getcwd_long_pathnames to see
if the test gives useful failure info on Solaris buildbot.
........
Tarek Ziadé [Thu, 9 Jul 2009 07:46:10 +0000 (07:46 +0000)]
Merged revisions 73901 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r73901 | tarek.ziade | 2009-07-09 09:42:42 +0200 (Thu, 09 Jul 2009) | 1 line
PendingDeprecationWarning -> DeprecationWarning in build_ext
........
Tarek Ziadé [Wed, 8 Jul 2009 22:42:43 +0000 (22:42 +0000)]
Merged revisions 73895 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r73895 | tarek.ziade | 2009-07-09 00:40:51 +0200 (Thu, 09 Jul 2009) | 1 line
Sets the compiler attribute to keep the old behavior for third-party packages.
........
Ezio Melotti [Wed, 8 Jul 2009 22:24:06 +0000 (22:24 +0000)]
Merged revisions 73841 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r73841 | ezio.melotti | 2009-07-04 17:58:27 +0300 (Sat, 04 Jul 2009) | 1 line
if zlib -> skipUnless(zlib) and minor cleanups
........
Mark Dickinson [Tue, 7 Jul 2009 15:09:33 +0000 (15:09 +0000)]
Blocked revisions 73891 via svnmerge
........
r73891 | mark.dickinson | 2009-07-07 16:08:28 +0100 (Tue, 07 Jul 2009) | 3 lines
Issue #1523: Remove deprecated overflow masking in struct module, and
make sure that out-of-range values consistently raise struct.error.
........
Mark Dickinson [Tue, 7 Jul 2009 14:18:33 +0000 (14:18 +0000)]
Blocked revisions 73888 via svnmerge
........
r73888 | mark.dickinson | 2009-07-07 15:15:45 +0100 (Tue, 07 Jul 2009) | 3 lines
Expand test coverage for struct.pack with native integer packing;
reorganize the test_struct module to remove duplicated code and tests.
........
Mark Dickinson [Tue, 7 Jul 2009 11:09:38 +0000 (11:09 +0000)]
Blocked revisions 73884 via svnmerge
........
r73884 | mark.dickinson | 2009-07-07 12:08:23 +0100 (Tue, 07 Jul 2009) | 1 line
Add skipping to struct test that only applies when overflow masking is in effect
........
Mark Dickinson [Tue, 7 Jul 2009 10:21:03 +0000 (10:21 +0000)]
Merged revisions 73880 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r73880 | mark.dickinson | 2009-07-07 11:18:22 +0100 (Tue, 07 Jul 2009) | 1 line
Typo in error message
........
Kristján Valur Jónsson [Tue, 7 Jul 2009 09:09:10 +0000 (09:09 +0000)]
http://bugs.python.org/issue6382
added the shutdown_request() which can perform shutdown before calling close. This is needed for the ForkingMixIn because different close semantics are required for child and parent process. shutdown_request(), for TCP servers, calls socket.shutdown() and then calls close_request(). Therefore, this is not an backwards incompatible change, since subclasses that continue to override close_request() continue to work.
Amaury Forgeot d'Arc [Tue, 7 Jul 2009 06:51:26 +0000 (06:51 +0000)]
Merged revisions 73873 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r73873 | amaury.forgeotdarc | 2009-07-07 08:49:41 +0200 (mar., 07 juil. 2009) | 2 lines
#6420: Fix a compilation warning in the nis module, for OpenBSD and FreeBSD.
........
Gregory P. Smith [Tue, 7 Jul 2009 05:06:04 +0000 (05:06 +0000)]
Add a unittest for r73566.
Amaury Forgeot d'Arc [Tue, 7 Jul 2009 00:43:08 +0000 (00:43 +0000)]
#6428: py3k requires that __bool__ return a bool (and not an int)
Fix the error message and the documentation.
Tarek Ziadé [Mon, 6 Jul 2009 13:52:17 +0000 (13:52 +0000)]
Merged revisions 73864 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r73864 | tarek.ziade | 2009-07-06 14:50:46 +0200 (Mon, 06 Jul 2009) | 1 line
Fixed #6377: distutils compiler switch ignored (and added a deprecation warning if compiler is not used as supposed = a string option)
........
Alexandre Vassalotti [Sun, 5 Jul 2009 19:57:00 +0000 (19:57 +0000)]
Add the fix for issue 4509 to the mapping methods.
Mark Dickinson [Sun, 5 Jul 2009 10:03:49 +0000 (10:03 +0000)]
Blocked revisions 73858 via svnmerge
........
r73858 | mark.dickinson | 2009-07-05 11:01:24 +0100 (Sun, 05 Jul 2009) | 3 lines
Issues #
1530559 , #
1741130 : Fix various inconsistencies in struct.pack
integer packing, and reenable some previously broken tests.
........
Alexandre Vassalotti [Sun, 5 Jul 2009 06:50:08 +0000 (06:50 +0000)]
Add NEWS entries for the changes I made recently.
Alexandre Vassalotti [Sun, 5 Jul 2009 06:42:44 +0000 (06:42 +0000)]
Issue 4005: Remove .sort() call on dict_keys object.
This caused pydoc to fail when there was a zip file in sys.path.
Patch contributed by Amaury Forgeot d'Arc.
Alexandre Vassalotti [Sun, 5 Jul 2009 06:34:48 +0000 (06:34 +0000)]
Blocked revisions 73854 via svnmerge
........
r73854 | alexandre.vassalotti | 2009-07-05 02:33:41 -0400 (Sun, 05 Jul 2009) | 2 lines
Backport test cases added in r73852.
........
Alexandre Vassalotti [Sun, 5 Jul 2009 06:31:55 +0000 (06:31 +0000)]
Blocked revisions 73846-73847 via svnmerge
........
r73846 | alexandre.vassalotti | 2009-07-05 00:22:40 -0400 (Sun, 05 Jul 2009) | 6 lines
Issue 2370: Add Python 3 warnings for the removal of operator.isCallable and
operator.sequenceIncludes.
Patch contributed by Jeff Balogh (and updated slightly by me).
........
r73847 | alexandre.vassalotti | 2009-07-05 00:25:46 -0400 (Sun, 05 Jul 2009) | 2 lines
Fix bad variable name in r73846.
........
Alexandre Vassalotti [Sun, 5 Jul 2009 06:25:14 +0000 (06:25 +0000)]
Fix array.extend and array.__iadd__ to handle the case where an array
is extended with itself.
This bug is specific the py3k version of arraymodule.c
Alexandre Vassalotti [Sun, 5 Jul 2009 05:47:28 +0000 (05:47 +0000)]
Add more test cases to BaseTest.test_memoryview_no_resize.
Alexandre Vassalotti [Sun, 5 Jul 2009 05:38:18 +0000 (05:38 +0000)]
Issue 4509: Do not modify an array if we know the change would result
in a failure due to exported buffers.
Kristján Valur Jónsson [Sat, 4 Jul 2009 15:18:00 +0000 (15:18 +0000)]
http://bugs.python.org/issue6381
merging revision 73819 from trunk
Kristján Valur Jónsson [Sat, 4 Jul 2009 15:16:38 +0000 (15:16 +0000)]
Revert last change, which was incorrect.
Kristján Valur Jónsson [Sat, 4 Jul 2009 15:09:25 +0000 (15:09 +0000)]
http://bugs.python.org/issue6381
merging revision 73819 from trunk