Raymond Hettinger
64cd1e2d91
Fix markup
2008-01-17 23:56:56 +00:00
Raymond Hettinger
497fdbf767
Fix-up Timer() example.
2008-01-17 23:32:01 +00:00
Christian Heimes
ff6cc6b8ef
Updated new property syntax. An elaborate example for subclassing and the getter was missing.
...
Added comment about VS 2008 and PGO builds.
2008-01-17 23:01:44 +00:00
Raymond Hettinger
d0ab014b5e
Add advice on choosing between scheduler and threading.Timer().
2008-01-17 22:27:49 +00:00
Andrew M. Kuchling
4e06b8a86f
Correction from Jordan Lewis: halfdelay() uses tenths of a second, not milliseconds
2008-01-17 19:49:24 +00:00
Raymond Hettinger
44bd6c0a4f
Issue #1861 : Add read-only attribute listing upcoming events in the order they will be run.
2008-01-17 19:31:38 +00:00
Brett Cannon
a35a8b11c3
Fix a function pointer declaration to silence the compiler.
2008-01-17 18:45:10 +00:00
Andrew M. Kuchling
d221956f0e
Revise 3141 section a bit; add some Windows items
2008-01-17 12:00:15 +00:00
Gregory P. Smith
bde4ae4bde
Fixes (accepts patch) issue1339 - http://bugs.python.org/issue1339
...
- Factor out the duplication of EHLO/HELO in login() and sendmail() to
a new function, ehlo_or_helo_if_needed().
- Use ehlo_or_helo_if_needed() in starttls()
- Check for the starttls exception in starttls() in the same way as
login() checks for the auth extension.
Contributed by Bill Fenner.
2008-01-17 08:35:49 +00:00
Raymond Hettinger
d59f457279
Note versionadded.
2008-01-17 08:07:05 +00:00
Gregory P. Smith
2b3ba58bf4
entry for r60015
2008-01-17 08:03:17 +00:00
Gregory P. Smith
63bfc1d19f
Comply with RFC 3207.
...
Fixes issue 829951 - http://bugs.python.org/issue829951
2008-01-17 07:43:20 +00:00
Raymond Hettinger
473170908e
Make starmap() match its pure python definition and accept any itertable input (not just tuples).
2008-01-17 03:02:14 +00:00
Raymond Hettinger
3ad2acc857
Add news entry.
2008-01-16 23:49:35 +00:00
Raymond Hettinger
9e1bc982ff
Add queues will alternative fetch orders (priority based and stack based).
2008-01-16 23:40:45 +00:00
Raymond Hettinger
171f3916c5
Minor wordsmithing.
2008-01-16 23:38:16 +00:00
Thomas Heller
0f75f9847a
Use 'g' instead of 'D' as the ctypes typecode for c_longdouble, for
...
compliance with PEP 3118.
2008-01-16 20:34:37 +00:00
Georg Brandl
2077131097
Doc build should work with 2.4 now.
2008-01-16 20:29:00 +00:00
Georg Brandl
7155a09c44
Add Python-specific content to Doc dir. Update configuration file
...
to work with the newest Sphinx.
2008-01-16 20:27:56 +00:00
Thomas Heller
415c1e36a9
Raise a TypeError instead of a ValueError when too many initializers
...
are used in a Structure or Union constructor.
2008-01-16 19:45:51 +00:00
Thomas Heller
02ec289f3e
Raise a TypeError if conflicting positional and named arguments are
...
passed to a Structure or Union constructor.
2008-01-16 19:37:33 +00:00
Thomas Heller
902d30752f
Convert the internal ctypes array type cache to a WeakValueDict so
...
that array types do not live longer than needed.
2008-01-16 19:16:27 +00:00
Georg Brandl
5c8b2abf71
Fix MSDN library URL. ( #1854 )
2008-01-16 16:56:29 +00:00
Andrew M. Kuchling
95f17bbfc0
Markup fix
2008-01-16 13:01:51 +00:00
Andrew M. Kuchling
aa355542af
Add PEP 3141 section
2008-01-16 03:17:25 +00:00
Andrew M. Kuchling
c8acc882a9
Docstring typos
2008-01-16 00:32:03 +00:00
Amaury Forgeot d'Arc
ff0f2670ff
test_doctest fails since r59984.
...
Not sure if these are the correct values, but save_stdout has to be set before its usage...
2008-01-15 21:25:11 +00:00
Raymond Hettinger
e805782b53
Fix-up half-written paragraph in the docs
2008-01-15 21:22:47 +00:00
Raymond Hettinger
f59e962b49
Refactor if/elif chain for clarity and speed. Remove dependency on subclasses having to implement _empty and _full.
2008-01-15 20:52:42 +00:00
Guido van Rossum
cad3724352
Issue #1786 (by myself): pdb should use its own stdin/stdout around an
...
exec call and when creating a recursive instance.
2008-01-15 17:59:29 +00:00
Andrew M. Kuchling
7b1e917e41
Restore description of sys.dont_write_bytecode.
...
The duplication is intentional -- this paragraph is in a section
describing additions to the sys module, and there's a later section
that mentions the switch. I think most people scan the what's-new and
don't read it in detail, so a bit of duplication is OK.
2008-01-15 14:38:05 +00:00
Jeffrey Yasskin
d7b00334f3
Add rational.Rational as an implementation of numbers.Rational with infinite
...
precision. This has been discussed at http://bugs.python.org/issue1682 . It's
useful primarily for teaching, but it also demonstrates how to implement a
member of the numeric tower, including fallbacks for mixed-mode arithmetic.
I expect to write a couple more patches in this area:
* Rational.from_decimal()
* Rational.trim/approximate() (maybe with different names)
* Maybe remove the parentheses from Rational.__str__()
* Maybe rename one of the Rational classes
* Maybe make Rational('3/2') work.
2008-01-15 07:46:24 +00:00
Georg Brandl
ca9c6e433c
Remove duplicate entry.
2008-01-15 06:58:15 +00:00
Georg Brandl
af30b2846e
Typo.
2008-01-15 06:55:56 +00:00
Raymond Hettinger
907cda6ebb
Small grammar nit
2008-01-15 05:46:43 +00:00
Raymond Hettinger
cbf8f6cffb
Temporarily revert 59967 until GC can be added.
2008-01-15 05:39:59 +00:00
Skip Montanaro
f233b0c454
Better (?) text describing the lack of guarantees provided by qsize(),
...
empty() and full().
2008-01-15 03:40:20 +00:00
Raymond Hettinger
d4c2e8659c
Tighten the definition of a named tuple.
2008-01-15 03:07:42 +00:00
Raymond Hettinger
c216df9288
Issue 1820: structseq objects did not work with the % formatting operator or isinstance(t, tuple).
...
Orignal patch (without tests) by Leif Walsh.
2008-01-15 03:02:37 +00:00
Andrew M. Kuchling
a01ed03058
Repair unfinished sentence
2008-01-15 01:55:32 +00:00
Andrew M. Kuchling
2e46355280
Add many items
2008-01-15 01:47:32 +00:00
Andrew M. Kuchling
f15ff46be5
Markup fix
2008-01-15 01:29:44 +00:00
Andrew M. Kuchling
7ce9b18460
Typo fixes
2008-01-15 01:29:16 +00:00
Raymond Hettinger
351e1a3e88
Fix 1698398: Zipfile.printdir() crashed because the format string expected a tuple object of length six instead of a time.struct_time object.
2008-01-14 22:58:05 +00:00
Andrew M. Kuchling
5d8b379abc
Update description of float_info
2008-01-14 14:48:43 +00:00
Thomas Heller
7a66a1becc
Issue 1821: configure libffi for amd64 on FreeeBSD.
2008-01-14 10:35:28 +00:00
Christian Heimes
c3b2a4afe8
Added more comments to the new structseq repr code and implemented several of Neal's suggestions.
2008-01-14 06:06:19 +00:00
Christian Heimes
c94e2b5c12
Now that I've learnt about structseq objects I felt like converting sys.float_info to a structseq. It's
...
readonly and help(sys.float_info) explains the attributes nicely.
2008-01-14 04:13:37 +00:00
Christian Heimes
f31b69f9db
Applied patch #1816 : sys.flags patch
2008-01-14 03:42:48 +00:00
Christian Heimes
620fbe6632
I missed the most important file
2008-01-14 03:35:38 +00:00