Nick Coghlan
273069cf7d
Close #4966 : revamp the sequence docs in order to better explain the state of modern Python
2012-08-20 17:14:07 +10:00
R David Murray
27bbcfb8ff
Merge #15543 : glossary entry for and 'universal newlines', and links to it.
...
Patch by Chris Jerdonek.
2012-08-15 11:11:27 -04:00
R David Murray
1b00f25bf9
#15543 : glossary entry for and 'universal newlines', and links to it.
...
Patch by Chris Jerdonek.
2012-08-15 10:43:58 -04:00
Sandro Tosi
5a5e8dd931
merge with 3.2
2012-08-12 12:35:31 +02:00
Sandro Tosi
82a509ca75
add missing quote in splitlines() example; thanks to Yevgen Yampolskiy from docs@
2012-08-12 12:35:14 +02:00
R David Murray
638de338e6
Merge #15554 : clarify splitlines/split differences.
...
Patch by Chris Jerdonek.
2012-08-06 16:08:40 -04:00
R David Murray
05c35a6a6b
#15554 : clarify splitlines/split differences.
...
Patch by Chris Jerdonek.
2012-08-06 16:08:09 -04:00
R David Murray
f4b26ef250
#14957 : fix doc typo.
2012-06-02 11:20:53 -04:00
R David Murray
554b3481fa
#14957 : fix doc typo.
2012-06-02 11:20:29 -04:00
R David Murray
5a0d439126
#14957 : clarify splitlines docs.
...
Initial patch by Michael Driscoll, I added the example.
2012-06-01 16:20:26 -04:00
R David Murray
ae1b94b6e4
#14957 : clarify splitlines docs.
...
Initial patch by Michael Driscoll, I added the example.
2012-06-01 16:19:36 -04:00
Benjamin Peterson
d5a1c44455
PEP 415: Implement suppression of __context__ display with an exception attribute
...
This replaces the original PEP 409 implementation. See #14133 .
2012-05-14 22:09:31 -07:00
Antoine Pitrou
9a2349030a
Issue #14417 : Mutating a dict during lookup now restarts the lookup instead of raising a RuntimeError (undoes issue #14205 ).
2012-05-13 20:48:01 +02:00
Sandro Tosi
708d88c334
merge with 3.2
2012-05-13 11:01:36 +02:00
Sandro Tosi
3918b1ebfb
Issue #14793 : fix grammar in bytes object paragraph; patch by Tshepang Lekhonkhobe
2012-05-13 11:01:20 +02:00
Ezio Melotti
fd7aaab184
#14763 : merge with 3.2.
2012-05-10 15:33:13 +03:00
Ezio Melotti
bf3165b971
#14763 : document default maxsplit value for str.split.
2012-05-10 15:30:42 +03:00
Sandro Tosi
89c4eef435
Issue #14691 : indent the traceback so the example is highlighted
2012-04-29 20:33:28 +02:00
Victor Stinner
0db176f8f6
Issue #14386 : Expose the dict_proxy internal type as types.MappingProxyType
2012-04-16 00:16:30 +02:00
Georg Brandl
226ed7ecbd
Fix indentation.
2012-03-24 08:12:41 +01:00
Georg Brandl
2ac82f8dc9
Fix indentation.
2012-03-22 22:20:21 +01:00
Victor Stinner
50dbb3f2cf
Issue #14205 : document the change of dict[key] behaviour if dict is modified
...
during the lookup
2012-03-08 02:50:17 +01:00
Gregory P. Smith
c45a8a153b
Issue #14123 : Explicitly mention that old style % string formatting has caveats but is not going away any time soon.
2012-02-26 01:54:46 -08:00
Gregory P. Smith
3bbdc8e822
Issue #14123 : Explicitly mention that old style % string formatting has caveats
...
but is not going away any time soon.
2012-02-26 01:54:07 -08:00
Nick Coghlan
ab7bf2143e
Close issue #6210 : Implement PEP 409
2012-02-26 17:49:52 +10:00
Ezio Melotti
cda6b6d60d
#14081 : The sep and maxsplit parameter to str.split, bytes.split, and bytearray.split may now be passed as keyword arguments.
2012-02-26 09:39:55 +02:00
Stefan Krah
9a2d99e28a
- Issue #10181 : New memoryview implementation fixes multiple ownership
...
and lifetime issues of dynamically allocated Py_buffer members (#9990 )
as well as crashes (#8305 , #7433 ). Many new features have been added
(See whatsnew/3.3), and the documentation has been updated extensively.
The ndarray test object from _testbuffer.c implements all aspects of
PEP-3118, so further development towards the complete implementation
of the PEP can proceed in a test-driven manner.
Thanks to Nick Coghlan, Antoine Pitrou and Pauli Virtanen for review
and many ideas.
- Issue #12834 : Fix incorrect results of memoryview.tobytes() for
non-contiguous arrays.
- Issue #5231 : Introduce memoryview.cast() method that allows changing
format and shape without making a copy of the underlying memory.
2012-02-25 12:24:21 +01:00
Sandro Tosi
1ee86a1515
merge with 3.2
2012-02-19 12:28:18 +01:00
Sandro Tosi
76dea27421
Indent 'File' in memoryview example, so it is correctly highlighted
2012-02-19 12:28:01 +01:00
Sandro Tosi
b5d271073f
merge with 3.2
2012-02-18 16:06:39 +01:00
Sandro Tosi
c33ae06cbf
fix error in memoryview example; thanks to kan lianlian from docs@
2012-02-18 16:05:34 +01:00
Benjamin Peterson
a5f6d0e030
merge 3.2
2012-01-25 16:31:56 -05:00
Benjamin Peterson
b4b0b354dd
kill extra word
2012-01-25 16:30:18 -05:00
Benjamin Peterson
e9fca253d0
say bitwise (because I have no idea what a bit-string is)
2012-01-25 16:29:03 -05:00
Georg Brandl
5b45a013bc
merge from 3.2
2012-01-23 20:19:46 +01:00
Georg Brandl
3b65fd7e97
#13816 : fix two minor style issues. Thanks to Justin Wehnes for the patch.
2012-01-23 20:19:33 +01:00
Benjamin Peterson
94303549c4
improve casefold/lower/upper docs
2012-01-18 23:09:32 -05:00
Benjamin Peterson
d5890c8db5
add str.casefold() ( closes #13752 )
2012-01-14 13:23:30 -05:00
Terry Jan Reedy
f4ec3c5a92
#13754 String returned if less than *or equal to* x 3
...
Close *13753 'seq' now 'iterable'
2012-01-11 03:29:42 -05:00
Benjamin Peterson
22ef4fa7e9
merge heads
2012-01-11 18:17:40 -05:00
Benjamin Peterson
b2bf01d824
use full unicode mappings for upper/lower/title case ( #12736 )
...
Also broaden the category of characters that count as lowercase/uppercase.
2012-01-11 18:17:06 -05:00
Terry Jan Reedy
610e8140de
Merge with 3.2
...
#13754 String returned if less than *or equal to* x 3
*13753 'seq' now 'iterable'
2012-01-11 03:32:43 -05:00
Ezio Melotti
c42512dfc6
#13494 : merge with 3.2.
2011-12-02 19:49:02 +02:00
Ezio Melotti
c1f26f6fc1
#13494 : s/cast/convert/. Also add a link.
2011-12-02 19:47:24 +02:00
Antoine Pitrou
86a36b500a
PEP 3155 / issue #13448 : Qualified name for classes and functions.
2011-11-25 18:56:07 +01:00
Antoine Pitrou
e333d00d3a
Clarify concatenation behaviour of immutable strings, and remove explicit
...
mention of the CPython optimization hack.
2011-11-25 16:34:23 +01:00
Antoine Pitrou
fd9ebd4a36
Clarify concatenation behaviour of immutable strings, and remove explicit
...
mention of the CPython optimization hack.
2011-11-25 16:33:53 +01:00
Antoine Pitrou
ce4a9da705
Issue #13411 : memoryview objects are now hashable when the underlying object is hashable.
2011-11-21 20:46:33 +01:00
Eli Bendersky
6e9002c8e0
Issue #13365 : correct an error in the documentation of str.expandtabs. Patch by John Feuerstein
2011-11-11 10:44:22 +02:00
Eli Bendersky
c2c896093b
Issue #13365 : correct an error in the documentation of str.expandtabs
2011-11-11 10:40:14 +02:00