Georg Brandl
3c403b2370
Consistency nit.
2008-01-07 09:16:08 +00:00
Georg Brandl
66502c11e9
Change virtual class name of __iter__ to "object" in order to make it linkable.
2008-01-07 09:07:38 +00:00
Raymond Hettinger
dc55f35f38
Add another named tuple subclassing example.
2008-01-07 09:03:49 +00:00
Jeffrey Yasskin
fd1c24518b
Fix issue 1747: allow classic classes to be checked for being subclasses of
...
ABCs.
2008-01-07 06:09:40 +00:00
Raymond Hettinger
1db6f80cd5
Cleanup subclassing example to more clearly show fixed-width print format.
2008-01-07 05:50:35 +00:00
Raymond Hettinger
b8e0072fec
Add subclassing example to docs for named tuples.
2008-01-07 04:24:49 +00:00
Georg Brandl
4273222a68
Remove latex trace.
2008-01-06 23:22:27 +00:00
Raymond Hettinger
844f71b7e4
Speed-up named tuple's _make() constructor.
2008-01-06 22:11:54 +00:00
Georg Brandl
35f8861386
Add tutorial section about coding style.
2008-01-06 22:05:40 +00:00
Facundo Batista
e9766c8acb
Added Mark Dickinson.
2008-01-06 21:13:12 +00:00
Georg Brandl
27a2d1332b
Fix introductory sentence.
2008-01-06 17:21:00 +00:00
Georg Brandl
e260ba2d33
#1325 : Add docs and tests for zipimporter.archive and zipimporter.prefix.
2008-01-06 16:49:50 +00:00
Georg Brandl
516787dd98
#1499 : Document compile() exceptions.
2008-01-06 16:22:56 +00:00
Georg Brandl
81de0d24d5
#1582 : document __reversed__, patch by Mark Russell.
2008-01-06 16:17:56 +00:00
Georg Brandl
ec32b6bce7
#1559684 : document that shutil.copy* doesn't copy all metadata on Posix and Windows too.
2008-01-06 16:12:39 +00:00
Georg Brandl
14aaee143d
#1686390 : add example for csv.Sniffer use.
2008-01-06 16:04:56 +00:00
Georg Brandl
2cb103ffa9
#1727024 : document that Popen.returncode is set by Popen.poll/wait.
2008-01-06 16:01:26 +00:00
Georg Brandl
c4768a4a98
#1615275 : clarify return object types of different tempfile factories.
2008-01-06 15:55:26 +00:00
Georg Brandl
91a4808aa8
#759525 : document that dir() doesn't return metaclass attrs when given a class as arg.
2008-01-06 15:48:20 +00:00
Georg Brandl
db210dfba2
#1501 : document that 0**0 == 1.
2008-01-06 15:41:50 +00:00
Georg Brandl
a8cbad3b83
#1755097 : document default values for [].sort() and sorted().
2008-01-06 15:34:57 +00:00
Georg Brandl
437e15d42b
#1680 : fix context manager example function name.
2008-01-06 15:30:34 +00:00
Georg Brandl
c45346f57a
#1591 : Clarify docstring of Popen3.
2008-01-06 14:33:52 +00:00
Georg Brandl
183a084da3
#1742 : don't raise exception on os.path.relpath("a", "a"), but return os.curdir.
...
Reported by Jesse Towner.
2008-01-06 14:27:15 +00:00
Georg Brandl
e2a902c669
#1696393 : don't check for '.' and '..' in ntpath.walk since
...
they aren't returned from os.listdir anymore.
Reported by Michael Haggerty.
2008-01-06 14:17:36 +00:00
Martin v. Löwis
94da1d6a21
Don't try to package msvcr90 for the moment.
2008-01-06 11:13:16 +00:00
Martin v. Löwis
e7a434e41b
Package using VS 2008.
2008-01-06 11:03:43 +00:00
Martin v. Löwis
4b3311b25b
Use vcbuild for VS 2009.
2008-01-06 10:09:48 +00:00
Raymond Hettinger
1166872006
Small code simplification. Forgot that classmethods can be called from intances.
2008-01-06 09:02:24 +00:00
Guido van Rossum
eb94d4c3e3
Add John Nagle (of issue #1637 ).
2008-01-05 22:20:01 +00:00
Guido van Rossum
c6a04c2629
Patch #1637 : fix urlparse for URLs like ' http://x.com?arg=/foo '.
...
Fix by John Nagle.
2008-01-05 22:19:06 +00:00
Christian Heimes
3001c5463e
Final adjustments for #1601
2008-01-05 21:35:52 +00:00
Georg Brandl
7390f6caa0
Use markup.
2008-01-05 21:10:50 +00:00
Georg Brandl
60c19d2692
Repair markup.
2008-01-05 21:02:25 +00:00
Georg Brandl
165010834a
#1719 : capitalization error in "UuidCreate".
2008-01-05 20:46:29 +00:00
Georg Brandl
7096a4bfdc
Set native svn:eol-style property for text files.
2008-01-05 20:33:46 +00:00
Georg Brandl
2fa2f5d3e5
Revert socket.rst to unix-eol.
2008-01-05 20:29:13 +00:00
Georg Brandl
f725b9587c
Doc patch #1730 from Robin Stocker; minor corrections mostly to os.rst.
2008-01-05 19:44:22 +00:00
Georg Brandl
6265833d91
Simplify index entries; fix #1712 .
2008-01-05 19:29:45 +00:00
Georg Brandl
9749e15e2f
Remove with_statement future imports from 2.6 docs.
2008-01-05 19:28:16 +00:00
Georg Brandl
9fcd8ceb74
Fix C++-style comment.
2008-01-05 17:49:17 +00:00
Thomas Heller
f326898ad4
Add myself.
2008-01-05 17:15:44 +00:00
Andrew M. Kuchling
0589914e60
Fix comment typo
2008-01-05 15:13:49 +00:00
Jeffrey Yasskin
9871d8fe22
Continue rolling back pep-3141 changes that changed behavior from 2.5. This
...
round included:
* Revert round to its 2.6 behavior (half away from 0).
* Because round, floor, and ceil always return float again, it's no
longer necessary to have them delegate to __xxx___, so I've ripped
that out of their implementations and the Real ABC. This also helps
in implementing types that work in both 2.6 and 3.0: you return int
from the __xxx__ methods, and let it get enabled by the version
upgrade.
* Make pow(-1, .5) raise a ValueError again.
2008-01-05 08:47:13 +00:00
Fred Drake
f7476c4d46
clean up a comment
2008-01-05 04:38:38 +00:00
Raymond Hettinger
1b50fd7cb3
Add error-checking to namedtuple's _replace() method.
2008-01-05 02:17:24 +00:00
Raymond Hettinger
02740f73ff
Improve namedtuple's _cast() method with a docstring, new name, and error-checking.
2008-01-05 01:35:43 +00:00
Guido van Rossum
ced4eb06e4
Patch #1698 by Senthil: allow '@' in username when parsed by urlparse.py.
2008-01-05 01:21:57 +00:00
Guido van Rossum
3b83549ea0
Patch #1725 by Mark Dickinson, fixes incorrect conversion of -1e1000
...
and adds errors for -0x.
2008-01-05 00:59:59 +00:00
Andrew M. Kuchling
54966a5f94
Fix markup
2008-01-04 18:25:05 +00:00