]> granicus.if.org Git - python/log
python
14 years agoadd consistent support for the vars and default arguments on all
Fred Drake [Sat, 4 Sep 2010 04:35:34 +0000 (04:35 +0000)]
add consistent support for the vars and default arguments on all
configuration parser classes
(http://bugs.python.org/issue9421)

14 years agoWelcome to the UTF-8 world.
Florent Xicluna [Fri, 3 Sep 2010 23:47:32 +0000 (23:47 +0000)]
Welcome to the UTF-8 world.

14 years agoFix missing word.
Georg Brandl [Fri, 3 Sep 2010 22:49:27 +0000 (22:49 +0000)]
Fix missing word.

14 years agoAdd an entry in whatsnew about the PyCObject -> PyCapsule move.
Amaury Forgeot d'Arc [Fri, 3 Sep 2010 22:43:08 +0000 (22:43 +0000)]
Add an entry in whatsnew about the PyCObject -> PyCapsule move.

(It seems that I am the first SWIG user to try python 3.2...)

14 years ago#9760: clarify what context expression is.
Georg Brandl [Fri, 3 Sep 2010 22:40:02 +0000 (22:40 +0000)]
#9760: clarify what context expression is.

14 years ago#9767: doctest run over json docs.
Georg Brandl [Fri, 3 Sep 2010 22:36:22 +0000 (22:36 +0000)]
#9767: doctest run over json docs.

14 years agoMore inclusive title.
Georg Brandl [Fri, 3 Sep 2010 22:33:27 +0000 (22:33 +0000)]
More inclusive title.

14 years agoRevert unintended change from r84458.
Georg Brandl [Fri, 3 Sep 2010 22:29:08 +0000 (22:29 +0000)]
Revert unintended change from r84458.

14 years agoMake PEP section a bit less ugly and at least list implemented PEPs.
Georg Brandl [Fri, 3 Sep 2010 22:20:58 +0000 (22:20 +0000)]
Make PEP section a bit less ugly and at least list implemented PEPs.

14 years agoFix typos and use tabs consistently.
Georg Brandl [Fri, 3 Sep 2010 22:19:07 +0000 (22:19 +0000)]
Fix typos and use tabs consistently.

14 years agoUse tabs consistently.
Georg Brandl [Fri, 3 Sep 2010 22:14:52 +0000 (22:14 +0000)]
Use tabs consistently.

14 years agoAdd versionadded tag to PyUnicode_AsUnicodeCopy's doc
Victor Stinner [Fri, 3 Sep 2010 22:13:42 +0000 (22:13 +0000)]
Add versionadded tag to PyUnicode_AsUnicodeCopy's doc

14 years agoFix invalid bytes for UTF-8
Éric Araujo [Fri, 3 Sep 2010 22:03:10 +0000 (22:03 +0000)]
Fix invalid bytes for UTF-8

14 years agoTypo
Florent Xicluna [Fri, 3 Sep 2010 20:23:40 +0000 (20:23 +0000)]
Typo

14 years agoStrengthen BytesWarning tests.
Florent Xicluna [Fri, 3 Sep 2010 20:00:37 +0000 (20:00 +0000)]
Strengthen BytesWarning tests.

14 years agoRemove redundant context manager.
Florent Xicluna [Fri, 3 Sep 2010 19:55:26 +0000 (19:55 +0000)]
Remove redundant context manager.

14 years agoRemove unused import, fix typo and rewrap docstrings.
Florent Xicluna [Fri, 3 Sep 2010 19:54:02 +0000 (19:54 +0000)]
Remove unused import, fix typo and rewrap docstrings.

14 years agoUse a context manager for some file objects.
Florent Xicluna [Fri, 3 Sep 2010 19:52:03 +0000 (19:52 +0000)]
Use a context manager for some file objects.

14 years agoIssue #3805: clean up implementation of the _read method in _ssl.c.
Antoine Pitrou [Fri, 3 Sep 2010 18:38:17 +0000 (18:38 +0000)]
Issue #3805: clean up implementation of the _read method in _ssl.c.

14 years agoNEWS for PEP 3149, and clean up a few other entries.
Barry Warsaw [Fri, 3 Sep 2010 18:36:11 +0000 (18:36 +0000)]
NEWS for PEP 3149, and clean up a few other entries.

14 years agoDoc fix: unicode() is now str()
Daniel Stutzbach [Fri, 3 Sep 2010 18:31:07 +0000 (18:31 +0000)]
Doc fix: unicode() is now str()

14 years agoPEP 3149 is accepted.
Barry Warsaw [Fri, 3 Sep 2010 18:30:30 +0000 (18:30 +0000)]
PEP 3149 is accepted.

http://mail.python.org/pipermail/python-dev/2010-September/103408.html

14 years agoDocument PyUnicode_AsUnicodeCopy()
Victor Stinner [Fri, 3 Sep 2010 16:23:29 +0000 (16:23 +0000)]
Document PyUnicode_AsUnicodeCopy()

14 years agoRename PyUnicode_strdup() to PyUnicode_AsUnicodeCopy()
Victor Stinner [Fri, 3 Sep 2010 16:18:00 +0000 (16:18 +0000)]
Rename PyUnicode_strdup() to PyUnicode_AsUnicodeCopy()

14 years agoFix NEWS entry.
Antoine Pitrou [Fri, 3 Sep 2010 16:12:14 +0000 (16:12 +0000)]
Fix NEWS entry.

14 years agoFix Issue9753: socket.dup() does not always work right on Windows
Daniel Stutzbach [Fri, 3 Sep 2010 12:38:33 +0000 (12:38 +0000)]
Fix Issue9753: socket.dup() does not always work right on Windows

14 years agofromfd exists on Windows now
Daniel Stutzbach [Fri, 3 Sep 2010 11:11:43 +0000 (11:11 +0000)]
fromfd exists on Windows now

14 years agoReindent.
Georg Brandl [Fri, 3 Sep 2010 10:52:55 +0000 (10:52 +0000)]
Reindent.

14 years agoIssue 8420: Fix obscure set crashers.
Raymond Hettinger [Fri, 3 Sep 2010 10:00:50 +0000 (10:00 +0000)]
Issue 8420:  Fix obscure set crashers.

14 years agofix output from RawConfigParser.write and ConfigParser.write for None
Fred Drake [Fri, 3 Sep 2010 04:22:36 +0000 (04:22 +0000)]
fix output from RawConfigParser.write and ConfigParser.write for None
values (http://bugs.python.org/issue7005)
(merged r84443 from the release27-mmaint branch, with changes to reflect
changes in Python 3)

14 years agoReadability nit.
Raymond Hettinger [Thu, 2 Sep 2010 19:58:35 +0000 (19:58 +0000)]
Readability nit.

14 years agoBetter method name. Tighten inner-loop with bound methods.
Raymond Hettinger [Thu, 2 Sep 2010 19:56:28 +0000 (19:56 +0000)]
Better method name.  Tighten inner-loop with bound methods.

14 years agoBytesIO.getvalue() and StringIO.getvalue() are METH_NOARGS.
Antoine Pitrou [Thu, 2 Sep 2010 19:48:07 +0000 (19:48 +0000)]
BytesIO.getvalue() and StringIO.getvalue() are METH_NOARGS.

14 years agoMake OrderedDict.popitem() a bit smarter and faster
Raymond Hettinger [Thu, 2 Sep 2010 18:44:16 +0000 (18:44 +0000)]
Make OrderedDict.popitem() a bit smarter and faster

14 years agoCredit where credit is due
Daniel Stutzbach [Thu, 2 Sep 2010 15:13:35 +0000 (15:13 +0000)]
Credit where credit is due

14 years agoIssue #9212: Added the missing isdisjoint method to the dict_keys and
Daniel Stutzbach [Thu, 2 Sep 2010 15:06:06 +0000 (15:06 +0000)]
Issue #9212: Added the missing isdisjoint method to the dict_keys and
dict_items views.  The method is required by the collections.Set ABC,
which the views register as supporting.

14 years agoRemoved an extraneous semicolon
Daniel Stutzbach [Thu, 2 Sep 2010 15:06:03 +0000 (15:06 +0000)]
Removed an extraneous semicolon

14 years agoSpeed-up cache updates
Raymond Hettinger [Thu, 2 Sep 2010 09:44:28 +0000 (09:44 +0000)]
Speed-up cache updates

14 years agoKeep contents order the same between versions.
Raymond Hettinger [Thu, 2 Sep 2010 09:17:31 +0000 (09:17 +0000)]
Keep contents order the same between versions.

14 years agoCreate PyUnicode_strdup() function
Victor Stinner [Wed, 1 Sep 2010 23:43:53 +0000 (23:43 +0000)]
Create PyUnicode_strdup() function

14 years agoCreate Py_UNICODE_strcat() function
Victor Stinner [Wed, 1 Sep 2010 23:43:50 +0000 (23:43 +0000)]
Create Py_UNICODE_strcat() function

14 years agoGlossary cleanup
Raymond Hettinger [Wed, 1 Sep 2010 22:11:53 +0000 (22:11 +0000)]
Glossary cleanup

14 years agoCleanup heapq docs
Raymond Hettinger [Wed, 1 Sep 2010 21:27:31 +0000 (21:27 +0000)]
Cleanup heapq docs

14 years agoFix a compilation warning
Antoine Pitrou [Wed, 1 Sep 2010 21:14:46 +0000 (21:14 +0000)]
Fix a compilation warning

14 years agoIssue #9737: Fix a crash when trying to delete a slice or an item from
Antoine Pitrou [Wed, 1 Sep 2010 21:14:16 +0000 (21:14 +0000)]
Issue #9737: Fix a crash when trying to delete a slice or an item from
a memoryview object.

14 years ago#9677: fix link.
Georg Brandl [Wed, 1 Sep 2010 21:02:50 +0000 (21:02 +0000)]
#9677: fix link.

14 years agoTry to fix some buildbot failures on test_ssl
Antoine Pitrou [Wed, 1 Sep 2010 20:55:41 +0000 (20:55 +0000)]
Try to fix some buildbot failures on test_ssl

14 years ago'Using Python' now called 'Python Setup'
Raymond Hettinger [Wed, 1 Sep 2010 20:31:59 +0000 (20:31 +0000)]
'Using Python' now called 'Python Setup'

14 years agoIssue #8990: array.fromstring() and array.tostring() get renamed to
Antoine Pitrou [Wed, 1 Sep 2010 20:29:34 +0000 (20:29 +0000)]
Issue #8990: array.fromstring() and array.tostring() get renamed to
frombytes() and tobytes(), respectively, to avoid confusion.  Furthermore,
array.frombytes(), array.extend() as well as the array.array()
constructor now accept bytearray objects.  Patch by Thomas Jollans.

14 years agoRemove unicode_default_encoding constant
Victor Stinner [Wed, 1 Sep 2010 19:39:01 +0000 (19:39 +0000)]
Remove unicode_default_encoding constant

Inline its value in PyUnicode_GetDefaultEncoding(). The comment is now outdated
(we will not change its value anymore).

14 years agoIssue #9693 - msg 115273: attempt to fix ssl module failures on certain OpenSSL versi...
Giampaolo Rodolà [Wed, 1 Sep 2010 19:28:49 +0000 (19:28 +0000)]
Issue #9693 - msg 115273: attempt to fix ssl module failures on certain OpenSSL versions by calling ERR_clear_error() before raising IOError

14 years agoIssue #9549: sys.setdefaultencoding() and PyUnicode_SetDefaultEncoding()
Antoine Pitrou [Wed, 1 Sep 2010 18:54:56 +0000 (18:54 +0000)]
Issue #9549: sys.setdefaultencoding() and PyUnicode_SetDefaultEncoding()
are now removed, since their effect was inexistent in 3.x (the default
encoding is hardcoded to utf-8 and cannot be changed).

14 years agoIssue #7415: PyUnicode_FromEncodedObject() now uses the new buffer API
Antoine Pitrou [Wed, 1 Sep 2010 15:10:12 +0000 (15:10 +0000)]
Issue #7415: PyUnicode_FromEncodedObject() now uses the new buffer API
properly.  Patch by Stefan Behnel.

14 years agoIssue #3101: Helper functions _add_one_to_C() and _add_one_to_F() become
Antoine Pitrou [Wed, 1 Sep 2010 12:58:21 +0000 (12:58 +0000)]
Issue #3101: Helper functions _add_one_to_C() and _add_one_to_F() become
_Py_add_one_to_C() and _Py_add_one_to_F(), respectively.

14 years agoForward port sorting howto
Raymond Hettinger [Wed, 1 Sep 2010 09:15:42 +0000 (09:15 +0000)]
Forward port sorting howto

14 years agoMore descriptive title.
Raymond Hettinger [Wed, 1 Sep 2010 08:57:16 +0000 (08:57 +0000)]
More descriptive title.

14 years agoFix line wrapping
Raymond Hettinger [Wed, 1 Sep 2010 08:56:10 +0000 (08:56 +0000)]
Fix line wrapping

14 years ago2-to-3 fixup for map() example in docs
Raymond Hettinger [Wed, 1 Sep 2010 07:46:54 +0000 (07:46 +0000)]
2-to-3 fixup for map() example in docs

14 years agoClean-up bisect docs.
Raymond Hettinger [Wed, 1 Sep 2010 06:58:25 +0000 (06:58 +0000)]
Clean-up bisect docs.
* Document the post conditions for bisect_left() and bisect_right().
* Fix the grades example to use more obvious breakpoints
  and to use a list comprehension instead of map() which returns
  an iterator in Py3.x.
* Improve and expand the examples of searching sorted lists.
* Issue 4356 -- move up reference to the SortedCollection recipe.

14 years agoreformat comment
Benjamin Peterson [Tue, 31 Aug 2010 20:10:55 +0000 (20:10 +0000)]
reformat comment

14 years agoIssue #808164: Fixed socket.close to avoid references to globals, to
Daniel Stutzbach [Tue, 31 Aug 2010 20:08:07 +0000 (20:08 +0000)]
Issue #808164: Fixed socket.close to avoid references to globals, to
avoid issues when socket.close is called from a __del__ method.

14 years agoIssue 5553: Improved Py_LOCAL_INLINE to actually inline under compilers other than MSC
Daniel Stutzbach [Tue, 31 Aug 2010 19:51:07 +0000 (19:51 +0000)]
Issue 5553: Improved Py_LOCAL_INLINE to actually inline under compilers other than MSC

14 years agoReverted r84315 and r84316, with Benjamin's blessing. The tests were
Daniel Stutzbach [Tue, 31 Aug 2010 15:45:04 +0000 (15:45 +0000)]
Reverted r84315 and r84316, with Benjamin's blessing.  The tests were
fine.  They were failing due to a problem exposed in r84307 and fixed
in r84317.   See Issue 8781 for details.

14 years agoadd nonlocal to pydoc topics #9724
Benjamin Peterson [Tue, 31 Aug 2010 14:31:01 +0000 (14:31 +0000)]
add nonlocal to pydoc topics #9724

14 years agoRemoved _unicode variable which is always False in Python 3.x.
Vinay Sajip [Tue, 31 Aug 2010 07:52:17 +0000 (07:52 +0000)]
Removed _unicode variable which is always False in Python 3.x.

14 years agologging: merged duplicated code in fileConfig and dictConfig paths.
Vinay Sajip [Mon, 30 Aug 2010 19:02:14 +0000 (19:02 +0000)]
logging: merged duplicated code in fileConfig and dictConfig paths.

14 years agoLogging: removed some old commented out code.
Vinay Sajip [Mon, 30 Aug 2010 18:31:13 +0000 (18:31 +0000)]
Logging: removed some old commented out code.

14 years agoFix issue #9711: raise ValueError is SSLConnection constructor is invoked with keyfil...
Giampaolo Rodolà [Mon, 30 Aug 2010 18:28:05 +0000 (18:28 +0000)]
Fix issue #9711: raise ValueError is SSLConnection constructor is invoked with keyfile and not certfile.

14 years agoImproved logging.Formatter date/time formatting documentation.
Vinay Sajip [Mon, 30 Aug 2010 18:10:03 +0000 (18:10 +0000)]
Improved logging.Formatter date/time formatting documentation.

14 years agoIssue #9700: define HAVE_BROKEN_POSIX_SEMAPHORES under AIX 6.x. Patch by
Antoine Pitrou [Mon, 30 Aug 2010 14:52:00 +0000 (14:52 +0000)]
Issue #9700: define HAVE_BROKEN_POSIX_SEMAPHORES under AIX 6.x.  Patch by
Sébastien Sablé.

14 years agohandle names starting with non-ascii characters correctly #9712
Benjamin Peterson [Mon, 30 Aug 2010 14:41:20 +0000 (14:41 +0000)]
handle names starting with non-ascii characters correctly #9712

14 years agoremove pointless coding cookies
Florent Xicluna [Mon, 30 Aug 2010 14:05:50 +0000 (14:05 +0000)]
remove pointless coding cookies

14 years agoremove pointless coding cookie
Benjamin Peterson [Mon, 30 Aug 2010 13:57:28 +0000 (13:57 +0000)]
remove pointless coding cookie

14 years agorewrite and move open() docs only to functions.rst
Benjamin Peterson [Mon, 30 Aug 2010 13:19:53 +0000 (13:19 +0000)]
rewrite and move open() docs only to functions.rst

14 years agosync open() doc
Benjamin Peterson [Mon, 30 Aug 2010 12:46:09 +0000 (12:46 +0000)]
sync open() doc

14 years agoIssue #9715: improve documentation of the io module
Antoine Pitrou [Mon, 30 Aug 2010 12:41:00 +0000 (12:41 +0000)]
Issue #9715: improve documentation of the io module

14 years agodedent some lines in test_ssl so that they are actually executed
Giampaolo Rodolà [Sun, 29 Aug 2010 22:50:39 +0000 (22:50 +0000)]
dedent some lines in test_ssl so that they are actually executed

14 years agoin ssl tests rely on IOError.errno rather thanf IOError.strerror for better compatibi...
Giampaolo Rodolà [Sun, 29 Aug 2010 20:56:56 +0000 (20:56 +0000)]
in ssl tests rely on IOError.errno rather thanf IOError.strerror for better compatibility across platforms.

14 years agoupdate Misc/NEWS to include issue #9706 changes
Giampaolo Rodolà [Sun, 29 Aug 2010 19:31:49 +0000 (19:31 +0000)]
update Misc/NEWS to include issue #9706 changes

14 years agoFix issue issue9706: provides a better error handling for various SSL operations
Giampaolo Rodolà [Sun, 29 Aug 2010 19:25:49 +0000 (19:25 +0000)]
Fix issue issue9706: provides a better error handling for various SSL operations

14 years agoRaise ValuError if non-zero flag argument is provided for sendall() method for confor...
Giampaolo Rodolà [Sun, 29 Aug 2010 12:08:09 +0000 (12:08 +0000)]
Raise ValuError if non-zero flag argument is provided for sendall() method for conformity with send(), recv() and recv_into()

14 years agoIssue #4835: make PyLong_FromSocket_t() and PyLong_AsSocket_t() private
Antoine Pitrou [Sat, 28 Aug 2010 20:42:55 +0000 (20:42 +0000)]
Issue #4835: make PyLong_FromSocket_t() and PyLong_AsSocket_t() private
to the socket module, and fix the width of socket descriptors to be
correctly detected under 64-bit Windows.

14 years agoIssue #1868: Eliminate subtle timing issues in thread-local objects by
Antoine Pitrou [Sat, 28 Aug 2010 18:17:03 +0000 (18:17 +0000)]
Issue #1868: Eliminate subtle timing issues in thread-local objects by
getting rid of the cached copy of thread-local attribute dictionary.

14 years agoIssue #1512791: In setframerate method of Wave_write, round non-integral
Mark Dickinson [Sat, 28 Aug 2010 17:22:16 +0000 (17:22 +0000)]
Issue #1512791:  In setframerate method of Wave_write, round non-integral
inputs to the nearest integer.  Thanks Neil Tallim for the patch.

14 years agoStop packaging versioncheck.
Martin v. Löwis [Sat, 28 Aug 2010 13:40:10 +0000 (13:40 +0000)]
Stop packaging versioncheck.

14 years agoReplace cabarc with FCICreate.
Martin v. Löwis [Sat, 28 Aug 2010 13:39:09 +0000 (13:39 +0000)]
Replace cabarc with FCICreate.

14 years agoFix various build problems.
Martin v. Löwis [Sat, 28 Aug 2010 13:06:43 +0000 (13:06 +0000)]
Fix various build problems.

14 years agoAdd file needed to make distclean.
Martin v. Löwis [Sat, 28 Aug 2010 07:42:21 +0000 (07:42 +0000)]
Add file needed to make distclean.

14 years agoIssue #9704: Add zlib files necessary to run configure
Martin v. Löwis [Sat, 28 Aug 2010 07:37:05 +0000 (07:37 +0000)]
Issue #9704: Add zlib files necessary to run configure
and make.

14 years agoOSError is the exception raised when one tries to create a directory that
Brett Cannon [Thu, 26 Aug 2010 21:07:13 +0000 (21:07 +0000)]
OSError is the exception raised when one tries to create a directory that
already exists, not IOError.

Part of the continuing saga of issue #9572.

14 years ago#9681: typo.
Georg Brandl [Thu, 26 Aug 2010 14:30:56 +0000 (14:30 +0000)]
#9681: typo.

14 years ago#9689: add links from overview to in-depth class API descriptions.
Georg Brandl [Thu, 26 Aug 2010 14:30:15 +0000 (14:30 +0000)]
#9689: add links from overview to in-depth class API descriptions.

14 years agoFix Issue8797 - Reset the basic auth retry count when response code is not 401.
Senthil Kumaran [Thu, 26 Aug 2010 06:16:22 +0000 (06:16 +0000)]
Fix Issue8797 - Reset the basic auth retry count when response code is not 401.

14 years agobasicsize and itemsize are Py_ssize_t #9688
Benjamin Peterson [Wed, 25 Aug 2010 23:13:17 +0000 (23:13 +0000)]
basicsize and itemsize are Py_ssize_t #9688

14 years agoDisable deletion of openssl again.
Martin v. Löwis [Wed, 25 Aug 2010 22:15:18 +0000 (22:15 +0000)]
Disable deletion of openssl again.

14 years agoIssue 8781: Define SIZEOF_WCHAR_T on Windows
Daniel Stutzbach [Wed, 25 Aug 2010 19:18:59 +0000 (19:18 +0000)]
Issue 8781: Define SIZEOF_WCHAR_T on Windows

14 years agoapparently this test should be gated, too
Benjamin Peterson [Wed, 25 Aug 2010 17:57:04 +0000 (17:57 +0000)]
apparently this test should be gated, too

14 years agothis test is only valid when sizeof(wchar) == Py_UNICODE_SIZE
Benjamin Peterson [Wed, 25 Aug 2010 17:02:22 +0000 (17:02 +0000)]
this test is only valid when sizeof(wchar) == Py_UNICODE_SIZE

14 years agoFix test_sys: set LC_ALL instead of LANG
Victor Stinner [Wed, 25 Aug 2010 08:33:34 +0000 (08:33 +0000)]
Fix test_sys: set LC_ALL instead of LANG

LC_ALL is read before LANG to choose the locale encoding (LC_ALL, LANG and then
LC_CTYPE: use the first non empty variable).

14 years agoIssue #1027206: getnameinfo is now restricted to numeric addresses as input.
Martin v. Löwis [Wed, 25 Aug 2010 07:38:15 +0000 (07:38 +0000)]
Issue #1027206: getnameinfo is now restricted to numeric addresses as input.