Ethan Furman
b004943e9b
(3.4) Issue22780: reword NotImplemented docs to emphasise should
2014-11-26 21:15:35 -08:00
Terry Jan Reedy
e6b2b78a7d
Merge 3.4
2014-12-10 18:39:45 -05:00
R David Murray
892dbd18e1
Merge: #22918 : Drop obsolete mention of 'keys' in datamodel __iter__ docs.
2014-12-10 09:51:27 -05:00
Ethan Furman
9b55089999
Issue22780: reword NotImplemented docs to emphasise should
2014-11-26 21:17:53 -08:00
Georg Brandl
e21a531ef1
merge with 3.4
2014-10-31 10:39:29 +01:00
Georg Brandl
a4c8c47961
#22613 : remaining corrections in extending/reference docs (thanks Jacques Ducasse)
2014-10-31 10:38:49 +01:00
Georg Brandl
cadc3fdcb5
Merge with 3.4
2014-10-29 08:37:29 +01:00
Georg Brandl
e73778c1ac
Use https:// URLs when referring to python.org hosts.
2014-10-29 08:36:35 +01:00
Ethan Furman
58b2ddf392
Issue7186: document that __doc__ is not inherited by subclasses
2014-10-17 22:25:47 -07:00
Ethan Furman
f87f515057
Issue7186: document that __doc__ is not inherited by subclasses
2014-10-17 22:25:22 -07:00
Terry Jan Reedy
cd09571894
Merge with 3.4
2014-09-30 19:08:02 -04:00
Terry Jan Reedy
b6271f2d2b
Issue 22465: grammar, number agreement.
2014-09-30 19:07:49 -04:00
Nick Coghlan
e2197a4805
Merge issue #21667 from 3.4
2014-06-07 23:22:06 +10:00
Nick Coghlan
1462786f00
Issue #21667 : Clarify string data model description
2014-06-07 23:21:14 +10:00
R David Murray
cc568b1222
Merge #21662 : fix typo, improve sentence flow
2014-06-05 15:32:34 -04:00
R David Murray
2c0781853a
#21662 : fix typo, improve sentence flow
...
Patch by Steve Dougherty.
2014-06-05 15:31:56 -04:00
Raymond Hettinger
a73a34d176
merge
2014-05-26 22:21:11 -07:00
Raymond Hettinger
aa7886dd3f
Issue 21439: Minor issues in the reference manual.
...
(Contributed by Feliks Kluzniak.)
2014-05-26 22:20:37 -07:00
Benjamin Peterson
384a3ea5c5
merge 3.4
2014-05-11 11:19:17 -07:00
Benjamin Peterson
5c8ce188ee
remove confusing delete indexing ( closes #21466 )
2014-05-11 11:18:51 -07:00
Benjamin Peterson
d51374ed78
PEP 465: a dedicated infix operator for matrix multiplication ( closes #21176 )
2014-04-09 23:55:56 -04:00
Yury Selivanov
490a72e022
docs: Better wording for __objclass__ docs. Issue #19281
2014-04-08 14:01:12 -04:00
Yury Selivanov
b9aa8cb0c7
docs: Document __objclass__. Closes #19281 .
...
Initial patch by Nick Coghlan
2014-04-08 12:04:04 -04:00
Yury Selivanov
af8a4dfb04
docs: Better wording for __objclass__ docs. Issue #19281
2014-04-08 14:00:35 -04:00
Yury Selivanov
d3f918ca44
docs: Document __objclass__. Closes #19281 .
...
Initial patch by Nick Coghlan
2014-04-08 12:03:07 -04:00
Larry Hastings
3732ed2414
Merge in all documentation changes since branching 3.4.0rc1.
2014-03-15 21:13:56 -07:00
R David Murray
6ae5eef542
Merge #19953 : Clarify the wording of the augmented assignment discussion.
2014-03-09 18:51:35 -04:00
R David Murray
14d7b718ba
#19953 : Clarify the wording of the augmented assignment discussion.
...
Patch by Priya Pappachan, based on suggestions from Terry Reedy
and myself.
2014-03-09 18:51:16 -04:00
R David Murray
af7d2c4917
whatsnew: LOAD_CLASSDEREF, -X showrefcount
2014-02-12 13:00:36 -05:00
R David Murray
d630e79cc7
whatsnew: object.__format__ raises TypeError on non-empty string.
...
See issues #7994 and #9856 . I also modified with wording of the format doc
entry to better match what really happens, and added a versionchanged to the
datamodel object.__format__ section.
2014-02-11 18:34:22 -05:00
Ethan Furman
df3ed242c0
Issue19995: %o, %x, %X now only accept ints
2014-01-05 06:50:30 -08:00
Benjamin Peterson
002033ed63
correct word for __annotations__ doc ( closes #20110 )
...
Patch from Claudiu Popa.
2014-01-02 16:47:50 -06:00
Benjamin Peterson
8ec15f7a92
merge 3.3 ( #20110 )
2014-01-02 16:48:24 -06:00
Zachary Ware
1cb4f607d1
Merge with 3.3
2013-12-31 12:10:24 -06:00
Zachary Ware
340a692283
str subclasses may have non-empty __slots__, bytes subclasses can't.
2013-12-31 12:09:26 -06:00
Serhiy Storchaka
0e90e99188
Issue #19795 : Improved markup of True/False constants.
2013-11-29 12:19:53 +02:00
Serhiy Storchaka
fbc1c26803
Issue #19795 : Improved markup of True/False constants.
2013-11-29 12:17:13 +02:00
Serhiy Storchaka
0d85b5c68d
Issue #19190 : Improve cross-references in builtin types and functions documentation.
2013-10-09 14:03:24 +03:00
Serhiy Storchaka
0d196edc37
Issue #19190 : Improve cross-references in builtin types and functions documentation.
2013-10-09 14:02:31 +03:00
Antoine Pitrou
58720d6145
Issue #17934 : Add a clear() method to frame objects, to help clean up expensive details (local variables) and break reference cycles.
2013-08-05 23:26:40 +02:00
Antoine Pitrou
796564c27b
Issue #18112 : PEP 442 implementation (safe object finalization).
2013-07-30 19:59:21 +02:00
Barry Warsaw
4958f714bd
- Issue #18440 : Clarify that `hash()` can truncate the value returned from an
...
object's custom `__hash__()` method.
2013-07-15 15:21:41 -04:00
Barry Warsaw
224a599c0c
- Issue #18440 : Clarify that `hash()` can truncate the value returned from an
...
object's custom `__hash__()` method.
2013-07-15 14:47:29 -04:00
Georg Brandl
1bab7134a8
Merge with 3.3.
2013-03-28 13:28:55 +01:00
Georg Brandl
44ea77bd81
Closes #4159 : add LaTeX tabular column specifications to tables that otherwise are cut off or have overlapping text.
2013-03-28 13:28:44 +01:00
Chris Jerdonek
16459e8b16
Merge from 3.3: Add a str class entry to the string section (issue #16209 ).
...
This commit also moves the documentation for the str built-in function to
the new class entry. Links to :class:`str` now go to the class entry with
the string methods immediately afterwards.
2012-11-28 01:45:15 -08:00
Chris Jerdonek
bb4e941c6d
Add a str class entry to the "Text Sequence Type" section (issue #16209 ).
...
This commit also moves the documentation for the str built-in function to
the new class entry. Links to :class:`str` now go to the class entry with
the string methods immediately afterwards.
2012-11-28 01:38:40 -08:00
Chris Jerdonek
d675a2c48a
Merge from 3.3: Improve str() and object.__str__() docs (issue #13538 ).
2012-11-20 17:53:17 -08:00
Chris Jerdonek
5fae0e5854
Improve str() and object.__str__() documentation (issue #13538 ).
2012-11-20 17:45:51 -08:00
Benjamin Peterson
143d034ecd
merge 3.2
2012-10-12 12:04:32 -04:00
Ezio Melotti
5c3283e43a
Merge __next__ method link fixes with 3.3.
2012-10-12 13:46:37 +03:00
Ezio Melotti
1dd7c30419
Merge __next__ method link fixes with 3.2.
2012-10-12 13:45:38 +03:00
Ezio Melotti
7fa822275b
Fix links to the __next__ method.
2012-10-12 13:42:08 +03:00
Chris Jerdonek
23354f505e
Merge from 3.3: Fix link to str.format() in docs.
2012-10-11 18:49:52 -07:00
Chris Jerdonek
8958cd0e8d
Merge from 3.2: Fix link to str.format() in docs.
2012-10-11 18:49:02 -07:00
Chris Jerdonek
af94724e00
Fix link to str.format() in docs.
2012-10-11 18:47:54 -07:00
Ezio Melotti
e12dc28c38
Fix markup.
2012-10-07 12:09:36 +03:00
Armin Ronacher
74b38b190f
Issue #16148 : Small improvements and cleanup. Added version information
...
to docs.
2012-10-07 10:29:32 +02:00
Andrew Svetlov
ddd74b10e5
Merge: Close open bracket, thanks to Josh Helzer from docs@
2012-10-02 18:42:22 +03:00
Andrew Svetlov
5b602757bf
Merge: Close open bracket, thanks to Josh Helzer from docs@
2012-10-02 18:40:00 +03:00
Andrew Svetlov
f532035551
Close open bracket, thanks to Josh Helzer from docs@
2012-10-02 18:39:25 +03:00
R David Murray
a96be78ed1
Merge #14617 : clarify discussion of interrelationship of __eq__ and __hash__.
2012-09-11 13:02:13 -04:00
R David Murray
d8bbde35fe
#14617 : clarify discussion of interrelationship of __eq__ and __hash__.
2012-09-11 13:01:43 -04:00
Antoine Pitrou
c86e8d9c17
Improve wording for __hash__
2012-08-01 14:53:22 +02:00
Barry Warsaw
dadebab42c
Finally, a coherent set of terminology for all the lil' beasties involved.
2012-07-31 16:03:09 -04:00
Barry Warsaw
d7d2194ea1
Integration of importdocs from the features/pep-420 repo.
2012-07-29 16:36:17 -04:00
Nick Coghlan
305acf2fff
Remove an incorrect implementation detail
2012-05-20 21:22:27 +10:00
Nick Coghlan
b267475ccf
Clarify a paragraph in the new metaclass docs
2012-05-20 19:36:40 +10:00
Nick Coghlan
337b2bfbc4
Describe the default hash correctly, and mark a couple of CPython implementation details
2012-05-20 18:30:49 +10:00
Nick Coghlan
78770f0b78
Fix typo in new metaclass docs
2012-05-20 18:15:11 +10:00
Nick Coghlan
7fc570a51e
Close #14588 : added a PEP 3115 compliant dynamic type creation mechanism
2012-05-20 02:34:13 +10:00
Benjamin Peterson
b43fde98b4
remove unapplicable statement
2012-02-21 18:03:26 -05:00
Benjamin Peterson
c9f54cf512
enable hash randomization by default
2012-02-21 16:08:05 -05:00
Georg Brandl
2fb477c0f0
Merge 3.2: Issue #13703 plus some related test suite fixes.
2012-02-21 00:33:36 +01:00
Georg Brandl
09a7c72cad
Merge from 3.1: Issue #13703 : add a way to randomize the hash values of basic types (str, bytes, datetime)
...
in order to make algorithmic complexity attacks on (e.g.) web apps much more complicated.
The environment variable PYTHONHASHSEED and the new command line flag -R control this
behavior.
2012-02-20 21:31:46 +01:00
Georg Brandl
2daf6ae249
Issue #13703 : add a way to randomize the hash values of basic types (str, bytes, datetime)
...
in order to make algorithmic complexity attacks on (e.g.) web apps much more complicated.
The environment variable PYTHONHASHSEED and the new command line flag -R control this
behavior.
2012-02-20 19:54:16 +01:00
Antoine Pitrou
86a36b500a
PEP 3155 / issue #13448 : Qualified name for classes and functions.
2011-11-25 18:56:07 +01:00
Ezio Melotti
f7f0a66a8f
Fix typos.
2011-10-25 17:22:22 +03:00
Ezio Melotti
f4d76e6ca7
#13251 : update string description in datamodel.rst.
2011-10-25 09:23:42 +03:00
Benjamin Peterson
3ed559a3c7
merge 3.2 ( #13259 )
2011-10-25 00:04:10 -04:00
Benjamin Peterson
1fafc1a11f
document __bytes__ special method ( closes #13259 )
2011-10-25 00:03:51 -04:00
Benjamin Peterson
3bbb722654
allow __dir__ to return any sequence
2011-06-11 16:12:08 -05:00
Raymond Hettinger
2052978e9a
Issue #10771 : Clarify that descriptors get used in an *owner* class or one of its parents.
2011-03-22 16:27:31 -07:00
Raymond Hettinger
3b654be1a4
Issue #10771 : Clarify that descriptors get used in an *owner* class or one of its parents.
2011-03-22 16:27:02 -07:00
Raymond Hettinger
f047164f64
Issue 10988: fix description of super's descriptor call.
2011-03-22 15:33:02 -07:00
Raymond Hettinger
b199b2262c
Issue 10988: fix description of super's descriptor call.
2011-03-22 15:28:45 -07:00
Gregory P. Smith
f2b5673f73
Explicitly mention that people should not depend on immediate
...
finalization of objects.
HG Enter commit message. Lines beginning with 'HG:' are removed.
2011-03-10 11:32:29 -08:00
Gregory P. Smith
c542547211
Reword the finalization note.
2011-03-10 11:28:50 -08:00
Gregory P. Smith
c60137b272
Explicitly mention that people should not depend on immediate
...
finalization of objects in the language reference.
2011-03-10 11:25:44 -08:00
Éric Araujo
75cb8f5104
Merged revisions 87486 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87486 | eric.araujo | 2010-12-26 03:18:49 +0100 (dim., 26 déc. 2010) | 2 lines
Fix typo spotted by Rodrigo Bernardo Pimentel (#9891 )
........
2010-12-26 02:21:30 +00:00
Éric Araujo
c9562f3cbe
Fix typo spotted by Rodrigo Bernardo Pimentel ( #9891 )
2010-12-26 02:18:49 +00:00
Éric Araujo
da825ab2dd
Merged revisions 86670 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r86670 | eric.araujo | 2010-11-22 04:09:19 +0100 (lun., 22 nov. 2010) | 5 lines
Remove unnecessary `object` base class in docs (#10366 ).
Also add a note about inheritance from `object` being default.
........
2010-11-22 03:18:24 +00:00
Éric Araujo
28053fb174
Remove unnecessary `object` base class in docs ( #10366 ).
...
Also add a note about inheritance from `object` being default.
2010-11-22 03:09:19 +00:00
Fred Drake
11c49a5213
use appropriate markup
2010-11-13 04:24:26 +00:00
Benjamin Peterson
582162e42b
Merged revisions 85392 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r85392 | benjamin.peterson | 2010-10-12 17:57:59 -0500 (Tue, 12 Oct 2010) | 1 line
prefer clearing global objects to obscure module.__dict__ bugs #10068
........
2010-10-12 23:06:22 +00:00
Benjamin Peterson
5c4bfc4af0
prefer clearing global objects to obscure module.__dict__ bugs #10068
2010-10-12 22:57:59 +00:00
Senthil Kumaran
d8d1cea561
Merged revisions 85156 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r85156 | senthil.kumaran | 2010-10-02 08:46:04 +0530 (Sat, 02 Oct 2010) | 3 lines
Fix - issue10010 .. index:: position in the docs.
........
2010-10-02 03:25:12 +00:00
Senthil Kumaran
7cafd2644a
Fix - issue10010 .. index:: position in the docs.
2010-10-02 03:16:04 +00:00
Antoine Pitrou
25d535ea6a
Merged revisions 84827-84829 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r84827 | antoine.pitrou | 2010-09-15 11:58:26 +0200 (mer., 15 sept. 2010) | 3 lines
Add a glossary entry for file objects.
........
r84828 | antoine.pitrou | 2010-09-15 12:08:31 +0200 (mer., 15 sept. 2010) | 3 lines
Update file-related information in the FAQ.
........
r84829 | antoine.pitrou | 2010-09-15 13:11:28 +0200 (mer., 15 sept. 2010) | 3 lines
Add cross-references to the glossary entry for file objects.
........
2010-09-15 11:25:11 +00:00
Antoine Pitrou
0b65b0fc83
Add a glossary entry for file objects.
2010-09-15 09:58:26 +00:00