]>
granicus.if.org Git - python/log
Georg Brandl [Sun, 29 Oct 2006 08:39:22 +0000 (08:39 +0000)]
Fix codecs.EncodedFile which did not use file_encoding in 2.5.0, and
fix all codecs file wrappers to work correctly with the "with"
statement (bug #
1586513 ).
Neal Norwitz [Sat, 28 Oct 2006 22:12:26 +0000 (22:12 +0000)]
From SF
1557890 , fix problem of using wrong type in example.
Will backport.
Neal Norwitz [Sat, 28 Oct 2006 21:56:49 +0000 (21:56 +0000)]
Fix test_modulefinder so it doesn't fail when run after test_distutils.
Neal Norwitz [Sat, 28 Oct 2006 21:21:00 +0000 (21:21 +0000)]
Don't inline Py_ADDRESS_IN_RANGE with gcc 4+ either.
Will backport.
Neal Norwitz [Sat, 28 Oct 2006 21:20:12 +0000 (21:20 +0000)]
Prevent crash if alloc of garbage fails. Found by Typo.pl.
Will backport.
Neal Norwitz [Sat, 28 Oct 2006 21:19:07 +0000 (21:19 +0000)]
Fix bug #
1565514 , SystemError not raised on too many nested blocks.
It seems like this should be a different error than SystemError, but
I don't have any great ideas and SystemError was raised in 2.4 and earlier.
Will backport.
Neal Norwitz [Sat, 28 Oct 2006 21:17:51 +0000 (21:17 +0000)]
Fix crash in test on HP-UX. Apparently, it's not possible to delete a lock if
it's held (even by the current thread).
Will backport.
Neal Norwitz [Sat, 28 Oct 2006 21:16:54 +0000 (21:16 +0000)]
Fix warnings with HP's C compiler. It doesn't recognize that infinite
loops are, um, infinite. These conditions should not be able to happen.
Will backport.
Neal Norwitz [Sat, 28 Oct 2006 21:15:30 +0000 (21:15 +0000)]
Add some asserts. In sysmodule, I think these were to try to silence
some warnings from Klokwork. They verify the assumptions of the format
of svn version output.
The assert in the thread module helped debug a problem on HP-UX.
Georg Brandl [Sat, 28 Oct 2006 20:25:09 +0000 (20:25 +0000)]
make test_grammar pass with python -O
Georg Brandl [Sat, 28 Oct 2006 16:04:04 +0000 (16:04 +0000)]
Fix nth() itertool recipe.
Georg Brandl [Sat, 28 Oct 2006 13:56:58 +0000 (13:56 +0000)]
Convert test_opcodes to unittest.
Georg Brandl [Sat, 28 Oct 2006 13:51:49 +0000 (13:51 +0000)]
Convert test_math to unittest.
Georg Brandl [Sat, 28 Oct 2006 13:11:41 +0000 (13:11 +0000)]
Update outstanding bugs test file.
Georg Brandl [Sat, 28 Oct 2006 13:10:17 +0000 (13:10 +0000)]
Convert test_global, test_scope and test_grammar to unittest.
I tried to enclose all tests which must be run at the toplevel
(instead of inside a method) in exec statements.
Walter Dörwald [Sat, 28 Oct 2006 10:47:12 +0000 (10:47 +0000)]
Port test_bufio to unittest.
Georg Brandl [Fri, 27 Oct 2006 20:39:43 +0000 (20:39 +0000)]
Patch #
1552024 : add decorator support to unparse.py demo script.
Thomas Heller [Fri, 27 Oct 2006 19:05:53 +0000 (19:05 +0000)]
Modulefinder now handles absolute and relative imports, including
tests.
Will backport to release25-maint.
Thomas Heller [Fri, 27 Oct 2006 18:31:36 +0000 (18:31 +0000)]
WindowsError.str should display the windows error code,
not the posix error code; with test.
Fixes #
1576174 .
Will backport to release25-maint.
Andrew M. Kuchling [Fri, 27 Oct 2006 18:15:02 +0000 (18:15 +0000)]
[Patch #
1503717 ] Tiny patch from Chris AtLee to stop a lengthy line from being printed
Andrew M. Kuchling [Fri, 27 Oct 2006 18:13:46 +0000 (18:13 +0000)]
Check db_setup_debug for a few print statements; change sqlite_setup_debug to False
Andrew M. Kuchling [Fri, 27 Oct 2006 17:11:23 +0000 (17:11 +0000)]
[Patch #
1574068 by Scott Dial] urllib and urllib2 were using
base64.encodestring() for encoding authentication data.
encodestring() can include newlines for very long input, which
produced broken HTTP headers.
Andrew M. Kuchling [Fri, 27 Oct 2006 17:06:16 +0000 (17:06 +0000)]
Clarify docstring
Andrew M. Kuchling [Fri, 27 Oct 2006 16:55:34 +0000 (16:55 +0000)]
[Bug #
1575506 ] The _singlefileMailbox class was using the wrong file object in its flush() method, causing an error
Andrew M. Kuchling [Fri, 27 Oct 2006 16:39:10 +0000 (16:39 +0000)]
[Bug #
1576241 ] Let functools.wraps work with built-in functions
Andrew M. Kuchling [Fri, 27 Oct 2006 14:53:41 +0000 (14:53 +0000)]
Point users to the subprocess module in the docs for os.system, os.spawn*, os.popen2, and the popen2 and commands modules
Andrew M. Kuchling [Fri, 27 Oct 2006 13:22:46 +0000 (13:22 +0000)]
[Bug #
1542016 ] Report PCALL_POP value. This makes the return value of sys.callstats() match its docstring.
Backport candidate. Though it's an API change, this is a pretty obscure
portion of the API.
Andrew M. Kuchling [Fri, 27 Oct 2006 13:06:25 +0000 (13:06 +0000)]
[Bug #
1562583 ] Mention the set_reuse_addr() method
Andrew M. Kuchling [Fri, 27 Oct 2006 12:50:38 +0000 (12:50 +0000)]
[Bug #
1583946 ] Reword description of server and issuer
Andrew M. Kuchling [Fri, 27 Oct 2006 12:18:38 +0000 (12:18 +0000)]
[Bug #
1585690 ] Note that line_num was added in Python 2.5
Andrew M. Kuchling [Fri, 27 Oct 2006 11:37:01 +0000 (11:37 +0000)]
Some wording changes and markup fixes
Andrew M. Kuchling [Fri, 27 Oct 2006 11:36:41 +0000 (11:36 +0000)]
Add item
Andrew M. Kuchling [Fri, 27 Oct 2006 11:33:29 +0000 (11:33 +0000)]
Set svn:keywords property
Martin v. Löwis [Fri, 27 Oct 2006 07:13:28 +0000 (07:13 +0000)]
Patch #
1567274 : Support SMTP over TLS.
Martin v. Löwis [Fri, 27 Oct 2006 07:06:52 +0000 (07:06 +0000)]
Get DBL_MAX from float.h not values.h. Will backport.
Martin v. Löwis [Fri, 27 Oct 2006 06:42:27 +0000 (06:42 +0000)]
Check for values.h. Will backport.
Martin v. Löwis [Fri, 27 Oct 2006 06:16:31 +0000 (06:16 +0000)]
Patch #
1549049 : Rewrite type conversion in structmember.
Fixes #
1545696 and #
1566140 . Will backport to 2.5.
Andrew M. Kuchling [Thu, 26 Oct 2006 19:16:46 +0000 (19:16 +0000)]
Typo fix
Andrew M. Kuchling [Thu, 26 Oct 2006 19:10:46 +0000 (19:10 +0000)]
[Bug #
1579796 ] Wrong syntax for PyDateTime_IMPORT in documentation. Reported by David Faure.
Georg Brandl [Tue, 24 Oct 2006 16:54:16 +0000 (16:54 +0000)]
Patch [
1583506 ] tarfile.py: 100-char filenames are truncated
Martin v. Löwis [Sun, 22 Oct 2006 13:45:13 +0000 (13:45 +0000)]
Remove passwd.adjunct.byname from list of maps
for test_nis. Will backport to 2.5.
Martin v. Löwis [Sun, 22 Oct 2006 10:55:15 +0000 (10:55 +0000)]
- Patch #
1560695 : Add .note.GNU-stack to ctypes' sysv.S so that
ctypes isn't considered as requiring executable stacks.
Will backport to 2.5.
Martin v. Löwis [Sun, 22 Oct 2006 10:46:18 +0000 (10:46 +0000)]
Patch #
1580872 : Remove duplicate declaration of PyCallable_Check.
Will backport to 2.5.
Ronald Oussoren [Sun, 22 Oct 2006 10:45:18 +0000 (10:45 +0000)]
Patch #
1580674 : with this patch os.readlink uses the filesystem encoding to
decode unicode objects and returns an unicode object when the argument is one.
Walter Dörwald [Sun, 22 Oct 2006 08:59:41 +0000 (08:59 +0000)]
Port test___future__ to unittest.
Andrew M. Kuchling [Thu, 19 Oct 2006 21:55:55 +0000 (21:55 +0000)]
[Bug #
1576348 ] Fix typo in example
Martin v. Löwis [Thu, 19 Oct 2006 16:01:37 +0000 (16:01 +0000)]
Restore CFLAGS after checking for __attribute__
Martin v. Löwis [Thu, 19 Oct 2006 11:00:37 +0000 (11:00 +0000)]
Fix various minor errors in passing arguments to
PyArg_ParseTuple.
Martin v. Löwis [Thu, 19 Oct 2006 10:58:46 +0000 (10:58 +0000)]
Add check for the PyArg_ParseTuple format, and declare
it if it is supported.
Tim Peters [Wed, 18 Oct 2006 05:10:28 +0000 (05:10 +0000)]
Add missing svn:eol-style to text files.
Tim Peters [Wed, 18 Oct 2006 05:09:12 +0000 (05:09 +0000)]
Whitespace normalization.
Tim Peters [Wed, 18 Oct 2006 05:06:06 +0000 (05:06 +0000)]
newIobject(): repaired incorrect cast to quiet MSVC warning.
Thomas Heller [Tue, 17 Oct 2006 19:30:48 +0000 (19:30 +0000)]
ctypes callback functions only support 'fundamental' result types.
Check this and raise an error when something else is used - before
this change ctypes would hang or crash when such a callback was
called. This is a partial fix for #
1574584 .
Will backport to release25-maint.
Martin v. Löwis [Tue, 17 Oct 2006 18:59:23 +0000 (18:59 +0000)]
Forward-port r52358:
- Bug #
1578513 : Cross compilation was broken by a change to configure.
Repair so that it's back to how it was in 2.4.3.
Martin v. Löwis [Tue, 17 Oct 2006 18:09:55 +0000 (18:09 +0000)]
Remove obsolete file. Will backport.
Martin v. Löwis [Tue, 17 Oct 2006 15:18:06 +0000 (15:18 +0000)]
Patch #
1457736 : Update VC6 to use current PCbuild settings.
Will backport to 2.5.
Brett Cannon [Mon, 16 Oct 2006 03:09:52 +0000 (03:09 +0000)]
Fix turtle so that you can launch the demo2 function on its own instead of only
when the module is launched as a script.
Martin v. Löwis [Sun, 15 Oct 2006 14:30:38 +0000 (14:30 +0000)]
Mention the bdist_msi module. Will backport to 2.5.
Martin v. Löwis [Sun, 15 Oct 2006 12:01:43 +0000 (12:01 +0000)]
Remove binary property, set eol-style to CRLF instead.
Martin v. Löwis [Sun, 15 Oct 2006 11:59:56 +0000 (11:59 +0000)]
Drop binary property on dsp files, set eol-style
to CRLF instead.
Martin v. Löwis [Sun, 15 Oct 2006 11:57:40 +0000 (11:57 +0000)]
Set the eol-style for project files to "CRLF".
Martin v. Löwis [Sun, 15 Oct 2006 11:02:07 +0000 (11:02 +0000)]
Round to int, because some systems support sub-second time stamps in stat, but not in utime.
Also be consistent with modifying only mtime, not atime.
Martin v. Löwis [Sun, 15 Oct 2006 09:43:39 +0000 (09:43 +0000)]
Bug #
1567666 : Emulate GetFileAttributesExA for Win95.
Will backport to 2.5.
Martin v. Löwis [Sun, 15 Oct 2006 09:35:51 +0000 (09:35 +0000)]
Loosen the test for equal time stamps.
Martin v. Löwis [Sun, 15 Oct 2006 08:51:22 +0000 (08:51 +0000)]
Patch #
1577551 : Add ctypes and ET build support for VC6.
Will backport to 2.5.
Martin v. Löwis [Sun, 15 Oct 2006 08:43:33 +0000 (08:43 +0000)]
Patch #
1576166 : Support os.utime for directories on Windows NT+.
Martin v. Löwis [Sun, 15 Oct 2006 07:54:40 +0000 (07:54 +0000)]
Patch #
1576954 : Update VC6 build directory; remove redundant
files in VC7. Will backport to 2.5.
Neal Norwitz [Sat, 14 Oct 2006 21:33:38 +0000 (21:33 +0000)]
Update the peephole optimizer to remove more dead code (jumps after returns)
and inline jumps to returns.
Brett Cannon [Sat, 14 Oct 2006 06:36:45 +0000 (06:36 +0000)]
Clean up the language of a sentence relating to the connect() function and
user-defined datatypes.
Georg Brandl [Thu, 12 Oct 2006 13:08:16 +0000 (13:08 +0000)]
Bug #
1560179 : speed up posixpath.(dir|base)name
Georg Brandl [Thu, 12 Oct 2006 12:33:07 +0000 (12:33 +0000)]
Bug #
1283491 : follow docstring convention wrt. keyword-able args in sum().
Georg Brandl [Thu, 12 Oct 2006 12:03:07 +0000 (12:03 +0000)]
Fix tarfile depending on buggy int('1\0', base) behavior.
Georg Brandl [Thu, 12 Oct 2006 11:59:27 +0000 (11:59 +0000)]
Small grammar fix, thanks Sjoerd.
Georg Brandl [Thu, 12 Oct 2006 11:46:57 +0000 (11:46 +0000)]
Bug #
1560114 : the Mac filesystem does have accurate information
about the case of filenames.
Georg Brandl [Thu, 12 Oct 2006 11:41:11 +0000 (11:41 +0000)]
Add a note to fpectl docs that it's not built by default
(bug #
1556261 ).
Georg Brandl [Thu, 12 Oct 2006 11:27:59 +0000 (11:27 +0000)]
Bug #
1545497 : when given an explicit base, int() did ignore NULs
embedded in the string to convert.
Georg Brandl [Thu, 12 Oct 2006 11:14:40 +0000 (11:14 +0000)]
Bug #
1546628 : add a note about urlparse.urljoin() and absolute paths.
Georg Brandl [Thu, 12 Oct 2006 09:47:12 +0000 (09:47 +0000)]
Bug #
1548891 : The cStringIO.StringIO() constructor now encodes unicode
arguments with the system default encoding just like the write()
method does, instead of converting it to a raw buffer.
Georg Brandl [Thu, 12 Oct 2006 09:20:33 +0000 (09:20 +0000)]
Bug #
1550524 : better heuristics to find correct class definition
in inspect.findsource().
Georg Brandl [Thu, 12 Oct 2006 08:22:53 +0000 (08:22 +0000)]
Bug #
1565919 : document set types in the Language Reference.
Georg Brandl [Thu, 12 Oct 2006 07:57:21 +0000 (07:57 +0000)]
Bug #813342: Start the IDLE subprocess with -Qnew if the parent
is started with that option.
Georg Brandl [Thu, 12 Oct 2006 07:38:04 +0000 (07:38 +0000)]
Bug #
1575746 : fix typo in property() docs.
Ronald Oussoren [Tue, 10 Oct 2006 07:55:06 +0000 (07:55 +0000)]
MacOSX: fix permission problem in the generated installer
Martin v. Löwis [Mon, 9 Oct 2006 20:44:25 +0000 (20:44 +0000)]
Bug #
1565150 : Fix subsecond processing for os.utime on Windows.
Barry Warsaw [Mon, 9 Oct 2006 19:43:24 +0000 (19:43 +0000)]
List gc.get_count() in the module docstring.
Georg Brandl [Mon, 9 Oct 2006 19:03:06 +0000 (19:03 +0000)]
Patch #
1572724 : fix typo ('=' instead of '==') in _msi.c.
Andrew M. Kuchling [Mon, 9 Oct 2006 18:05:19 +0000 (18:05 +0000)]
Fix wording in comment
Andrew M. Kuchling [Mon, 9 Oct 2006 17:10:12 +0000 (17:10 +0000)]
Add news item for rev. 52211 change
Ronald Oussoren [Sun, 8 Oct 2006 18:18:26 +0000 (18:18 +0000)]
MacOSX: add more logic to recognize the correct startup file to patch to the
shell profile patching post-install script.
Ronald Oussoren [Sun, 8 Oct 2006 17:51:46 +0000 (17:51 +0000)]
MacOSX: The universal build requires that users have the MacOSX10.4u SDK
installed to build extensions. This patch makes distutils emit a warning when
the compiler should use an SDK but that SDK is not installed, hopefully reducing
some confusion.
Ronald Oussoren [Sun, 8 Oct 2006 17:49:52 +0000 (17:49 +0000)]
MacOSX: distutils changes the values of BASECFLAGS and LDFLAGS when using a
universal build of python on OSX 10.3 to ensure that those flags can be used
to compile code (the universal build uses compiler flags that aren't supported
on 10.3). This patches gives the same treatment to CFLAGS, PY_CFLAGS and
BLDSHARED.
Ronald Oussoren [Sun, 8 Oct 2006 17:40:02 +0000 (17:40 +0000)]
Ronald Oussoren [Sun, 8 Oct 2006 17:37:58 +0000 (17:37 +0000)]
Add version number to the link to the python documentation in
/Developer/Documentation/Python, better for users that install multiple versions
of python.
Hye-Shik Chang [Sun, 8 Oct 2006 13:48:34 +0000 (13:48 +0000)]
Bug #
1572832 : fix a bug in ISO-2022 codecs which may cause segfault
when encoding non-BMP unicode characters. (Submitted by Ray Chason)
Georg Brandl [Sun, 8 Oct 2006 07:11:54 +0000 (07:11 +0000)]
Add missing NEWS entry for rev. 52129.
Skip Montanaro [Sat, 7 Oct 2006 11:05:02 +0000 (11:05 +0000)]
Note that the excel_tab class is registered as the "excel-tab" dialect.
Fixes
1572471 . Make a similar change for the excel class and clean up
references to the Dialects and Formatting Parameters section in a few
places.
Andrew M. Kuchling [Fri, 6 Oct 2006 18:51:55 +0000 (18:51 +0000)]
Comment grammar
Armin Rigo [Fri, 6 Oct 2006 16:33:22 +0000 (16:33 +0000)]
A very minor bug fix: this code looks like it is designed to accept
any hue value and do the modulo itself, except it doesn't quite do
it in all cases. At least, the "cannot get here" comment was wrong.
Andrew M. Kuchling [Fri, 6 Oct 2006 13:18:26 +0000 (13:18 +0000)]
[Bug #
1545341 ] Allow 'classifier' parameter to be a tuple as well as a list. Will backport.
Georg Brandl [Fri, 6 Oct 2006 12:46:08 +0000 (12:46 +0000)]
Fix name.