Larry Hastings
83a9f48699
Issue #14328 : Add keyword-only parameters to PyArg_ParseTupleAndKeywords.
...
They're optional-only for now (unlike in pure Python) but that's all
I needed. The syntax can easily be relaxed if we want to support
required keyword-only arguments for extension types in the future.
2012-03-20 20:06:16 +00:00
Victor Stinner
2bf1f3bee4
time.steady() doc: don't repeat the default value
2012-03-19 13:17:24 +01:00
R David Murray
da3d8e05b6
Merge #14355 : remove obsolete doc reference to previously removed init_frozen.
...
Patch by Eric Snow.
2012-03-18 20:50:36 -04:00
R David Murray
1623afff67
#14355 : remove obsolete doc reference to previously removed init_frozen.
...
Patch by Eric Snow.
2012-03-18 20:50:03 -04:00
Georg Brandl
869ac7895f
merge with 3.2
2012-03-17 17:29:39 +01:00
Georg Brandl
3a19e542ff
Closes #14250 : regex.flags has not only explicit flags but also implicit flags and those from the pattern
2012-03-17 17:29:27 +01:00
Georg Brandl
9758fcfb87
merge with 3.2
2012-03-17 17:26:36 +01:00
Georg Brandl
557a3ec9bb
Closes #14343 : avoid shadowing builtin input() in example code.
2012-03-17 17:26:27 +01:00
Georg Brandl
5ec6fdb0f6
Closes #14342 : remove out-of-date section about avoiding recursion errors.
2012-03-17 17:25:47 +01:00
Georg Brandl
2ba1428911
merge with 3.2
2012-03-17 16:58:12 +01:00
Georg Brandl
12c3cd7c1f
Closes #14306 : clarify expensiveness of try-except and update code snippet
2012-03-17 16:58:05 +01:00
Eli Bendersky
7add4eaa6d
updated whatsnew/3.3.rst with the new methods added to list and bytearray (issue 10516)
2012-03-17 15:14:35 +02:00
Senthil Kumaran
8df2634a7e
merge from 3.2 - issue6566
2012-03-17 00:41:15 -07:00
Senthil Kumaran
f2123d2db5
3.2 explain json.dumps for non-string keys in dicts. closes issue6566. Patch contributed Kirubakaran Athmanathan
2012-03-17 00:40:34 -07:00
R David Murray
9b3d4847e5
Merge #11780 : s/throw/raise/
2012-03-16 22:10:44 -04:00
R David Murray
41914349ad
#11780 : s/throw/raise/
2012-03-16 22:10:00 -04:00
R David Murray
1ad2eeaa99
Merge #11780 : document that email.encoders throw TypeError on multipart messages.
2012-03-16 22:04:25 -04:00
R David Murray
69ebfe43b0
#11780 : document that email.encoders throw TypeError on multipart messages.
2012-03-16 22:03:17 -04:00
Eli Bendersky
c105cf5aff
Issue #14202 : some additional doc fixes
2012-03-16 16:51:01 +02:00
Eli Bendersky
969b8daf5a
Issue #14202 : some additional doc fixes
2012-03-16 16:49:58 +02:00
Eli Bendersky
68ca5a6bcc
Issue #14202 : Greatly enhance the documentation of xml.dom.pulldom.
...
Patch by Florian Mladitsch
2012-03-16 14:40:13 +02:00
Eli Bendersky
3fb05a90ce
Issue #14202 : Greatly enhance the documentation of xml.dom.pulldom.
...
Patch by Florian Mladitsch
2012-03-16 14:37:14 +02:00
Eli Bendersky
2a1e74a075
Issue #13709 : some fixes to the ctypes documentation. In addition to fixing
...
the problems pointed in the issue, I removed the confusing Windows/Linux
distinction. It serves no real goal in the documentation, and is probably
wrong anyway since for Windows the WINFUNCTYPE constructor should be used.
In addition, the "look, this is faster on Linux" comment is misleading since
it's not explained. The outcome may just be an artifact of qsort implementation
for this particular input, and may change between C runtime version releases.
2012-03-16 09:17:43 +02:00
Eli Bendersky
3405001491
Issue #9257 : clarify the events iterparse accepts
2012-03-16 08:42:36 +02:00
Eli Bendersky
604c4ff43d
Issue #9257 : clarify the events iterparse accepts
2012-03-16 08:41:30 +02:00
Eli Bendersky
5b77d81314
Issue #14207 : the ParseError exception raised by _elementtree was made
...
consistent to the one raised by the Python module (the 'code' attribute
was added).
In addition, the exception is now documented.
Added a test to check that ParseError has the required attributes, and
threw away the equivalent doctest which is no longer required.
2012-03-16 08:20:05 +02:00
Senthil Kumaran
e53d977e80
Explain the use of charset parameter with Content-Type header: issue11082
2012-03-15 18:15:34 -07:00
Senthil Kumaran
6b3434ae04
Explain the use of charset parameter with Content-Type header. Issue11082
2012-03-15 18:11:16 -07:00
Giampaolo Rodola'
a4e018889a
(sched) when run() is invoked with blocking=False return the deadline of the next scheduled call in the scheduler; this use case was suggested in http://bugs.python.org/issue1641#msg149453
2012-03-15 13:05:41 +01:00
R David Murray
7cc7033cb4
Merge #12758 : removing confusing mention of UTC from time.time description
...
Patch by Dylan Sarber.
(Not sure why hg told me it merged pyexpat.c too, it showed no changes)
2012-03-15 03:09:53 -04:00
R David Murray
38c2754652
#12758 : removing confusing mention of UTC from time.time description
...
Patch by Dylan Sarber.
2012-03-15 03:06:15 -04:00
Andrew Svetlov
d3d7c903e6
Closes issue #14163 - tkinter: problems with hello doc example
2012-03-14 21:41:23 -07:00
Raymond Hettinger
4775def25d
merge
2012-03-14 18:17:20 -07:00
Raymond Hettinger
13ec112b3a
Issue #13248 : Removed docs for two deprecated unittest features. To be conservative, the code is left in for one more release.
2012-03-14 18:16:18 -07:00
Senthil Kumaran
7596aeaba7
cpython:Fix the wrong urllib exampls which use str for POST data. Closes Issue11261
2012-03-14 18:11:46 -07:00
Senthil Kumaran
87684e6eea
Fix the wrong urllib exampls which use str for POST data. Closes Issue11261
2012-03-14 18:08:13 -07:00
Victor Stinner
071eca3f5c
Issue #10278 : Add an optional strict argument to time.steady(), False by default
2012-03-15 01:17:09 +01:00
Victor Stinner
ec919cc74d
Issue #10278 : Drop time.monotonic() function, rename time.wallclock() to time.steady()
...
* On Mac OS X, time.steady() now uses mach_absolute_time(), a monotonic clock
* Optimistic change: bet that CLOCK_MONOTONIC and CLOCK_REALTIME are available
when clock_gettime() is available
* Rewrite time.steady() documentation
2012-03-15 00:58:32 +01:00
Georg Brandl
30162be9e4
merge with 3.2
2012-03-14 22:42:49 +01:00
Georg Brandl
300a691026
Closes #14305 : fix typo.
2012-03-14 22:40:08 +01:00
Senthil Kumaran
38b968b913
deprecated the old urllib primitives in 3.3 urllib package - issue 10050
2012-03-14 13:43:53 -07:00
Georg Brandl
846acf5c0c
#14289 : merge with 3.2
2012-03-14 08:18:59 +01:00
Georg Brandl
525fd5447d
Closes #14289 : put a link to the CHM download page on the docs download page.
2012-03-14 08:18:47 +01:00
Georg Brandl
5cd2767144
#14283 : merge with 3.2
2012-03-14 08:07:29 +01:00
Georg Brandl
69c7a69cbe
Closes #14283 : match() and search() are regex methods, not match methods.
2012-03-14 08:02:43 +01:00
Georg Brandl
b20a019d46
Closes #14298 : update section about dict implementation.
2012-03-14 07:50:17 +01:00
Senthil Kumaran
1725feabd0
default: closes Issue12365 - Add an example explaining the context manager use case of urllib.urlopen
2012-03-13 19:48:37 -07:00
Senthil Kumaran
21c71bac5f
closes Issue12365 - Add an example explaining the context manager use case of urllib.urlopen
2012-03-13 19:47:51 -07:00
Senthil Kumaran
e24f96a059
Issue10050 - urlretrieve uses newer urlopen. reporthook of urlretrieve takes, block number, block read size, file_size
2012-03-13 19:29:33 -07:00
Victor Stinner
30c825c751
What's New in Python 3.3: Repeat the dict lookup change in Porting section
2012-03-14 00:40:57 +01:00