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
Victor Stinner
ecc6e6613f
Fix doc of datetime.date*.*fromtimestamp() methods
2012-03-14 00:39:29 +01:00
Victor Stinner
21f5893571
Issue #14180 : datetime.date.fromtimestamp(), datetime.datetime.fromtimestamp()
...
and datetime.datetime.utcfromtimestamp() now raise an OSError instead of
ValueError if localtime() or gmtime() failed.
2012-03-14 00:15:40 +01:00
Victor Stinner
5d272cc6a2
Close #14180 : Factorize code to convert a number of seconds to time_t, timeval or timespec
...
time.ctime(), gmtime(), time.localtime(), datetime.date.fromtimestamp(),
datetime.datetime.fromtimestamp() and datetime.datetime.utcfromtimestamp() now
raises an OverflowError, instead of a ValueError, if the timestamp does not fit
in time_t.
datetime.datetime.fromtimestamp() and datetime.datetime.utcfromtimestamp() now
round microseconds towards zero instead of rounding to nearest with ties going
away from zero.
2012-03-13 13:35:55 +01:00
Senthil Kumaran
9186850088
closes issue14257 - Grammatical fix
2012-03-12 10:05:58 -07:00
Senthil Kumaran
6080db7606
closes issue14257 - Grammatical fix
2012-03-12 10:05:34 -07:00
Senthil Kumaran
68e994e9e4
closes issue14257 - cpython - minor error in glossary wording regarding __hash__
2012-03-11 21:06:03 -07:00
Senthil Kumaran
a7fccd8b14
closes issue14257 - 3.2 minor error in glossary wording regarding __hash__
2012-03-11 21:04:56 -07:00
Georg Brandl
4c7c3c58be
Close #14210 : add command argument completion to pdb: complete file names, global/local variables, aliases
2012-03-10 22:36:48 +01:00
Georg Brandl
a08e7e1c5d
Close #14248 : fix typo.
2012-03-10 20:52:16 +01:00
Mark Dickinson
c7ceb2bc95
merge 3.2 ( #9574 )
2012-03-10 16:11:49 +00:00
Mark Dickinson
328dd0d5f3
Closes #9574 : Note that complex constructor doesn't allow whitespace around central operator.
2012-03-10 16:09:35 +00:00
Georg Brandl
6aacc14e29
Merge with 3.2.
2012-03-10 09:27:30 +01:00
Georg Brandl
64a40949cf
Closes #14186 : add link to PEP 3107 (function annotations) to the function definition section.
2012-03-10 09:22:47 +01:00
Victor Stinner
8c43e69bce
Issue #14205 : Document the dict lookup change in What's New in Python 3.3
2012-03-09 14:04:01 +01:00
Georg Brandl
f5a1d76b48
Fix indentation.
2012-03-09 12:22:12 +01:00
Senthil Kumaran
065dedaf47
Fix closes Issue: 14217 - 3.2 branch
2012-03-08 20:56:52 -08:00
Senthil Kumaran
74d5657c80
Fix closes Issue: 14217 - Appropriate sphinx directive for output. Patch by Tshepang Lekhonkhobe
2012-03-08 20:54:34 -08:00
Georg Brandl
4dcf474337
Fix indentation.
2012-03-08 20:35:08 +01:00
Victor Stinner
50dbb3f2cf
Issue #14205 : document the change of dict[key] behaviour if dict is modified
...
during the lookup
2012-03-08 02:50:17 +01:00
Jason R. Coombs
30b8e5461d
Use PEP-8 style in logging example
2012-03-07 10:26:08 -05:00
Jason R. Coombs
8a56085b51
Merge: Use PEP-8 style in logging example
2012-03-07 10:27:07 -05:00
Georg Brandl
d6c4340f77
Add todo item about hash randomization.
2012-03-07 08:55:52 +01:00
Brett Cannon
f67e494ca8
merge
2012-03-06 15:33:24 -05:00
Stefan Krah
abd887d690
Issue #14181 : Improve clarity in the documentation for the multi-purpose
...
Py_buffer.obj field.
2012-03-06 14:55:06 +01:00
Nick Coghlan
b9b281b787
Add some simple examples to the PEP 380 section of What's New
2012-03-06 22:31:12 +10:00
Nick Coghlan
98e20701cb
Add PEP 414 to What's New, consolidate memoryview entries
2012-03-06 21:50:13 +10:00
Martin v. Löwis
de157cc5bc
Issue #14200 : Add benchmark results to text flow.
2012-03-06 08:42:17 +01:00
Antoine Pitrou
bdb1cf1ca5
Issue #12328 : Fix multiprocessing's use of overlapped I/O on Windows.
...
Also, add a multiprocessing.connection.wait(rlist, timeout=None) function
for polling multiple objects at once. Patch by sbt.
Complete changelist from sbt's patch:
* Adds a wait(rlist, timeout=None) function for polling multiple
objects at once. On Unix this is just a wrapper for
select(rlist, [], [], timeout=None).
* Removes use of the SentinelReady exception and the sentinels argument
to certain methods. concurrent.futures.process has been changed to
use wait() instead of SentinelReady.
* Fixes bugs concerning PipeConnection.poll() and messages of zero
length.
* Fixes PipeListener.accept() to call ConnectNamedPipe() with
overlapped=True.
* Fixes Queue.empty() and SimpleQueue.empty() so that they are
threadsafe on Windows.
* Now PipeConnection.poll() and wait() will not modify the pipe except
possibly by consuming a zero length message. (Previously poll()
could consume a partial message.)
* All of multiprocesing's pipe related blocking functions/methods are
now interruptible by SIGINT on Windows.
2012-03-05 19:28:37 +01:00
Éric Araujo
6a59b70cba
Merge 3.2
2012-03-05 16:24:07 +01:00
Éric Araujo
80f7102d43
Improve packaging.database documentation
2012-03-05 16:16:37 +01:00
Éric Araujo
e5eec7e198
Move xml.etree higher and xml.parsers.expat lower in the markup ToC.
...
I assume that most users looking at this page are looking for a library
to process XML, not a low-level parser. First proposed in #11379 .
2012-03-05 16:01:41 +01:00
Éric Araujo
fdfaf0aba2
Use source reST role instead of file where it makes sense.
...
source generates a nifty link to the Mercurial web viewer.
2012-03-05 15:50:37 +01:00
Éric Araujo
d3899e320f
Remove mention of defunct file.
...
Misc/COPYRIGHT was renamed twelve years ago to LICENSE and later copied
to the main docs, to which there is already a link.
2012-03-05 15:47:32 +01:00
Antoine Pitrou
8d3c290de4
Issue #14166 : Pickler objects now have an optional `dispatch_table` attribute which allows to set custom per-pickler reduction functions.
...
Patch by sbt.
2012-03-04 18:31:48 +01:00
Georg Brandl
f125bf5f94
Update copyright years and version name.
2012-03-04 16:26:19 +01:00
Georg Brandl
0e475c359c
Sort and clean up suspicious ignore file.
2012-03-04 16:22:05 +01:00