]>
granicus.if.org Git - python/log
Georg Brandl [Thu, 12 Jul 2007 09:37:49 +0000 (09:37 +0000)]
Bug #
1637365 : add subsection about "__name__ == __main__" to the
Python tutorial.
Georg Brandl [Thu, 12 Jul 2007 09:24:04 +0000 (09:24 +0000)]
Patch #
1731169 : clean up expected skips list.
Georg Brandl [Thu, 12 Jul 2007 09:06:41 +0000 (09:06 +0000)]
Patch #
1731659 : improve time.strptime docs.
Georg Brandl [Thu, 12 Jul 2007 08:38:00 +0000 (08:38 +0000)]
Patch #
1673759 : add a missing overflow check when formatting floats
with %G.
Georg Brandl [Thu, 12 Jul 2007 08:11:29 +0000 (08:11 +0000)]
Patch #
1739696 : use code.co_code only if really necessary
Georg Brandl [Thu, 12 Jul 2007 08:05:45 +0000 (08:05 +0000)]
Patch #
1752270 , #
1750931 : complain if urllib2 add_handler called
without handler.
Georg Brandl [Wed, 11 Jul 2007 19:41:49 +0000 (19:41 +0000)]
Fix #
1752132 : wrong comment in opcode description.
Ronald Oussoren [Mon, 9 Jul 2007 08:41:15 +0000 (08:41 +0000)]
Patch
1673122 : be explicit about which libtool to use, to avoid name clashes
when a users install GNU libtool early in his PATH
Ronald Oussoren [Mon, 9 Jul 2007 06:02:21 +0000 (06:02 +0000)]
Patch
1693258 : Fix for duplicate "preferences" menu-OS X
Neal Norwitz [Fri, 6 Jul 2007 04:13:39 +0000 (04:13 +0000)]
Fix typo in comment
Kurt B. Kaiser [Thu, 5 Jul 2007 22:03:39 +0000 (22:03 +0000)]
Many calls to tk.call involve an arglist containing a single tuple.
Calls using METH_OLDARGS unpack this tuple; calls using METH_VARARG
don't. Tcl's concatenation of args was affected; IDLE doesn't start.
Modify Tkapp_Call() to unpack single tuple arglists.
Bug
1733943
Ref http://mail.python.org/pipermail/python-checkins/2007-May/060454.html
Mark Hammond [Wed, 4 Jul 2007 02:03:10 +0000 (02:03 +0000)]
copy built files to the PCBuild directory, where tools like
distutils or external build processes can find them.
Georg Brandl [Mon, 2 Jul 2007 11:54:28 +0000 (11:54 +0000)]
Remove duplicate sentence from alarm() doc.
Georg Brandl [Sun, 1 Jul 2007 08:11:35 +0000 (08:11 +0000)]
Fix a few webbrowser.py problems.
Georg Brandl [Sat, 30 Jun 2007 11:01:01 +0000 (11:01 +0000)]
Document smtp.SMTPAuthenticationError.
Georg Brandl [Wed, 27 Jun 2007 14:09:56 +0000 (14:09 +0000)]
Fix a variable name in winreg docs.
Georg Brandl [Mon, 25 Jun 2007 15:21:23 +0000 (15:21 +0000)]
Bug #
1742901 : document None behavior of shlex.split.
Georg Brandl [Tue, 19 Jun 2007 12:38:20 +0000 (12:38 +0000)]
Bug #
1739115 : make shutil.rmtree docs clear wrt. file deletion.
Georg Brandl [Tue, 19 Jun 2007 12:36:00 +0000 (12:36 +0000)]
Bug #
1737864 : allow empty message in logging format routines.
Lars Gustäbel [Mon, 18 Jun 2007 20:05:55 +0000 (20:05 +0000)]
Added missing \versionchanged tag for the new exclude
parameter.
Lars Gustäbel [Mon, 18 Jun 2007 11:42:11 +0000 (11:42 +0000)]
Added exclude keyword argument to the TarFile.add() method.
Neal Norwitz [Mon, 18 Jun 2007 02:50:15 +0000 (02:50 +0000)]
Revert last change for SF #
1738754 , there's no print in there.
Neal Norwitz [Mon, 18 Jun 2007 02:46:36 +0000 (02:46 +0000)]
SF #
1738754 , remove extra backslash in string
Neal Norwitz [Sun, 17 Jun 2007 18:48:32 +0000 (18:48 +0000)]
SF #
1738670 , make example in doc work
Georg Brandl [Sat, 16 Jun 2007 17:10:12 +0000 (17:10 +0000)]
Add missing \versionadded.
Martin v. Löwis [Sat, 16 Jun 2007 10:08:43 +0000 (10:08 +0000)]
Mention Senthil Kumaran.
Andrew M. Kuchling [Fri, 15 Jun 2007 22:43:03 +0000 (22:43 +0000)]
Add a word
Neal Norwitz [Fri, 15 Jun 2007 03:11:41 +0000 (03:11 +0000)]
urllib2_localnet says it leaks probably due to threads. So ignore it.
popen2 is also complaining probably for similar reasons.
make install always reports failure, so don't mail in this case.
Martin v. Löwis [Thu, 14 Jun 2007 20:46:25 +0000 (20:46 +0000)]
Patch #
1734014 : Use _I64_MAX instead of LLONG_MAX.
Will backport to 2.5.
Walter Dörwald [Wed, 13 Jun 2007 16:57:12 +0000 (16:57 +0000)]
Add T_PYSSIZET in structmember.h: This can be used for
Py_ssize_t members.
Simplify the implementation of UnicodeError objects:
start and end attributes are now stored directly as
Py_ssize_t members, which simplifies various get and
set functions.
Thomas Heller [Wed, 13 Jun 2007 07:54:57 +0000 (07:54 +0000)]
Build bzip2.
Thomas Heller [Wed, 13 Jun 2007 07:07:41 +0000 (07:07 +0000)]
Notes about building tcl/tk for windows/AMD64.
Thomas Heller [Wed, 13 Jun 2007 07:07:03 +0000 (07:07 +0000)]
Do not hardcode the buildbot's directory name.
Martin v. Löwis [Wed, 13 Jun 2007 03:42:19 +0000 (03:42 +0000)]
Provide PY_LLONG_MAX on all systems having long long.
Will backport to 2.5.
Thomas Heller [Tue, 12 Jun 2007 19:56:12 +0000 (19:56 +0000)]
Don't rebuild Berkeley DB if not needed (this was committed by accident).
Thomas Heller [Tue, 12 Jun 2007 19:02:59 +0000 (19:02 +0000)]
Add bufferoverflowU.lib to PCBuild\_bsddb.vcproj.
Build sqlite3.dll and bsddb.
Thomas Heller [Tue, 12 Jun 2007 17:28:31 +0000 (17:28 +0000)]
Specify the bufferoverflowU.lib to the makefile on the command line
(for ReleaseAMD64 builds).
Thomas Heller [Tue, 12 Jun 2007 16:23:19 +0000 (16:23 +0000)]
Revert this change, since it breaks the win32 build:
Add bufferoverflowU.lib to the libraries needed by _ssl (is this the
right thing to do?).
Thomas Heller [Tue, 12 Jun 2007 16:08:27 +0000 (16:08 +0000)]
Add bufferoverflowU.lib to the libraries needed by _ssl (is this the
right thing to do?).
Set the /XP64 /RETAIL build enviroment in the makefile when building
ReleaseAMD64.
Thomas Heller [Tue, 12 Jun 2007 15:36:22 +0000 (15:36 +0000)]
Checkout, but do not yet try to build, exernal sources.
Marc-André Lemburg [Tue, 12 Jun 2007 09:26:49 +0000 (09:26 +0000)]
Add patch #
1726668 : Windows Vista support.
Marc-André Lemburg [Tue, 12 Jun 2007 09:09:58 +0000 (09:09 +0000)]
Apply patch #
1734945 to support TurboLinux as distribution.
Facundo Batista [Mon, 11 Jun 2007 16:27:08 +0000 (16:27 +0000)]
Added versionchanged flag to all the methods which received
a new optional timeout parameter, and a versionadded flag to
the socket.create_connection function.
Thomas Heller [Mon, 11 Jun 2007 15:58:33 +0000 (15:58 +0000)]
Use "O&" in calls to PyArg_Parse when we need a 'void*' instead of "k"
or "K" codes.
Neal Norwitz [Mon, 11 Jun 2007 07:36:24 +0000 (07:36 +0000)]
Reflow long line
Neal Norwitz [Mon, 11 Jun 2007 07:29:43 +0000 (07:29 +0000)]
Bug #
1734723 : Fix repr.Repr() so it doesn't ignore the maxtuple attribute.
Will backport
Neal Norwitz [Mon, 11 Jun 2007 06:16:48 +0000 (06:16 +0000)]
Not sure why this only fails sometimes on Unix machines. Better
to disable it and only import msvccompiler on Windows since that's
the only place it can work anyways.
Neal Norwitz [Mon, 11 Jun 2007 05:35:10 +0000 (05:35 +0000)]
SF #
1734732 , lower case the module names per PEP 8.
Will backport.
Neal Norwitz [Mon, 11 Jun 2007 05:28:45 +0000 (05:28 +0000)]
Add all of the distuils modules that don't seem to have explicit tests. :-(
Move an import in mworkscompiler so that this module can be imported on
any platform. Hopefully this works on all platforms.
Neal Norwitz [Mon, 11 Jun 2007 04:52:37 +0000 (04:52 +0000)]
Prevent hang if the port cannot be opened.
Neal Norwitz [Mon, 11 Jun 2007 02:16:10 +0000 (02:16 +0000)]
Fix a bug when there was a newline in the string expandtabs was called on.
This also catches another condition that can overflow.
Will backport.
Neal Norwitz [Mon, 11 Jun 2007 02:14:39 +0000 (02:14 +0000)]
Prevent these tests from running on Win64 since they don\'t apply there either
Neal Norwitz [Mon, 11 Jun 2007 01:48:46 +0000 (01:48 +0000)]
Ignore config.status.lineno which seems new (new autoconf?)
Neal Norwitz [Mon, 11 Jun 2007 01:22:03 +0000 (01:22 +0000)]
Ignore valgrind problems on Ubuntu from ld
Neal Norwitz [Mon, 11 Jun 2007 00:42:11 +0000 (00:42 +0000)]
Add Atul Varma for patch #
1667860
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).