Daniel Stutzbach
06a3c8ae82
fromfd exists on Windows now
2010-09-03 11:11:43 +00:00
Georg Brandl
2d444496b3
Reindent.
2010-09-03 10:52:55 +00:00
Raymond Hettinger
faf7b7f4ec
Issue 8420: Fix obscure set crashers.
2010-09-03 10:00:50 +00:00
Fred Drake
8844441ae6
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)
2010-09-03 04:22:36 +00:00
Raymond Hettinger
af1e140334
Readability nit.
2010-09-02 19:58:35 +00:00
Raymond Hettinger
7babc1b6a5
Better method name. Tighten inner-loop with bound methods.
2010-09-02 19:56:28 +00:00
Antoine Pitrou
d5c3f6c839
BytesIO.getvalue() and StringIO.getvalue() are METH_NOARGS.
2010-09-02 19:48:07 +00:00
Raymond Hettinger
331722d411
Make OrderedDict.popitem() a bit smarter and faster
2010-09-02 18:44:16 +00:00
Daniel Stutzbach
19e5a6fb4a
Credit where credit is due
2010-09-02 15:13:35 +00:00
Daniel Stutzbach
045b3ba184
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.
2010-09-02 15:06:06 +00:00
Daniel Stutzbach
928d4eeee8
Removed an extraneous semicolon
2010-09-02 15:06:03 +00:00
Raymond Hettinger
38d17e3df0
Speed-up cache updates
2010-09-02 09:44:28 +00:00
Raymond Hettinger
ccb90e3ccd
Keep contents order the same between versions.
2010-09-02 09:17:31 +00:00
Victor Stinner
71133ff368
Create PyUnicode_strdup() function
2010-09-01 23:43:53 +00:00
Victor Stinner
c4eb765fc1
Create Py_UNICODE_strcat() function
2010-09-01 23:43:50 +00:00
Raymond Hettinger
f37ca3c8be
Glossary cleanup
2010-09-01 22:11:53 +00:00
Raymond Hettinger
6f80b4c8b7
Cleanup heapq docs
2010-09-01 21:27:31 +00:00
Antoine Pitrou
c73b909a2b
Fix a compilation warning
2010-09-01 21:14:46 +00:00
Antoine Pitrou
e0793ba992
Issue #9737 : Fix a crash when trying to delete a slice or an item from
...
a memoryview object.
2010-09-01 21:14:16 +00:00
Georg Brandl
6cb5ad035b
#9677 : fix link.
2010-09-01 21:02:50 +00:00
Antoine Pitrou
67e8e5633e
Try to fix some buildbot failures on test_ssl
2010-09-01 20:55:41 +00:00
Raymond Hettinger
a09dc9e38a
'Using Python' now called 'Python Setup'
2010-09-01 20:31:59 +00:00
Antoine Pitrou
1ce3eb5c5b
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.
2010-09-01 20:29:34 +00:00
Victor Stinner
42cb462682
Remove unicode_default_encoding constant
...
Inline its value in PyUnicode_GetDefaultEncoding(). The comment is now outdated
(we will not change its value anymore).
2010-09-01 19:39:01 +00:00
Giampaolo Rodolà
e0f9863a61
Issue #9693 - msg 115273: attempt to fix ssl module failures on certain OpenSSL versions by calling ERR_clear_error() before raising IOError
2010-09-01 19:28:49 +00:00
Antoine Pitrou
fce7fd6426
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).
2010-09-01 18:54:56 +00:00
Antoine Pitrou
b0fa831d1e
Issue #7415 : PyUnicode_FromEncodedObject() now uses the new buffer API
...
properly. Patch by Stefan Behnel.
2010-09-01 15:10:12 +00:00
Antoine Pitrou
f68c2a701b
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.
2010-09-01 12:58:21 +00:00
Raymond Hettinger
53c58f8bcc
Forward port sorting howto
2010-09-01 09:15:42 +00:00
Raymond Hettinger
9707fd2ec0
More descriptive title.
2010-09-01 08:57:16 +00:00
Raymond Hettinger
6b3d72c243
Fix line wrapping
2010-09-01 08:56:10 +00:00
Raymond Hettinger
d292a17fc7
2-to-3 fixup for map() example in docs
2010-09-01 07:46:54 +00:00
Raymond Hettinger
20933e08b1
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.
2010-09-01 06:58:25 +00:00
Benjamin Peterson
49203dc9f2
reformat comment
2010-08-31 20:10:55 +00:00
Daniel Stutzbach
19d6a4fd49
Issue #808164 : Fixed socket.close to avoid references to globals, to
...
avoid issues when socket.close is called from a __del__ method.
2010-08-31 20:08:07 +00:00
Daniel Stutzbach
a606faa491
Issue 5553: Improved Py_LOCAL_INLINE to actually inline under compilers other than MSC
2010-08-31 19:51:07 +00:00
Daniel Stutzbach
061b14a4a1
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.
2010-08-31 15:45:04 +00:00
Benjamin Peterson
f5a3d699a7
add nonlocal to pydoc topics #9724
2010-08-31 14:31:01 +00:00
Vinay Sajip
dc5097ff07
Removed _unicode variable which is always False in Python 3.x.
2010-08-31 07:52:17 +00:00
Vinay Sajip
ec1cd1c475
logging: merged duplicated code in fileConfig and dictConfig paths.
2010-08-30 19:02:14 +00:00
Vinay Sajip
609364a989
Logging: removed some old commented out code.
2010-08-30 18:31:13 +00:00
Giampaolo Rodolà
8b7da623ce
Fix issue #9711 : raise ValueError is SSLConnection constructor is invoked with keyfile and not certfile.
2010-08-30 18:28:05 +00:00
Vinay Sajip
40d9a4e854
Improved logging.Formatter date/time formatting documentation.
2010-08-30 18:10:03 +00:00
Antoine Pitrou
33a299428d
Issue #9700 : define HAVE_BROKEN_POSIX_SEMAPHORES under AIX 6.x. Patch by
...
Sébastien Sablé.
2010-08-30 14:52:00 +00:00
Benjamin Peterson
33856de84d
handle names starting with non-ascii characters correctly #9712
2010-08-30 14:41:20 +00:00
Florent Xicluna
e01de8f2f3
remove pointless coding cookies
2010-08-30 14:05:50 +00:00
Benjamin Peterson
e992a7da01
remove pointless coding cookie
2010-08-30 13:57:28 +00:00
Benjamin Peterson
6b4fa776ac
rewrite and move open() docs only to functions.rst
2010-08-30 13:19:53 +00:00
Benjamin Peterson
4e4ffb1181
sync open() doc
2010-08-30 12:46:09 +00:00
Antoine Pitrou
b530e1438b
Issue #9715 : improve documentation of the io module
2010-08-30 12:41:00 +00:00