Florent Xicluna
0c8414e991
Typo
2010-09-03 20:23:40 +00:00
Florent Xicluna
edf5f0ddc0
Strengthen BytesWarning tests.
2010-09-03 20:00:37 +00:00
Florent Xicluna
764d612f5e
Remove redundant context manager.
2010-09-03 19:55:26 +00:00
Florent Xicluna
43e4ea1b17
Remove unused import, fix typo and rewrap docstrings.
2010-09-03 19:54:02 +00:00
Florent Xicluna
7dde792e62
Use a context manager for some file objects.
2010-09-03 19:52:03 +00:00
Antoine Pitrou
24e561ae04
Issue #3805 : clean up implementation of the _read method in _ssl.c.
2010-09-03 18:38:17 +00:00
Barry Warsaw
aa44b2b5ca
NEWS for PEP 3149, and clean up a few other entries.
2010-09-03 18:36:11 +00:00
Daniel Stutzbach
98c07bde45
Doc fix: unicode() is now str()
2010-09-03 18:31:07 +00:00
Barry Warsaw
35f3a2cbeb
PEP 3149 is accepted.
...
http://mail.python.org/pipermail/python-dev/2010-September/103408.html
2010-09-03 18:30:30 +00:00
Victor Stinner
e4ea994f20
Document PyUnicode_AsUnicodeCopy()
2010-09-03 16:23:29 +00:00
Victor Stinner
46408606d8
Rename PyUnicode_strdup() to PyUnicode_AsUnicodeCopy()
2010-09-03 16:18:00 +00:00
Antoine Pitrou
8b358e55db
Fix NEWS entry.
2010-09-03 16:12:14 +00:00
Daniel Stutzbach
6c765284a3
Fix Issue9753: socket.dup() does not always work right on Windows
2010-09-03 12:38:33 +00:00
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