]>
granicus.if.org Git - python/log
Thomas Heller [Sun, 10 Jun 2007 21:01:17 +0000 (21:01 +0000)]
Revert commit 55855.
Thomas Heller [Sun, 10 Jun 2007 18:27:54 +0000 (18:27 +0000)]
Need to set the environment variables, otherwise devenv.com is not found.
Thomas Heller [Sun, 10 Jun 2007 17:55:51 +0000 (17:55 +0000)]
For now, disable the _bsddb, _sqlite3, _ssl, _testcapi, _tkinter
modules in the ReleaseAMD64 configuration because they do not compile.
Thomas Heller [Sun, 10 Jun 2007 15:59:17 +0000 (15:59 +0000)]
First version of build scripts for Windows/AMD64 (no external
components are built yet, and 'kill_python' is disabled).
Martin v. Löwis [Sat, 9 Jun 2007 10:10:26 +0000 (10:10 +0000)]
Provide LLONG_MAX for S390.
Martin v. Löwis [Sat, 9 Jun 2007 07:58:05 +0000 (07:58 +0000)]
Fix Windows build.
Martin v. Löwis [Sat, 9 Jun 2007 07:42:52 +0000 (07:42 +0000)]
Patch #
1733960 : Allow T_LONGLONG to accept ints.
Will backport to 2.5.
Neal Norwitz [Sat, 9 Jun 2007 04:48:22 +0000 (04:48 +0000)]
Use macro version of GET_SIZE to avoid Coverity warning (#150) about a possible error.
Neal Norwitz [Sat, 9 Jun 2007 03:36:34 +0000 (03:36 +0000)]
Prevent expandtabs() on string and unicode objects from causing a segfault when
a large width is passed on 32-bit platforms. Found by Google.
It would be good for people to review this especially carefully and verify
I don't have an off by one error and there is no other way to cause overflow.
Thomas Heller [Fri, 8 Jun 2007 19:14:23 +0000 (19:14 +0000)]
Fix warnings by using proper function prototype.
Thomas Heller [Fri, 8 Jun 2007 19:08:31 +0000 (19:08 +0000)]
Fix wrong documentation, and correct the punktuation.
Closes [
1700455 ].
Thomas Heller [Fri, 8 Jun 2007 19:01:06 +0000 (19:01 +0000)]
Fix gcc warnings intruduced by passing Py_ssize_t to PyErr_Format calls.
Thomas Heller [Fri, 8 Jun 2007 18:20:09 +0000 (18:20 +0000)]
[
1715718 ] x64 clean compile patch for _ctypes, by Kristj?n Valur
with small modifications.
Martin v. Löwis [Fri, 8 Jun 2007 17:29:20 +0000 (17:29 +0000)]
Bug #
1733488 : Fix compilation of bufferobject.c on AIX.
Will backport to 2.5.
Thomas Heller [Fri, 8 Jun 2007 16:10:27 +0000 (16:10 +0000)]
Make this test work with older Python releases where struct has no 't' format character.
Kristján Valur Jónsson [Thu, 7 Jun 2007 23:53:49 +0000 (23:53 +0000)]
Fixing changes to getbuildinfo.c that broke linux builds
Georg Brandl [Thu, 7 Jun 2007 13:34:10 +0000 (13:34 +0000)]
Patch #
1667860 : Fix UnboundLocalError in urllib2.
Georg Brandl [Thu, 7 Jun 2007 13:30:24 +0000 (13:30 +0000)]
Make reindent.py executable.
Georg Brandl [Thu, 7 Jun 2007 13:23:24 +0000 (13:23 +0000)]
Disallow function calls like foo(None=1).
Backport from py3k rev. 55708 by Guido.
Thomas Heller [Wed, 6 Jun 2007 20:19:19 +0000 (20:19 +0000)]
Build _ctypes and _ctypes_test in the ReleaseAMD64 configuration.
Facundo Batista [Wed, 6 Jun 2007 17:15:23 +0000 (17:15 +0000)]
Added an optional timeout parameter to function urllib2.urlopen,
with tests in test_urllib2net.py (must have network resource
enabled to execute them). Also modified test_urllib2.py because
testing mock classes must take it into acount. Docs are also
updated.
Facundo Batista [Wed, 6 Jun 2007 15:13:37 +0000 (15:13 +0000)]
FTP.ntransfercmd method now uses create_connection when passive,
using the timeout received in connection time.
Collin Winter [Wed, 6 Jun 2007 00:17:35 +0000 (00:17 +0000)]
Patch #
1731049 : make threading.py use a proper "raise" when checking internal state, rather than assert statements (which get stripped out by -O).
Guido van Rossum [Tue, 5 Jun 2007 21:24:47 +0000 (21:24 +0000)]
Patch by Tim Delany (missing DECREF). SF #
1731330 .
Hye-Shik Chang [Tue, 5 Jun 2007 19:28:15 +0000 (19:28 +0000)]
Fix for Windows: close a temporary file before trying to delete it.
Hye-Shik Chang [Tue, 5 Jun 2007 18:58:51 +0000 (18:58 +0000)]
Bug #
1728403 : Fix a bug that CJKCodecs StreamReader hangs when it
reads a file that ends with incomplete sequence and sizehint argument
for .read() is specified.
Hye-Shik Chang [Tue, 5 Jun 2007 18:16:52 +0000 (18:16 +0000)]
Fix build on FreeBSD. Bluetooth HCI API in FreeBSD is quite different
from Linux's. Just fix the build for now but the code doesn't
support the complete capability of HCI on FreeBSD yet.
Brett Cannon [Sun, 3 Jun 2007 23:13:41 +0000 (23:13 +0000)]
Make _strptime.TimeRE().pattern() use ``\s+`` for matching whitespace instead
of ``\s*``. This prevents patterns from "stealing" bits from other patterns in
order to make a match work.
Closes bug #
1730389 . Will be backported.
Neal Norwitz [Sun, 3 Jun 2007 20:32:50 +0000 (20:32 +0000)]
Backout the original 'fix' to
1721309 which had no effect.
Different versions of Berkeley DB handle this differently.
The comments and bug report should have the details. Memory is allocated
in 4.4 (and presumably earlier), but not in 4.5. Thus
4.5 has the free error, but not earlier versions.
Mostly update comments, plus make the free conditional.
This fix was already applied to the 2.5 branch.
Neal Norwitz [Sat, 2 Jun 2007 18:33:53 +0000 (18:33 +0000)]
Update expected birthday of 2.6
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