]>
granicus.if.org Git - python/log
Benjamin Peterson [Thu, 23 Jul 2009 14:19:08 +0000 (14:19 +0000)]
use bools for autoraise
Georg Brandl [Thu, 23 Jul 2009 09:17:09 +0000 (09:17 +0000)]
Fix the "pylocals" gdb command.
Georg Brandl [Thu, 23 Jul 2009 07:08:58 +0000 (07:08 +0000)]
#6548: dont suggest existence of real and imag functions in cmath.
Ezio Melotti [Wed, 22 Jul 2009 21:08:49 +0000 (21:08 +0000)]
#6423 has_key -> in
R. David Murray [Wed, 22 Jul 2009 17:22:58 +0000 (17:22 +0000)]
Backport of fix for issue 6542: make sure
test_os.TestInvalidFD.test_closerange does not close any
valid file descriptors.
Benjamin Peterson [Wed, 22 Jul 2009 16:34:37 +0000 (16:34 +0000)]
revert r74152
Georg Brandl [Wed, 22 Jul 2009 11:57:15 +0000 (11:57 +0000)]
Issue #6540: Fixed crash for bytearray.translate() with invalid parameters.
Tarek Ziadé [Wed, 22 Jul 2009 08:55:19 +0000 (08:55 +0000)]
Issue #6545: Removed assert statements in distutils.Extension, so the behavior is similar when used with -O
Benjamin Peterson [Wed, 22 Jul 2009 00:03:43 +0000 (00:03 +0000)]
simplify
Benjamin Peterson [Tue, 21 Jul 2009 23:13:14 +0000 (23:13 +0000)]
install unittest as a package
Ezio Melotti [Tue, 21 Jul 2009 20:18:27 +0000 (20:18 +0000)]
#6536 fixed typo
Thomas Heller [Tue, 21 Jul 2009 19:04:02 +0000 (19:04 +0000)]
Revert rev 74134, as it does not completely fixx issue #6493.
Benjamin Peterson [Tue, 21 Jul 2009 14:08:40 +0000 (14:08 +0000)]
must use _PyThreadState_Current so it isn't checked for NULL #6530
Thomas Heller [Tue, 21 Jul 2009 06:27:14 +0000 (06:27 +0000)]
Issue #6493: Fix a ctypes problem setting bitfields more than 31 bits
wide.
Benjamin Peterson [Mon, 20 Jul 2009 21:09:45 +0000 (21:09 +0000)]
Merged revisions 74121-74122 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r74121 | benjamin.peterson | 2009-07-20 15:40:59 -0500 (Mon, 20 Jul 2009) | 1 line
try to make warning tests more robust
........
r74122 | benjamin.peterson | 2009-07-20 15:44:14 -0500 (Mon, 20 Jul 2009) | 1 line
platform compat
........
Benjamin Peterson [Mon, 20 Jul 2009 20:28:08 +0000 (20:28 +0000)]
the Slice in x[::] has to have step as None to help the interpreter
Benjamin Peterson [Mon, 20 Jul 2009 17:24:30 +0000 (17:24 +0000)]
Merged revisions 74116 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r74116 | benjamin.peterson | 2009-07-20 12:22:35 -0500 (Mon, 20 Jul 2009) | 1 line
placate windows
........
Benjamin Peterson [Mon, 20 Jul 2009 15:33:09 +0000 (15:33 +0000)]
Merged revisions 73771,73811,73840,73842,73848-73849,73861,73957-73960,73964-73969,73972-73974,73977,73981,73984,74065,74113 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r73771 | benjamin.peterson | 2009-07-02 10:56:55 -0500 (Thu, 02 Jul 2009) | 1 line
force the imports fixer to be run after the import one #6400
........
r73811 | benjamin.peterson | 2009-07-03 09:03:14 -0500 (Fri, 03 Jul 2009) | 1 line
check for sep, not pathsep when looking for a subpackage #6408
........
r73840 | benjamin.peterson | 2009-07-04 09:52:28 -0500 (Sat, 04 Jul 2009) | 1 line
don't print diffs by default; it's annoying
........
r73842 | benjamin.peterson | 2009-07-04 09:58:46 -0500 (Sat, 04 Jul 2009) | 1 line
complain when not showing diffs or writing
........
r73848 | alexandre.vassalotti | 2009-07-04 23:38:19 -0500 (Sat, 04 Jul 2009) | 2 lines
Fix test_refactor_stdin to handle print_output() method with 4 arguments.
........
r73849 | alexandre.vassalotti | 2009-07-04 23:43:18 -0500 (Sat, 04 Jul 2009) | 5 lines
Issue 2370: Add fixer for the removal of operator.isCallable() and
operator.sequenceIncludes().
Patch contributed by Jeff Balogh (and updated by me).
........
r73861 | benjamin.peterson | 2009-07-05 09:15:53 -0500 (Sun, 05 Jul 2009) | 1 line
cleanup and use unicode where appropiate
........
r73957 | benjamin.peterson | 2009-07-11 15:49:56 -0500 (Sat, 11 Jul 2009) | 1 line
fix calls to str() with unicode()
........
r73958 | benjamin.peterson | 2009-07-11 15:51:51 -0500 (Sat, 11 Jul 2009) | 1 line
more str() -> unicode()
........
r73959 | benjamin.peterson | 2009-07-11 16:40:08 -0500 (Sat, 11 Jul 2009) | 1 line
add tests for refactor_dir()
........
r73960 | benjamin.peterson | 2009-07-11 16:44:32 -0500 (Sat, 11 Jul 2009) | 1 line
don't parse files just because they end with 'py' (no dot)
........
r73964 | benjamin.peterson | 2009-07-11 17:30:15 -0500 (Sat, 11 Jul 2009) | 1 line
simplify
........
r73965 | benjamin.peterson | 2009-07-11 17:31:30 -0500 (Sat, 11 Jul 2009) | 1 line
remove usage of get_prefix()
........
r73966 | benjamin.peterson | 2009-07-11 17:33:35 -0500 (Sat, 11 Jul 2009) | 1 line
revert unintended change in 73965
........
r73967 | benjamin.peterson | 2009-07-11 17:34:44 -0500 (Sat, 11 Jul 2009) | 1 line
avoid expensive checks and assume the node did change
........
r73968 | benjamin.peterson | 2009-07-11 20:46:46 -0500 (Sat, 11 Jul 2009) | 1 line
use a regular dict for the heads to avoid adding lists in the loop
........
r73969 | benjamin.peterson | 2009-07-11 20:50:43 -0500 (Sat, 11 Jul 2009) | 1 line
prefix headnode functions with '_'
........
r73972 | benjamin.peterson | 2009-07-11 21:25:45 -0500 (Sat, 11 Jul 2009) | 1 line
try to make the head node dict as sparse as possible
........
r73973 | benjamin.peterson | 2009-07-11 21:59:49 -0500 (Sat, 11 Jul 2009) | 1 line
a better idea; add an option to *not* print diffs
........
r73974 | benjamin.peterson | 2009-07-11 22:00:29 -0500 (Sat, 11 Jul 2009) | 1 line
add space
........
r73977 | benjamin.peterson | 2009-07-12 10:16:07 -0500 (Sun, 12 Jul 2009) | 1 line
update get_headnode_dict tests for recent changes
........
r73981 | benjamin.peterson | 2009-07-12 12:06:39 -0500 (Sun, 12 Jul 2009) | 4 lines
detect when "from __future__ import print_function" is given
Deprecate the 'print_function' option and the -p flag
........
r73984 | benjamin.peterson | 2009-07-12 16:16:37 -0500 (Sun, 12 Jul 2009) | 1 line
add tests for Call; thanks Joe Amenta
........
r74065 | benjamin.peterson | 2009-07-17 12:52:49 -0500 (Fri, 17 Jul 2009) | 1 line
pathname2url and url2pathname are in urllib.request not urllib.parse #6496
........
r74113 | benjamin.peterson | 2009-07-20 08:56:57 -0500 (Mon, 20 Jul 2009) | 1 line
fix deprecation warnings in tests
........
Benjamin Peterson [Mon, 20 Jul 2009 13:30:10 +0000 (13:30 +0000)]
remove docs for deprecated -p option
Kristján Valur Jónsson [Sun, 19 Jul 2009 22:35:44 +0000 (22:35 +0000)]
http://bugs.python.org/issue6499
gzip.GzipFile may not exist as a parent class
Kristján Valur Jónsson [Sun, 19 Jul 2009 22:14:00 +0000 (22:14 +0000)]
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 20:18:21 +0000 (20:18 +0000)]
split unittest.py into a package
Senthil Kumaran [Sun, 19 Jul 2009 02:43:43 +0000 (02:43 +0000)]
Fix for issue5102, timeout value propages between redirects, proxy, digest and
auth handlers. Fixed tests to reflect the same.
Mark Dickinson [Sat, 18 Jul 2009 16:01:57 +0000 (16:01 +0000)]
Add Case Van Horsen to Misc/ACKS, for fractions module patches and other work
Mark Dickinson [Sat, 18 Jul 2009 15:18:18 +0000 (15:18 +0000)]
Issue #6431: Fix Fraction comparisons with unknown types, and with
float infinities and nans. Backport of r74078 from py3k.
Georg Brandl [Sat, 18 Jul 2009 09:43:40 +0000 (09:43 +0000)]
#6489: fix an ambiguity in getiterator() documentation.
Georg Brandl [Sat, 18 Jul 2009 09:06:31 +0000 (09:06 +0000)]
#6505: fix typos.
Georg Brandl [Sat, 18 Jul 2009 09:03:10 +0000 (09:03 +0000)]
#6513: fix example code: warning categories are classes, not instances.
Alexandre Vassalotti [Sat, 18 Jul 2009 00:31:06 +0000 (00:31 +0000)]
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:17:48 +0000 (23:17 +0000)]
Regenerate configure script using autoconf 2.61.
Alexandre Vassalotti [Fri, 17 Jul 2009 23:09:02 +0000 (23:09 +0000)]
Revert r74048.
Alexandre Vassalotti [Fri, 17 Jul 2009 08:09:04 +0000 (08:09 +0000)]
Fix GCC warning about fprintf used without a string literal and
without format arguments.
Alexandre Vassalotti [Fri, 17 Jul 2009 07:54:23 +0000 (07:54 +0000)]
Initialize variables in PyCurses_getsyx() to avoid compiler warnings.
Alexandre Vassalotti [Fri, 17 Jul 2009 07:46:46 +0000 (07:46 +0000)]
Regenerate configure script.
Alexandre Vassalotti [Fri, 17 Jul 2009 06:33:51 +0000 (06:33 +0000)]
Double-quote the test case for %zd printf() format support to avoid
mangling the array declarations in it.
Hirokazu Yamamoto [Fri, 17 Jul 2009 06:26:54 +0000 (06:26 +0000)]
NEWS about r74040.
Hirokazu Yamamoto [Fri, 17 Jul 2009 06:20:46 +0000 (06:20 +0000)]
Issue #6415: Fixed warnings.warn sagfault on bad formatted string.
Alexandre Vassalotti [Fri, 17 Jul 2009 06:17:33 +0000 (06:17 +0000)]
Clean up the test case for broken poll().
Alexandre Vassalotti [Fri, 17 Jul 2009 06:10:06 +0000 (06:10 +0000)]
Double-quote the test cases for chflags() and lchflags()
to ensure they don't get mangled.
Alexandre Vassalotti [Fri, 17 Jul 2009 05:26:39 +0000 (05:26 +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 04:59:05 +0000 (04:59 +0000)]
Rename the useless AC_INCLUDES_DEFAULT and protect the includes.
This is mostly an aesthetic change.
Alexandre Vassalotti [Fri, 17 Jul 2009 04:24:45 +0000 (04:24 +0000)]
Use AC_CHECK_SIZEOF to find the size of off_t, pthread_t and time_t.
Georg Brandl [Thu, 16 Jul 2009 21:47:51 +0000 (21:47 +0000)]
Revert r74028.
Georg Brandl [Thu, 16 Jul 2009 19:24:48 +0000 (19:24 +0000)]
#6482: simplify "except: raise" to "finally:".
Tarek Ziadé [Thu, 16 Jul 2009 15:35:45 +0000 (15:35 +0000)]
#6466 refactored distutils duplicate get_versions() functions (used to get gcc/ld/dllwrap versions)
Jesse Noller [Thu, 16 Jul 2009 14:23:04 +0000 (14:23 +0000)]
Issue 6433: multiprocessing.pool.map hangs on empty list
Georg Brandl [Thu, 16 Jul 2009 07:38:35 +0000 (07:38 +0000)]
#6481: fix typo in os.system() replacement.
Georg Brandl [Thu, 16 Jul 2009 07:33:04 +0000 (07:33 +0000)]
#6486: start with built in functions rather than "built in objects".
Georg Brandl [Thu, 16 Jul 2009 07:18:07 +0000 (07:18 +0000)]
#5910: fix kqueue for calls with more than one event.
Amaury Forgeot d'Arc [Wed, 15 Jul 2009 21:29:27 +0000 (21:29 +0000)]
#6076 Add a title to the IDLE Preferences window.
Alexandre Vassalotti [Wed, 15 Jul 2009 18:19:47 +0000 (18:19 +0000)]
Issue #2389: Pickle array objects using a list representation for portability
across different machine architectures and compatibility with Python 3.x.
Ezio Melotti [Wed, 15 Jul 2009 17:07:04 +0000 (17:07 +0000)]
methods' names pep8ification
Benjamin Peterson [Wed, 15 Jul 2009 00:46:42 +0000 (00:46 +0000)]
update year
Michael Foord [Tue, 14 Jul 2009 17:58:12 +0000 (17:58 +0000)]
Move TestRunner initialisation into unittest.TestProgram.runTests. Fixes issue 6418.
Amaury Forgeot d'Arc [Mon, 13 Jul 2009 23:11:54 +0000 (23:11 +0000)]
Document the newly added codec
Marc-André Lemburg [Mon, 13 Jul 2009 21:28:33 +0000 (21:28 +0000)]
Use a different VER command output parser to address the localization
issues mentioned in #3410.
Prepare for Windows 7 (still commented out).
Marc-André Lemburg [Mon, 13 Jul 2009 20:23:49 +0000 (20:23 +0000)]
Use a new global DEV_NULL instead of hard-coding /dev/null into the system
command helper functions.
See #6479 for some motivation.
Amaury Forgeot d'Arc [Mon, 13 Jul 2009 20:03:21 +0000 (20:03 +0000)]
NEWS entry for r74000.
Amaury Forgeot d'Arc [Mon, 13 Jul 2009 20:01:11 +0000 (20:01 +0000)]
#
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.
Amaury Forgeot d'Arc [Mon, 13 Jul 2009 19:14:17 +0000 (19:14 +0000)]
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:21:05 +0000 (11:21 +0000)]
Issue #6314: logging: Extra checks on the "level" argument in more places.
Benjamin Peterson [Mon, 13 Jul 2009 00:03:20 +0000 (00:03 +0000)]
fix umlaut
Benjamin Peterson [Sun, 12 Jul 2009 23:56:18 +0000 (23:56 +0000)]
change encoding to utf-8
Benjamin Peterson [Sun, 12 Jul 2009 23:49:23 +0000 (23:49 +0000)]
fix another name
Benjamin Peterson [Sun, 12 Jul 2009 23:44:43 +0000 (23:44 +0000)]
change encoding to utf-8
Benjamin Peterson [Sun, 12 Jul 2009 23:40:33 +0000 (23:40 +0000)]
fix Tarek's name
Kristján Valur Jónsson [Sun, 12 Jul 2009 22:42:08 +0000 (22:42 +0000)]
http://bugs.python.org/issue6267
Add more tests for the xlmrpc.ServerProxy
Benjamin Peterson [Sun, 12 Jul 2009 21:18:55 +0000 (21:18 +0000)]
add Joe
Benjamin Peterson [Sun, 12 Jul 2009 16:56:54 +0000 (16:56 +0000)]
add versionadded
Hirokazu Yamamoto [Sun, 12 Jul 2009 02:04:47 +0000 (02:04 +0000)]
Fixed distutils test.
Benjamin Peterson [Sat, 11 Jul 2009 22:25:24 +0000 (22:25 +0000)]
ignore things in Lib/test/data/
Benjamin Peterson [Sat, 11 Jul 2009 22:15:13 +0000 (22:15 +0000)]
put downloaded test support files in Lib/test/data instead of the cwd
Tarek Ziadé [Sat, 11 Jul 2009 17:21:00 +0000 (17:21 +0000)]
reverted changes for #6459 (doesn't apply on 2.x)
Amaury Forgeot d'Arc [Sat, 11 Jul 2009 14:33:51 +0000 (14:33 +0000)]
#2622 Import errors in email.message, from a py2app standalone application.
Patch by Mads Kiilerich, Reviewed by Barry Warsaw.
Georg Brandl [Sat, 11 Jul 2009 14:23:38 +0000 (14:23 +0000)]
array.array is actually a class.
Tarek Ziadé [Sat, 11 Jul 2009 10:55:27 +0000 (10:55 +0000)]
fixed #6459: distutils.command.build_ext.get_export_symbols now uses 'PyInit'
Georg Brandl [Sat, 11 Jul 2009 10:51:31 +0000 (10:51 +0000)]
#6456: clarify the meaning of constants used as arguments to nl_langinfo().
Tarek Ziadé [Sat, 11 Jul 2009 10:48:31 +0000 (10:48 +0000)]
cleaned up distutils.build_ext module
Georg Brandl [Sat, 11 Jul 2009 10:37:38 +0000 (10:37 +0000)]
#6430: add note about size of "u" type.
Georg Brandl [Sat, 11 Jul 2009 10:18:10 +0000 (10:18 +0000)]
#6448: clarify docs for find_module().
Georg Brandl [Sat, 11 Jul 2009 10:14:54 +0000 (10:14 +0000)]
#6446: fix import_spam() function to use correct error and reference handling.
Georg Brandl [Sat, 11 Jul 2009 10:12:36 +0000 (10:12 +0000)]
Fix style.
Amaury Forgeot d'Arc [Sat, 11 Jul 2009 09:09:59 +0000 (09:09 +0000)]
Add basic tests for the return value of os.popen().close().
According to #6358, python 3.0 has a different implementation that behaves differently.
Kristján Valur Jónsson [Sat, 11 Jul 2009 08:44:43 +0000 (08:44 +0000)]
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 [Fri, 10 Jul 2009 20:25:56 +0000 (20:25 +0000)]
more cleanups and if zlib -> skipUnless(zlib)
Amaury Forgeot d'Arc [Fri, 10 Jul 2009 16:47:42 +0000 (16:47 +0000)]
#6447: typo in subprocess docstring
Tarek Ziadé [Fri, 10 Jul 2009 10:00:21 +0000 (10:00 +0000)]
cleaned up distutils.command.build
Tarek Ziadé [Fri, 10 Jul 2009 09:57:15 +0000 (09:57 +0000)]
Added test coverage for distutils.command.build
Tarek Ziadé [Fri, 10 Jul 2009 09:10:33 +0000 (09:10 +0000)]
Fixed #6455 (the test shall use pyd files under win32, rather than so files)
Amaury Forgeot d'Arc [Thu, 9 Jul 2009 22:37:22 +0000 (22:37 +0000)]
#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 18:41:03 +0000 (18:41 +0000)]
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 16:17:30 +0000 (16:17 +0000)]
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 15:35:33 +0000 (15:35 +0000)]
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).
R. David Murray [Thu, 9 Jul 2009 13:55:44 +0000 (13:55 +0000)]
Specify umask in execute bit test to get consistent results
and make sure we test resetting all three execute bits.
Tarek Ziadé [Thu, 9 Jul 2009 07:42:42 +0000 (07:42 +0000)]
PendingDeprecationWarning -> DeprecationWarning in build_ext
R. David Murray [Thu, 9 Jul 2009 02:06:17 +0000 (02:06 +0000)]
Make test work with -O.
R. David Murray [Thu, 9 Jul 2009 01:43:41 +0000 (01:43 +0000)]
Conditionalize test cleanup code to eliminate traceback, which will
hopefully reveal the real problem.
Tarek Ziadé [Wed, 8 Jul 2009 22:40:51 +0000 (22:40 +0000)]
Sets the compiler attribute to keep the old behavior for third-party packages.
Mark Dickinson [Tue, 7 Jul 2009 15:08:28 +0000 (15:08 +0000)]
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:15:45 +0000 (14:15 +0000)]
Expand test coverage for struct.pack with native integer packing;
reorganize the test_struct module to remove duplicated code and tests.