]>
granicus.if.org Git - python/log
Benjamin Peterson [Sat, 23 Aug 2008 20:27:43 +0000 (20:27 +0000)]
#3643 add a few more checks to _testcapi to prevent segfaults
Author: Victor Stinner
Reviewer: Benjamin Peterson
Georg Brandl [Sat, 23 Aug 2008 15:15:31 +0000 (15:15 +0000)]
Small updates to types member docs, backport from r65994.
Mark Hammond [Sat, 23 Aug 2008 00:59:14 +0000 (00:59 +0000)]
Fix bug 3625: test issues on 64bit windows. r=pitrou
Christian Heimes [Fri, 22 Aug 2008 21:23:47 +0000 (21:23 +0000)]
d is the correct format string
Benjamin Peterson [Fri, 22 Aug 2008 20:43:48 +0000 (20:43 +0000)]
fix a few get_name() calls and turn then to .name
Reviewer: Christian Heimes
Christian Heimes [Fri, 22 Aug 2008 20:10:27 +0000 (20:10 +0000)]
Fixed two format strings in the _collections module. For example
Modules/_collectionsmodule.c:674: warning: format '%i' expects type 'int', but argument 2 has type 'Py_ssize_t'
Reviewed by Benjamin Peterson
Christian Heimes [Fri, 22 Aug 2008 19:55:54 +0000 (19:55 +0000)]
Silenced a compiler warning in the sqlite module
Modules/_sqlite/row.c:187: warning: suggest parentheses around && within ||
Reviewed by Benjamin Peterson
Christian Heimes [Fri, 22 Aug 2008 19:47:25 +0000 (19:47 +0000)]
Silenced compiler warning
Objects/stringlib/find.h:97: warning: 'stringlib_contains_obj' defined but not used
Reviewed by Benjamin Peterson
Christian Heimes [Fri, 22 Aug 2008 19:34:15 +0000 (19:34 +0000)]
Changed type of numarenas from uint to size_t to silence a GCC warning on 64bit OSes. Reviewed by Benjamin Peterson.
Robert Schuppenies [Fri, 22 Aug 2008 08:03:43 +0000 (08:03 +0000)]
Issue #
1342811 : Fixed broken patch. Reviewed by benjamin.peterson.
Mark Dickinson [Thu, 21 Aug 2008 21:38:38 +0000 (21:38 +0000)]
issue 3633: Solaris allows fullwidth Unicode digits in isxdigit, so
rewrite float.fromhex to only allow ASCII hex digits on all platforms.
(Tests for this are already present, but the test_float failures
on Solaris hadn't been noticed before.)
Reviewed by Antoine Pitrou.
Mark Dickinson [Thu, 21 Aug 2008 20:02:24 +0000 (20:02 +0000)]
Fix float.fromhex test to give additional information on failure. This
change is aimed at diagnosing issue 3633 (test_float fails on Solaris).
Reviewed by Benjamin Peterson
Barry Warsaw [Thu, 21 Aug 2008 02:12:56 +0000 (02:12 +0000)]
done with the release
Barry Warsaw [Thu, 21 Aug 2008 01:15:57 +0000 (01:15 +0000)]
Tagging 2.6b3
Barry Warsaw [Thu, 21 Aug 2008 01:15:08 +0000 (01:15 +0000)]
Bump to 2.6b3.
Hirokazu Yamamoto [Wed, 20 Aug 2008 16:15:28 +0000 (16:15 +0000)]
Reverted r65900. See http://mail.python.org/pipermail/python-checkins/2008-August/073116.html
Guido van Rossum [Wed, 20 Aug 2008 15:01:50 +0000 (15:01 +0000)]
News for the tp_flags change.
Guido van Rossum [Wed, 20 Aug 2008 14:57:20 +0000 (14:57 +0000)]
News for the imageop fix.
Benjamin Peterson [Wed, 20 Aug 2008 14:07:59 +0000 (14:07 +0000)]
fix up the multiprocessing docs a little
Hirokazu Yamamoto [Wed, 20 Aug 2008 13:14:07 +0000 (13:14 +0000)]
Issue #3612: Added some missing basic types in ctypes.wintypes.
Hirokazu Yamamoto [Wed, 20 Aug 2008 04:13:28 +0000 (04:13 +0000)]
fixed get_file_system in test_os.py ('path' is unicode on py3k and ansi on trunk)
Benjamin Peterson [Wed, 20 Aug 2008 02:15:42 +0000 (02:15 +0000)]
fix silly errors of mine
Benjamin Peterson [Wed, 20 Aug 2008 01:44:45 +0000 (01:44 +0000)]
newSymbolTable is not public API
Benjamin Peterson [Wed, 20 Aug 2008 01:42:01 +0000 (01:42 +0000)]
deprecate some useless, noop methods in symtable
Benjamin Peterson [Wed, 20 Aug 2008 01:27:30 +0000 (01:27 +0000)]
add a NEWS note for new args syntax
Amaury Forgeot d'Arc [Wed, 20 Aug 2008 00:08:47 +0000 (00:08 +0000)]
follow-up of issue3473: update the compiler package to recognize the new syntax.
Benjamin Peterson [Tue, 19 Aug 2008 22:06:11 +0000 (22:06 +0000)]
check that the parser module can handle the new keyword syntax
Benjamin Peterson [Tue, 19 Aug 2008 21:07:15 +0000 (21:07 +0000)]
Merged revisions 65876 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r65876 | benjamin.peterson | 2008-08-19 15:54:52 -0500 (Tue, 19 Aug 2008) | 1 line
apply a fix I think will help Windows
........
Guido van Rossum [Tue, 19 Aug 2008 21:02:04 +0000 (21:02 +0000)]
Issue 1179: [CVE-2007-4965] Integer overflow in imageop module.
Guido van Rossum [Tue, 19 Aug 2008 20:13:02 +0000 (20:13 +0000)]
Hopeful fix for issue 1878: remove Py_TPFLAGS_HAVE_VERSION_TAG from
Py_TPFLAGS_DEFAULT when not building the core.
Benjamin Peterson [Tue, 19 Aug 2008 19:52:46 +0000 (19:52 +0000)]
allow keyword args to be passed in after *args #3473
Thomas Heller [Tue, 19 Aug 2008 19:40:23 +0000 (19:40 +0000)]
COM method code is windows specific
Benjamin Peterson [Tue, 19 Aug 2008 19:27:53 +0000 (19:27 +0000)]
fix a little typo
Thomas Heller [Tue, 19 Aug 2008 19:25:04 +0000 (19:25 +0000)]
Fix a regression introduced by rev. 63792: ctypes function pointers
that are COM methods must have a boolean True value.
Benjamin Peterson [Tue, 19 Aug 2008 19:07:38 +0000 (19:07 +0000)]
silence callable warning in hmac
Jesse Noller [Tue, 19 Aug 2008 19:06:19 +0000 (19:06 +0000)]
issue3352: clean up the multiprocessing API to remove many get_/set_ methods and convert them to properties. Update the docs and the examples included.
Benjamin Peterson [Tue, 19 Aug 2008 17:59:23 +0000 (17:59 +0000)]
get unparse to at least unparse its self
Thomas Heller [Tue, 19 Aug 2008 17:47:13 +0000 (17:47 +0000)]
Fix strange character in the docstring.
Benjamin Peterson [Tue, 19 Aug 2008 16:41:34 +0000 (16:41 +0000)]
Merged revisions 65853-65854 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r65853 | benjamin.peterson | 2008-08-19 11:09:09 -0500 (Tue, 19 Aug 2008) | 1 line
apply a patch for #3131. this solves the problem for the moment, but we should do some refactoring to get display logic out of RefactoringTool
........
r65854 | benjamin.peterson | 2008-08-19 11:37:38 -0500 (Tue, 19 Aug 2008) | 1 line
another quick fix to get lib2to3 to work
........
Georg Brandl [Mon, 18 Aug 2008 23:09:49 +0000 (23:09 +0000)]
Fix grammar.
Benjamin Peterson [Mon, 18 Aug 2008 22:29:19 +0000 (22:29 +0000)]
update the threading docs to account for recent changes
Benjamin Peterson [Mon, 18 Aug 2008 21:53:29 +0000 (21:53 +0000)]
add py3k warnings for old threading APIs
they will still live in 3.0 but it can't hurt
Amaury Forgeot d'Arc [Mon, 18 Aug 2008 19:23:47 +0000 (19:23 +0000)]
#2234 distutils failed with mingw binutils 2.18.50.
20080109 .
Be less strict when parsing these version numbers,
they don't necessarily follow the python numbering scheme.
Benjamin Peterson [Mon, 18 Aug 2008 18:39:57 +0000 (18:39 +0000)]
fix old API names in test_ssl
Benjamin Peterson [Mon, 18 Aug 2008 18:31:58 +0000 (18:31 +0000)]
patch up multiprocessing until it's API can be changed too
Benjamin Peterson [Mon, 18 Aug 2008 18:13:17 +0000 (18:13 +0000)]
bring back the old API
Benjamin Peterson [Mon, 18 Aug 2008 18:01:43 +0000 (18:01 +0000)]
change a few uses of the threading APIs
Benjamin Peterson [Mon, 18 Aug 2008 17:45:09 +0000 (17:45 +0000)]
backport threading property changes
Benjamin Peterson [Mon, 18 Aug 2008 16:40:03 +0000 (16:40 +0000)]
change threading.getIdent to a property
This is new in 2.6 so now need to worry about backwards compatibility :)
Eric Smith [Mon, 18 Aug 2008 14:27:38 +0000 (14:27 +0000)]
Backport of r63826.
Optimization of str.format() for cases with str, unicode, int, long,
and float arguments. This gives about 30% speed improvement for the
simplest (but most common) cases. This patch skips the __format__
dispatch, and also avoids creating an object to hold the format_spec.
Unfortunately there's a complication in 2.6 with int, long, and float
because they always expect str format_specs. So in the unicode
version of this optimization, just check for unicode objects. int,
float, long, and str can be added later, if needed.
Nick Coghlan [Mon, 18 Aug 2008 13:32:19 +0000 (13:32 +0000)]
Fix typo
Nick Coghlan [Mon, 18 Aug 2008 13:14:22 +0000 (13:14 +0000)]
Issue 2235: document PyObject_HashNotImplemented
Nick Coghlan [Mon, 18 Aug 2008 12:42:46 +0000 (12:42 +0000)]
Belated NEWS entry for r65642
Marc-André Lemburg [Mon, 18 Aug 2008 11:13:45 +0000 (11:13 +0000)]
Restore Python 2.3 compatibility and remove "with" usage.
Benjamin Peterson [Mon, 18 Aug 2008 02:12:23 +0000 (02:12 +0000)]
add a test for reduce's move
Benjamin Peterson [Mon, 18 Aug 2008 02:01:21 +0000 (02:01 +0000)]
follup to #3473: don't duplicate the reduce code
Benjamin Peterson [Mon, 18 Aug 2008 01:27:05 +0000 (01:27 +0000)]
correct version
Brett Cannon [Mon, 18 Aug 2008 00:46:22 +0000 (00:46 +0000)]
Update __all__ for cookielib, csv, os, and urllib2 for objects imported into
the module but exposed as part of the API.
Brett Cannon [Mon, 18 Aug 2008 00:41:11 +0000 (00:41 +0000)]
Remove an unneeded import of abc.ABCMeta from 'inspect'.
Brett Cannon [Mon, 18 Aug 2008 00:36:52 +0000 (00:36 +0000)]
Remove two unneeded imports in 'io'.
Brett Cannon [Sun, 17 Aug 2008 22:10:11 +0000 (22:10 +0000)]
Remove imports of 'warnings' that are no longer needed in dummy_thread,
filecmp, and shelve.
Amaury Forgeot d'Arc [Sun, 17 Aug 2008 21:05:18 +0000 (21:05 +0000)]
Fix a refleak in bytearray.split and bytearray.rsplit, detected by
regrtest.py -R:: test_bytes
Benjamin Peterson [Sun, 17 Aug 2008 20:33:45 +0000 (20:33 +0000)]
set svn:executable on a script
Antoine Pitrou [Sun, 17 Aug 2008 20:15:07 +0000 (20:15 +0000)]
#3580: fix a failure in test_os
Benjamin Peterson [Sun, 17 Aug 2008 17:13:26 +0000 (17:13 +0000)]
get the symtable module back in working order
- Fix broken functions
- Add (hopefully) extensive tests
- Modernize a little
Antoine Pitrou [Sun, 17 Aug 2008 17:01:49 +0000 (17:01 +0000)]
#3556: test_raiseMemError consumes an insane amount of memory
Antoine Pitrou [Sun, 17 Aug 2008 14:43:41 +0000 (14:43 +0000)]
backport r65723: strengthen test_os.test_closerange
Hirokazu Yamamoto [Sun, 17 Aug 2008 13:10:46 +0000 (13:10 +0000)]
Backport r65661, r65760: Issue #3575: Incremental decoder's decode
function now takes bytearray by using 's*' instead of 't#'.
Antoine Pitrou [Sun, 17 Aug 2008 13:06:29 +0000 (13:06 +0000)]
fix ZipFile.testzip() to work with very large embedded files
Hirokazu Yamamoto [Sun, 17 Aug 2008 09:46:56 +0000 (09:46 +0000)]
I forgot to update NEWS.
Hirokazu Yamamoto [Sun, 17 Aug 2008 09:19:52 +0000 (09:19 +0000)]
Issue #2222: Fixed reference leak when occured os.rename()
fails unicode conversion on 2nd parameter. (windows only)
Brett Cannon [Sun, 17 Aug 2008 04:16:04 +0000 (04:16 +0000)]
Update distutils so that it triggers no warnings when run under -3.
Facundo Batista [Sun, 17 Aug 2008 03:38:39 +0000 (03:38 +0000)]
Issue 2464. Supports a malformation in the URL received
in a redirect.
Benjamin Peterson [Sun, 17 Aug 2008 02:23:43 +0000 (02:23 +0000)]
uhh PySTEntry->ste_unoptimized has to be exposed too
Benjamin Peterson [Sun, 17 Aug 2008 01:27:30 +0000 (01:27 +0000)]
fix compile errors
Benjamin Peterson [Sun, 17 Aug 2008 01:17:15 +0000 (01:17 +0000)]
a few improvements
Benjamin Peterson [Sun, 17 Aug 2008 01:09:17 +0000 (01:09 +0000)]
expose PySTEntry.nested so the symtable module will work
Antoine Pitrou [Sun, 17 Aug 2008 00:36:03 +0000 (00:36 +0000)]
Make test_ossaudiodev work.
Benjamin Peterson [Sat, 16 Aug 2008 23:29:40 +0000 (23:29 +0000)]
PySTEntry's constructor is static; there's no point in a fancy API name
Georg Brandl [Sat, 16 Aug 2008 22:37:05 +0000 (22:37 +0000)]
Review symtable docs.
Benjamin Peterson [Sat, 16 Aug 2008 22:11:33 +0000 (22:11 +0000)]
include filename and line number in SyntaxError
Brett Cannon [Sat, 16 Aug 2008 22:00:27 +0000 (22:00 +0000)]
Silence DeprecationWarning raised by mimetools and rfc822 in cgi.
Brett Cannon [Sat, 16 Aug 2008 21:56:03 +0000 (21:56 +0000)]
Silence the DeprecationWarning raised in httplib when mimetools is imported.
Brett Cannon [Sat, 16 Aug 2008 21:47:07 +0000 (21:47 +0000)]
Silence the DeprecationWarning raised by importing mimetools in BaseHTTPServer.
This does have an unfortunate side-effect of silencing the warning for all
subsequent code that imports mimetools as well since the warning is only
executed upon the first import of mimetools.
Benjamin Peterson [Sat, 16 Aug 2008 21:04:16 +0000 (21:04 +0000)]
add some documentation for symtable
Benjamin Peterson [Sat, 16 Aug 2008 16:29:02 +0000 (16:29 +0000)]
#3424 rearrange the order of tests in imghdr to place more common types first
Facundo Batista [Sat, 16 Aug 2008 14:44:07 +0000 (14:44 +0000)]
Issue #2776: fixed small issue when handling an URL with double slash
after a 302 response in the case of not going through a proxy.
Benjamin Peterson [Sat, 16 Aug 2008 03:13:07 +0000 (03:13 +0000)]
note how os.utime should be used for emulating touch
Benjamin Peterson [Sat, 16 Aug 2008 03:02:41 +0000 (03:02 +0000)]
fix markup
Benjamin Peterson [Fri, 15 Aug 2008 23:51:24 +0000 (23:51 +0000)]
Merged revisions 65397 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r65397 | collin.winter | 2008-08-01 22:39:06 -0500 (Fri, 01 Aug 2008) | 5 lines
Patch #3480 by Nick Edds.
Dramatically simplifies the fix_imports pattern, resulting in a reduction of the test_all_fixers runtime from 122+ secs to 59 secs (a good predictor of 2to3 performance).
........
Gregory P. Smith [Fri, 15 Aug 2008 23:14:00 +0000 (23:14 +0000)]
document that waitpid raises OSError
Antoine Pitrou [Fri, 15 Aug 2008 21:03:21 +0000 (21:03 +0000)]
#2676: email/message.py [Message.get_content_type]: Trivial regex hangs on pathological input
Georg Brandl [Fri, 15 Aug 2008 18:35:09 +0000 (18:35 +0000)]
#3558: Attribute reference binds more tightly than subscription and call.
Antoine Pitrou [Thu, 14 Aug 2008 21:04:30 +0000 (21:04 +0000)]
Issue #3476: make BufferedReader and BufferedWriter thread-safe
Thomas Heller [Thu, 14 Aug 2008 20:19:18 +0000 (20:19 +0000)]
Disable the test until I have one that works.
Martin v. Löwis [Thu, 14 Aug 2008 20:12:06 +0000 (20:12 +0000)]
Fix memory leak: Always DECREF obj in PyBuffer_Release.
Thomas Heller [Thu, 14 Aug 2008 20:04:38 +0000 (20:04 +0000)]
Try to fix the test on 64-bit platforms.
Thomas Heller [Thu, 14 Aug 2008 19:10:48 +0000 (19:10 +0000)]
issue #3554: ctypes.string_at and ctypes.wstring_at must use the
pythonapi calling convention so that the GIL is held and error return
values are checked.
Facundo Batista [Thu, 14 Aug 2008 16:51:00 +0000 (16:51 +0000)]
Issue 1432. Fixes a bug caused because of the evolution
of the RFC that describes the behaviour. Note that we now
have the same behaviour than the current browsers.
Martin v. Löwis [Thu, 14 Aug 2008 15:56:07 +0000 (15:56 +0000)]
Properly INCREF reference in Py_buffer.