]>
granicus.if.org Git - python/log
Brett Cannon [Sat, 2 Jun 2007 03:02:29 +0000 (03:02 +0000)]
Have configure raise an error when building on AtheOS. Code specific to AtheOS
will be removed in Python 2.7.
Georg Brandl [Fri, 1 Jun 2007 19:20:27 +0000 (19:20 +0000)]
Fix wrong issue number.
Georg Brandl [Fri, 1 Jun 2007 11:33:33 +0000 (11:33 +0000)]
Bug #
1722484 : remove docstrings again when running with -OO.
Neal Norwitz [Fri, 1 Jun 2007 07:29:12 +0000 (07:29 +0000)]
SF
1668596 /
1720897 : distutils now copies data files
even if package_dir is empty.
This needs to be backported. I'm too tired tonight. It would be great
if someone backports this if the buildbots are ok with it. Otherwise,
I will try to get to it tomorrow.
Neal Norwitz [Fri, 1 Jun 2007 04:56:47 +0000 (04:56 +0000)]
Mail if there is an installation failure.
Brett Cannon [Thu, 31 May 2007 20:01:11 +0000 (20:01 +0000)]
Have cfmfile raise a DeprecationWarning as per PEP 4.
Brett Cannon [Thu, 31 May 2007 19:40:42 +0000 (19:40 +0000)]
Cause buildtools to raise a DeprecationWarning.
Brett Cannon [Thu, 31 May 2007 19:20:00 +0000 (19:20 +0000)]
Have the sha module raise a DeprecationWarning as specified in PEP 4.
Neal Norwitz [Thu, 31 May 2007 04:14:22 +0000 (04:14 +0000)]
Add some spaces in the example code.
Brett Cannon [Wed, 30 May 2007 22:24:28 +0000 (22:24 +0000)]
Have md5 raise a DeprecationWarning as per PEP 4.
Brett Cannon [Wed, 30 May 2007 21:48:58 +0000 (21:48 +0000)]
Have mimify raise a DeprecationWarning. The docs and PEP 4 have listed the
module as deprecated for a while.
Brett Cannon [Wed, 30 May 2007 20:46:26 +0000 (20:46 +0000)]
Have MimeWriter raise a DeprecationWarning as per PEP 4 and its documentation.
Thomas Heller [Wed, 30 May 2007 07:01:25 +0000 (07:01 +0000)]
Correct the name of a field in the WIN32_FIND_DATAA and WIN32_FIND_DATAW structures.
Closes bug #
1726026 .
Thomas Heller [Wed, 30 May 2007 06:58:30 +0000 (06:58 +0000)]
Fix compiler warnings.
Neal Norwitz [Wed, 30 May 2007 04:53:41 +0000 (04:53 +0000)]
Fix indentation (whitespace only).
Neal Norwitz [Tue, 29 May 2007 07:51:39 +0000 (07:51 +0000)]
Fix typo in doc
Georg Brandl [Tue, 29 May 2007 07:16:47 +0000 (07:16 +0000)]
Fix rst markup.
Martin v. Löwis [Tue, 29 May 2007 04:02:03 +0000 (04:02 +0000)]
Revert 55634.
Martin v. Löwis [Tue, 29 May 2007 04:01:29 +0000 (04:01 +0000)]
Test pre-commit hook for a link to a .py file.
Raymond Hettinger [Mon, 28 May 2007 05:23:22 +0000 (05:23 +0000)]
Explain when groupby() issues a new group.
Lars Gustäbel [Sun, 27 May 2007 19:49:30 +0000 (19:49 +0000)]
Added errors argument to TarFile class that allows the user to
specify an error handling scheme for character conversion. Additional
scheme "utf-8" in read mode. Unicode input filenames are now
supported by design. The values of the pax_headers dictionary are now
limited to unicode objects.
Fixed: The prefix field is no longer used in PAX_FORMAT (in
conformance with POSIX).
Fixed: In read mode use a possible pax header size field.
Fixed: Strip trailing slashes from pax header name values.
Fixed: Give values in user-specified pax_headers precedence when
writing.
Added unicode tests. Added pax/regtype4 member to testtar.tar all
possible number fields in a pax header.
Added two chapters to the documentation about the different formats
tarfile.py supports and how unicode issues are handled.
Neal Norwitz [Sun, 27 May 2007 04:08:54 +0000 (04:08 +0000)]
Add the new function object attribute names from py3k.
Peter Astrand [Sat, 26 May 2007 22:18:20 +0000 (22:18 +0000)]
Applied patch
1669481 , slightly modified: Support close_fds on Win32
Walter Dörwald [Sat, 26 May 2007 21:04:13 +0000 (21:04 +0000)]
Fix typo.
Kristján Valur Jónsson [Sat, 26 May 2007 19:31:39 +0000 (19:31 +0000)]
Include <windows.h> after python.h, so that WINNT is properly set before windows.h is included. Fixes warnings in PC builds.
Kristján Valur Jónsson [Sat, 26 May 2007 19:19:50 +0000 (19:19 +0000)]
Remove the rgbimgmodule from PCBuild8
Brett Cannon [Fri, 25 May 2007 20:17:15 +0000 (20:17 +0000)]
Remove direct call's to file's constructor and replace them with calls to
open() as ths is considered best practice.
Vinay Sajip [Fri, 25 May 2007 07:06:55 +0000 (07:06 +0000)]
Updated documentation for SysLogHandler (#
1720726 ).
Vinay Sajip [Fri, 25 May 2007 07:05:59 +0000 (07:05 +0000)]
Updated docstring for SysLogHandler (#
1720726 ).
Neal Norwitz [Fri, 25 May 2007 05:13:40 +0000 (05:13 +0000)]
Get test passing again by commenting out the reference to the test class.
Facundo Batista [Fri, 25 May 2007 04:20:22 +0000 (04:20 +0000)]
Commenting out the tests until find out who can test them in
one of the problematic enviroments.
Facundo Batista [Fri, 25 May 2007 03:47:19 +0000 (03:47 +0000)]
Fixing stupid error, and introducing a sleep, to see if the
other thread is awakened and finish sending data.
Facundo Batista [Fri, 25 May 2007 03:10:28 +0000 (03:10 +0000)]
Trying to make the tests work in Windows and Solaris, everywhere
else just works
Facundo Batista [Thu, 24 May 2007 20:51:19 +0000 (20:51 +0000)]
Let's see if reading exactly what is written allow this live
test to pass (now I know why there were so few tests in ftp,
http, etc, :( ).
Facundo Batista [Thu, 24 May 2007 20:01:59 +0000 (20:01 +0000)]
Removed the .recv() in the test, is not necessary, and was
causing problems that didn't have anything to do with was
actually being tested...
Facundo Batista [Thu, 24 May 2007 17:50:54 +0000 (17:50 +0000)]
Added an optional timeout parameter to urllib.ftpwrapper, with tests
(for this and a basic one, because there weren't any). Changed also
NEWS, but didn't find documentation for this function, assumed it
wasn't public...
Georg Brandl [Thu, 24 May 2007 17:33:33 +0000 (17:33 +0000)]
Fix parameter passing.
Georg Brandl [Thu, 24 May 2007 16:49:29 +0000 (16:49 +0000)]
shlex.split() now has an optional "posix" parameter.
Neal Norwitz [Wed, 23 May 2007 06:58:36 +0000 (06:58 +0000)]
Add a bunch more deprecation warnings for builtins that are going away in 3.0
Neal Norwitz [Wed, 23 May 2007 06:57:35 +0000 (06:57 +0000)]
Whitespace cleanup
Neal Norwitz [Wed, 23 May 2007 06:35:32 +0000 (06:35 +0000)]
Add -3 option to the interpreter to warn about features that are
deprecated and will be changed/removed in Python 3.0.
This patch is mostly from Anthony. I tweaked some format and added
a little doc.
Mark Hammond [Wed, 23 May 2007 02:04:28 +0000 (02:04 +0000)]
Remove definition of PY_UNICODE_TYPE from pyconfig.h, allowing the
definition in unicodeobject.h to be used, giving us the desired
wchar_t in place of 'unsigned short'. As discussed on python-dev.
Georg Brandl [Tue, 22 May 2007 14:28:17 +0000 (14:28 +0000)]
Remove the "panel" module doc file which has been ignored since 1994.
Neal Norwitz [Tue, 22 May 2007 07:16:44 +0000 (07:16 +0000)]
Stop using METH_OLDARGS implicitly
Neal Norwitz [Tue, 22 May 2007 07:16:10 +0000 (07:16 +0000)]
Stop using METH_OLDARGS
Neal Norwitz [Tue, 22 May 2007 06:03:36 +0000 (06:03 +0000)]
Document new params to HTTPSConnection
Georg Brandl [Mon, 21 May 2007 20:34:16 +0000 (20:34 +0000)]
Patch #
1686487 : you can now pass any mapping after '**' in function calls.
Facundo Batista [Mon, 21 May 2007 17:32:32 +0000 (17:32 +0000)]
Added timeout support to HTTPSConnection, through the
socket.create_connection function. Also added a small
test for this, and updated NEWS file.
Raymond Hettinger [Mon, 21 May 2007 16:40:10 +0000 (16:40 +0000)]
Allow all alphanumeric and underscores in type and field names.
Raymond Hettinger [Mon, 21 May 2007 08:13:35 +0000 (08:13 +0000)]
Replace assertion with straight error-checking.
George Yoshida [Mon, 21 May 2007 04:41:21 +0000 (04:41 +0000)]
fix against r55474 [Remove the macfs module]
Remove "libmacfs.tex" from Makefile.deps and mac/mac.tex.
Martin v. Löwis [Mon, 21 May 2007 04:35:47 +0000 (04:35 +0000)]
Add Alexandre Vassalotti.
Andrew M. Kuchling [Mon, 21 May 2007 00:03:15 +0000 (00:03 +0000)]
Note removed modules
Brett Cannon [Sun, 20 May 2007 23:57:38 +0000 (23:57 +0000)]
Cause posixfile to raise a DeprecationWarning. Documented as deprecated since
Ptyhon 1.5.
Brett Cannon [Sun, 20 May 2007 23:56:18 +0000 (23:56 +0000)]
Move imgfile import to the global namespace to trigger an import error ASAP to
prevent creation of a test file.
Brett Cannon [Sun, 20 May 2007 23:17:38 +0000 (23:17 +0000)]
Remove the macfs module. This led to the deprecation of macostools.touched();
it completely relied on macfs and is a no-op on OS X according to code
comments.
Brett Cannon [Sun, 20 May 2007 19:05:06 +0000 (19:05 +0000)]
Try to remove rgbimg from Windows builds.
Neal Norwitz [Sun, 20 May 2007 18:43:00 +0000 (18:43 +0000)]
Update directories/files at the top-level.
Neal Norwitz [Sun, 20 May 2007 18:06:27 +0000 (18:06 +0000)]
rotor is long gone.
Nick Coghlan [Sun, 20 May 2007 11:12:49 +0000 (11:12 +0000)]
Fix typo in example (should be backported, but my maintenance branch is woefully out of date)
Brett Cannon [Sun, 20 May 2007 07:09:50 +0000 (07:09 +0000)]
Remove the rgbimg module. It has been deprecated since Python 2.5.
Georg Brandl [Sat, 19 May 2007 18:09:26 +0000 (18:09 +0000)]
Fix docstring for add_package in site.py.
Neal Norwitz [Sat, 19 May 2007 04:35:52 +0000 (04:35 +0000)]
Give some clue as to what happened if the test fails.
Neal Norwitz [Sat, 19 May 2007 04:34:55 +0000 (04:34 +0000)]
Whoops, need to pay attention to those test failures.
Move the clear to *before* the first use, not after.
Neal Norwitz [Sat, 19 May 2007 03:48:47 +0000 (03:48 +0000)]
Clear data so random memory does not get freed. Will backport.
Raymond Hettinger [Sat, 19 May 2007 01:50:11 +0000 (01:50 +0000)]
Fix beginner mistake -- don't mix spaces and tabs.
Raymond Hettinger [Sat, 19 May 2007 01:11:16 +0000 (01:11 +0000)]
Improvements to NamedTuple's implementation, tests, and documentation
Collin Winter [Fri, 18 May 2007 23:11:24 +0000 (23:11 +0000)]
Backport PEP 3110's new 'except' syntax to 2.6.
Neal Norwitz [Fri, 18 May 2007 05:47:16 +0000 (05:47 +0000)]
Verify neither dumps or loads overflow the stack and segfault.
Fred Drake [Thu, 17 May 2007 19:29:58 +0000 (19:29 +0000)]
fix argument name in documentation; match the implementation
Neal Norwitz [Thu, 17 May 2007 07:04:46 +0000 (07:04 +0000)]
Last try for tweaking the max stack depth. 5000 was the original value,
4000 didn't work either. 1000 does work on Windows. If 2000 works,
that will hopefully be a reasonable balance.
Neal Norwitz [Thu, 17 May 2007 06:23:50 +0000 (06:23 +0000)]
Set the depth to something very small to try to determine if the
crashes on Windows are really due to the stack size or possibly
some other problem.
Neal Norwitz [Thu, 17 May 2007 06:11:36 +0000 (06:11 +0000)]
Reduce the max stack depth to see if this fixes the segfaults on
Windows and some other boxes. If this is successful, this rev should
be backported. I'm not sure how close to the limit we should push this.
Brett Cannon [Thu, 17 May 2007 02:02:56 +0000 (02:02 +0000)]
Complete deprecation of BaseException.message. Some subclasses were directly
accessing the message attribute instead of using the descriptor.
Raymond Hettinger [Thu, 17 May 2007 01:08:04 +0000 (01:08 +0000)]
calendar.py gets no benefit from xrange() instead of range()
Brett Cannon [Wed, 16 May 2007 22:42:29 +0000 (22:42 +0000)]
Remove the gopherlib module. It has been raising a DeprecationWarning since
Python 2.5.
Also remove gopher support from urllib/urllib2. As both imported gopherlib the
usage of the support would have raised a DeprecationWarning.
Neal Norwitz [Wed, 16 May 2007 20:05:11 +0000 (20:05 +0000)]
Fix bug in marshal where bad data would cause a segfault due to
lack of an infinite recursion check.
Contributed by Damien Miller at Google.
Georg Brandl [Wed, 16 May 2007 13:44:18 +0000 (13:44 +0000)]
Bug #
1719995 : don't use deprecated method in sets example.
Brett Cannon [Wed, 16 May 2007 05:50:03 +0000 (05:50 +0000)]
Change the maintainer of the BeOS port.
Neal Norwitz [Wed, 16 May 2007 05:06:33 +0000 (05:06 +0000)]
Mention removal of some directories for obsolete platforms
Neal Norwitz [Wed, 16 May 2007 04:33:50 +0000 (04:33 +0000)]
Port rev 55353 from Guido:
Add what looks like a necessary call to PyErr_NoMemory() when PyMem_MALLOC()
fails.
Will backport.
Georg Brandl [Tue, 15 May 2007 20:19:34 +0000 (20:19 +0000)]
HTML-escape the plain traceback in cgitb's HTML output, to prevent
the traceback inadvertently or maliciously closing the comment and
injecting HTML into the error page.
Raymond Hettinger [Mon, 14 May 2007 20:52:31 +0000 (20:52 +0000)]
Small speedup.
Neal Norwitz [Sun, 13 May 2007 21:13:42 +0000 (21:13 +0000)]
Remove support for freebsd[23] which haven't been released since 2000
or earlier. http://www.freebsd.org/releases/index.html
Neal Norwitz [Sun, 13 May 2007 20:54:19 +0000 (20:54 +0000)]
Remove references to stdwin which was removed long ago.
Neal Norwitz [Sun, 13 May 2007 20:45:05 +0000 (20:45 +0000)]
Remove Amoeba doc which was removed in version 1.0! according to Misc/HISTORY.
Hopefully Guido won't shed a tear. :-)
Georg Brandl [Sun, 13 May 2007 08:04:07 +0000 (08:04 +0000)]
Add bz2 to content encodings.
Georg Brandl [Sat, 12 May 2007 21:06:41 +0000 (21:06 +0000)]
Bug #
1046945 : document SWIG options of distutils.
Raymond Hettinger [Fri, 11 May 2007 17:59:59 +0000 (17:59 +0000)]
Better tests for posixpath.commonprefix
Georg Brandl [Fri, 11 May 2007 11:43:56 +0000 (11:43 +0000)]
Update DDJ link.
Georg Brandl [Fri, 11 May 2007 11:04:26 +0000 (11:04 +0000)]
Patch #
1714700 : clarify os.linesep vs. tfiles opened in text mode.
(backport)
Georg Brandl [Fri, 11 May 2007 09:41:37 +0000 (09:41 +0000)]
Remove an XXX that is unnecessary.
Neal Norwitz [Fri, 11 May 2007 07:13:30 +0000 (07:13 +0000)]
Deprecate os.popen* and popen2 module in favor of the subprocess module. (forgot the doc)
Neal Norwitz [Fri, 11 May 2007 06:57:33 +0000 (06:57 +0000)]
Deprecate os.popen* and popen2 module in favor of the subprocess module.
Neal Norwitz [Fri, 11 May 2007 06:56:52 +0000 (06:56 +0000)]
Remove trailing whitespace in docstring
Neal Norwitz [Fri, 11 May 2007 06:23:01 +0000 (06:23 +0000)]
Fix typo in docstring (the module is popen2, not 3).
Neal Norwitz [Fri, 11 May 2007 05:55:15 +0000 (05:55 +0000)]
Don't ever report a failure when the sum of the reference count differences
are zero. This should help reduce the false positives.
The message about references leaking is maintained to provide as much
info as possible rather than simply suppressing the message at the source.
Guido van Rossum [Thu, 10 May 2007 17:20:15 +0000 (17:20 +0000)]
Fix a bug in test_c_api() that caused a negative refcount.
Walter Dörwald [Wed, 9 May 2007 18:10:47 +0000 (18:10 +0000)]
Backport checkin:
Fix a segfault when b"" was passed to b2a_qp() -- it was using strchr()
instead of memchr().
Neal Norwitz [Wed, 9 May 2007 06:43:15 +0000 (06:43 +0000)]
Add markup for True/False. Will backport