Benjamin Peterson
e9314e4a3c
remove confusing delete indexing ( closes #21466 )
2014-05-11 11:18:51 -07:00
Benjamin Peterson
b41299e498
note that the hash of an arbitrary object is only derived from its address ( closes #21154 )
...
Patch from Armin Rigo.
2014-04-04 09:58:13 -04:00
Mark Dickinson
383952d52c
Issue #19683 : Add __closure__ and other missing attributes to function docs.
2014-02-01 16:32:40 +00:00
Serhiy Storchaka
26d936a71e
Issue #19795 : Improved markup of True/False constants.
2013-11-29 12:16:53 +02:00
Serhiy Storchaka
ad16b725bc
Issue #19190 : Improve cross-references in builtin types and functions documentation.
2013-10-09 14:02:14 +03:00
Georg Brandl
e7fb7008ba
The im_class of unbound class methods is actually not the same as im_self.
2013-04-14 11:53:36 +02:00
Georg Brandl
75da35747e
Backport rev. 3ae74b361f53 to 2.7 branch.
2013-03-28 13:35:18 +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
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
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
7fa822275b
Fix links to the __next__ method.
2012-10-12 13:42:08 +03:00
Chris Jerdonek
af94724e00
Fix link to str.format() in docs.
2012-10-11 18:47:54 -07:00
Andrew Svetlov
ddd74b10e5
Merge: Close open bracket, thanks to Josh Helzer from docs@
2012-10-02 18:42:22 +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
Ezio Melotti
510ff54324
Use Python 3 instead of 3.0.
2012-05-03 19:21:40 +03: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
Benjamin Peterson
aee9dfba4a
merge 2.6 with hash randomization fix
2012-02-20 21:44:56 -05:00
Barry Warsaw
1e13eb084f
- Issue #13703 : oCERT-2011-003: add -R command-line option and PYTHONHASHSEED
...
environment variable, to provide an opt-in way to protect against denial of
service attacks due to hash collisions within the dict and set types. Patch
by David Malcolm, based on work by Victor Stinner.
2012-02-20 20:42:21 -05: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
Eli Bendersky
761473f28a
Issue #12223 : Typo fix in datamodel docs
2011-06-10 10:36:34 +03: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
1fd26525a4
Issue #10771 : Clarify that descriptors get used in an *owner* class or one of its parents.
2011-03-22 17:51:57 -07:00
Raymond Hettinger
405a4717e1
Issue 10787: Document the probability density function for random.gammavariate.
2011-03-22 15:52:46 -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
Raymond Hettinger
b76f6200d2
Issue 10988: fix description of super's descriptor call.
2011-03-22 15:28:45 -07:00
Gregory P. Smith
28d57c0d5c
Explicitly mention that people should not depend on finalization of
...
objects to happen immediately.
2011-03-10 11:49:27 -08: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