]>
granicus.if.org Git - python/log
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.
Mark Dickinson [Tue, 7 Jul 2009 11:08:23 +0000 (11:08 +0000)]
Add skipping to struct test that only applies when overflow masking is in effect
Mark Dickinson [Tue, 7 Jul 2009 10:18:22 +0000 (10:18 +0000)]
Typo in error message
R. David Murray [Tue, 7 Jul 2009 09:54:16 +0000 (09:54 +0000)]
Update issue 6070 patch to match the patch that was actually tested
on Windows.
Kristján Valur Jónsson [Tue, 7 Jul 2009 09:01:34 +0000 (09:01 +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:49:41 +0000 (06:49 +0000)]
#6420: Fix a compilation warning in the nis module, for OpenBSD and FreeBSD.
Alexandre Vassalotti [Tue, 7 Jul 2009 02:17:30 +0000 (02:17 +0000)]
Grow the allocated buffer in PyUnicode_EncodeUTF7 to avoid buffer overrun.
Without this change, test_unicode.UnicodeTest.test_codecs_utf7 crashes in
debug mode. What happens is the unicode string u'\U000abcde' with a length
of 1 encodes to the string '+2m/c3g-' of length 8. Since only 5 bytes is
reserved in the buffer, a buffer overrun occurs.
R. David Murray [Tue, 7 Jul 2009 01:06:13 +0000 (01:06 +0000)]
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.
Tarek Ziadé [Mon, 6 Jul 2009 12:50:46 +0000 (12:50 +0000)]
Fixed #6377: distutils compiler switch ignored (and added a deprecation warning if compiler is not used as supposed = a string option)
Kristján Valur Jónsson [Sun, 5 Jul 2009 20:56:57 +0000 (20:56 +0000)]
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.
Mark Dickinson [Sun, 5 Jul 2009 10:01:24 +0000 (10:01 +0000)]
Issues #
1530559 , #
1741130 : Fix various inconsistencies in struct.pack
integer packing, and reenable some previously broken tests.
Alexandre Vassalotti [Sun, 5 Jul 2009 06:33:41 +0000 (06:33 +0000)]
Backport test cases added in r73852.
Alexandre Vassalotti [Sun, 5 Jul 2009 04:25:46 +0000 (04:25 +0000)]
Fix bad variable name in r73846.
Alexandre Vassalotti [Sun, 5 Jul 2009 04:22:40 +0000 (04:22 +0000)]
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).
Ezio Melotti [Sat, 4 Jul 2009 14:58:27 +0000 (14:58 +0000)]
if zlib -> skipUnless(zlib) and minor cleanups
Gregory P. Smith [Sat, 4 Jul 2009 08:42:10 +0000 (08:42 +0000)]
Merge r73838 from py3k branch. Use the nondeprecated unittest method
names.
Tarek Ziadé [Sat, 4 Jul 2009 02:59:19 +0000 (02:59 +0000)]
using print statements when used for user interaction
Tarek Ziadé [Sat, 4 Jul 2009 02:02:41 +0000 (02:02 +0000)]
Fixed #6413: fixed log level in distutils.dist.announce
Gregory P. Smith [Sat, 4 Jul 2009 01:55:11 +0000 (01:55 +0000)]
news entry for r73825
Gregory P. Smith [Sat, 4 Jul 2009 01:49:29 +0000 (01:49 +0000)]
Use select.poll() in subprocess, when available, rather than select() so that
it does not fail when file descriptors are large. Fixes issue3392.
Patch largely contributed by Frank Chu (fpmc) with some improvements by me.
See http://bugs.python.org/issue3392.
Candidate for backporting to release26-maint as it is a bug fix and changes no
public API.
Ezio Melotti [Sat, 4 Jul 2009 01:18:08 +0000 (01:18 +0000)]
#6398 typo: versio. -> version.
Kristján Valur Jónsson [Fri, 3 Jul 2009 23:29:50 +0000 (23:29 +0000)]
http://bugs.python.org/issue6267
Incorrect exception handling for xmlrpc client retry
Kristján Valur Jónsson [Fri, 3 Jul 2009 23:26:02 +0000 (23:26 +0000)]
http://bugs.python.org/issue6267
Incorrect exception handling for xmlrp client retry
Kristján Valur Jónsson [Fri, 3 Jul 2009 23:07:07 +0000 (23:07 +0000)]
http://bugs.python.org/issue6381
some platforms may raise ENOTCONN if the stack has disconnected the socket on behalf of the peer.
Gregory P. Smith [Fri, 3 Jul 2009 20:48:31 +0000 (20:48 +0000)]
Adds the select.PIPE_BUF attribute to expose the system constant.
Tarek Ziadé [Fri, 3 Jul 2009 19:14:49 +0000 (19:14 +0000)]
cleaned distutils.file_util