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
Andrew M. Kuchling
73835bd5e9
Fix markup
2008-01-04 18:24:41 +00:00
Christian Heimes
a47b75b0a0
socket.ioctl is only available on Windows
2008-01-04 15:48:06 +00:00
Christian Heimes
aee643b01f
Reverted last transaction. It's the wrong branch.
2008-01-04 15:34:06 +00:00
Christian Heimes
306179b173
And here is the rest of Hirokazu Yamamoto's patch for VS6.0 support. Thanks Hiro!
2008-01-04 15:29:00 +00:00
Christian Heimes
04ae916fa2
Added interface to Windows' WSAIoctl and a simple example for a network sniffer.
2008-01-04 15:23:30 +00:00
Andrew M. Kuchling
951300e39f
Update links to bug/patch tracker
2008-01-04 14:47:17 +00:00
Lars Gustäbel
2ee1c760cc
Issue #1735 : TarFile.extractall() now correctly sets
...
directory permissions and times.
(will backport to 2.5)
2008-01-04 14:00:33 +00:00
Christian Heimes
0687561c94
Bug #1713 : posixpath.ismount() claims symlink to a mountpoint is a mountpoint.
2008-01-04 13:21:07 +00:00
Jeffrey Yasskin
737c73f96f
Make math.{floor,ceil}({int,long}) return float again for backwards
...
compatibility after r59671 made them return integral types.
2008-01-04 08:01:23 +00:00
Raymond Hettinger
e0734e7dc0
Minor fix-ups to named tuples:
...
* Make the _replace() method respect subclassing.
* Using property() to make _fields read-only wasn't a good idea.
It caused len(Point._fields) to fail.
* Add note to _cast() about length checking and alternative with the star-operator.
2008-01-04 03:22:53 +00:00
Christian Heimes
123d5c9396
Moved include "Python.h" in front of other imports to silence a warning.
2008-01-04 03:15:05 +00:00
Christian Heimes
76d19f68e4
Added _struct._clearcache() for regression tests
2008-01-04 02:54:42 +00:00
Christian Heimes
f2f41ebef4
Fixed refleak tests for _struct changes
2008-01-04 02:46:19 +00:00
Andrew M. Kuchling
3b5547021b
Add math items; other edits
2008-01-04 02:31:40 +00:00
Andrew M. Kuchling
adc60ab626
Typo fix
2008-01-04 02:26:00 +00:00
Amaury Forgeot d'Arc
e0b7695286
Partial port of r59682 from py3k.
...
On Windows, when import fails to load a dll module, the message says
"error code 193" instead of a more informative text.
It turns out that FormatMessage needs additional parameters for some error codes.
For example: 193 means "%1 is not a valid Win32 application".
Since it is impossible to know which parameter to pass, we use
FORMAT_MESSAGE_IGNORE_INSERTS to get the raw message, which is still better
than the number.
2008-01-04 02:04:15 +00:00
Christian Heimes
d0d7d87869
Filled in some XXX comments
2008-01-04 02:03:25 +00:00
Christian Heimes
66ecda4990
Fixed math.copysign() on Windows
2008-01-04 01:48:50 +00:00