Stefan Krah
a8857af37b
Issue #15741 : Fix potential NULL dereference. Found by Coverity.
2012-08-20 17:31:22 +02:00
R David Murray
d928b6a965
#13579 : minimize code base drift for 'a' string.Formatter change.
...
2.7 doesn't support 'a'. This changeset ports the doc change
and clause-reording portions of Francisco Martín Brugué patch
in order to minimize code base drift.
2012-08-19 17:57:29 -04:00
Antoine Pitrou
0e3a4c8058
Issue #15615 : Add some tests for the json module's handling of invalid input data.
...
Patch by Kushal Das.
2012-08-18 20:51:05 +02:00
Mark Dickinson
2de4be2efd
Add workaround for log1p(-0.0) on platforms where it's broken.
2012-08-18 12:31:34 +01:00
Eli Bendersky
2cc49745a5
Fix typo in tutorial
2012-08-18 09:51:37 +03:00
Eli Bendersky
6ee2187cdc
Issue #15586 : porting ET's new documentation bits to 2.7. Patch by Daniel Ellis
2012-08-18 05:40:38 +03:00
R David Murray
85307b46d1
#15355 : Mention already-executing Exception in generator docs.
...
Patch by Chris Jerdonek.
2012-08-17 20:49:51 -04:00
Terry Jan Reedy
73b19d0b00
Issue 15660: Clarify 0 prefix for width field in str.format doc.
2012-08-17 15:37:52 -04:00
Richard Oudkerk
3c3ab22d36
Issue #15412 : Remove erroneous note about weakrefs
2012-08-17 15:00:58 +01:00
Antoine Pitrou
c5bef75c77
Issue #15604 : Update uses of PyObject_IsTrue() to check for and handle errors correctly.
...
Patch by Serhiy Storchaka.
2012-08-15 23:16:51 +02:00
Sandro Tosi
4ffe9a0640
clarify in/not in in case of infinite iterators; thanks to Sergey Skovorodkin from docs@
2012-08-15 21:37:19 +02:00
R David Murray
c7b8f809e7
#15543 : reflow paragraphs.
2012-08-15 11:22:58 -04:00
R David Murray
5618aaaafe
#15543 : glossary entry for and 'universal newlines', and links to it.
...
Patch by Chris Jerdonek.
2012-08-15 11:15:39 -04:00
Petri Lehtinen
2d44ceeada
#11062 : Fix adding a message from file to Babyl mailbox
2012-08-15 14:25:41 +03:00
R David Murray
becfcc0a6b
#15269 : document dircmp.left and right.
...
Based on patch by Chris Jerdonek.
2012-08-14 21:50:38 -04:00
Sandro Tosi
6ce21a3b84
fix typo
2012-08-14 19:51:31 +02:00
Matthias Klose
92636bf243
- Issue #15647 : Make isdir static for windows and posix
2012-08-14 17:42:45 +02:00
Matthias Klose
c551776f8e
Modules/socketmodule.c: netdb_lock: define static.
2012-08-14 17:24:47 +02:00
R David Murray
7cd8b42f32
#9161 : Fix test to use standard optparse test pattern (what was I thinking?)
2012-08-14 09:14:37 -04:00
Andrew Svetlov
6bcd00afa9
Issue #14167 : Document return statement in finally blocks.
...
Patch by Yury Selivanov.
2012-08-14 15:44:53 +03:00
Richard Oudkerk
faee75c33a
Issue #15646 : Prevent equivalent of a fork bomb when using multiprocessing
...
on Windows without the "if __name__ == '__main__'" idiom.
2012-08-14 11:41:19 +01:00
R David Murray
fe9efc5732
#9161 : add test for the bug fixed by r82581.
...
Patch by Michael Johnson.
2012-08-13 22:04:30 -04:00
Brian Curtin
bc77d3690b
Fix #15496 . Add directory removal helpers to make Windows tests more reliable. Patch by Jeremy Kloth
2012-08-13 17:26:48 -05:00
Andrew Svetlov
33f87a59b8
Issue #15497 : Correct characters in TextWrapper.replace_whitespace docs.
...
Patch by Chris Jerdonek.
2012-08-13 23:26:28 +03:00
Senthil Kumaran
2f76f73d73
Issue #15630 : Add an example for "continue" statement in the tutorial. Patch by
...
Daniel Ellis.
2012-08-12 11:58:53 -07:00
Sandro Tosi
614e44a0fa
complete cgi.parse() signature; thanks to Aaron Bingham from docs@
2012-08-12 18:47:45 +02:00
Sandro Tosi
eca4006b1f
add usage example from cli; thanks to Christian Clauss from docs@
2012-08-12 17:33:41 +02:00
Sandro Tosi
106c25034a
it's getstatus() not setstatus(); thanks to Shaddi Hasan from docs@
2012-08-12 15:11:58 +02:00
Sandro Tosi
018e14dfe9
add missing quote in splitlines() example; thanks to Yevgen Yampolskiy from docs@
2012-08-12 12:34:57 +02:00
Sandro Tosi
6c625e6024
update Geany URL; thanks to Karl Tarbet from docs@
2012-08-12 11:01:50 +02:00
Sandro Tosi
682100e46a
add missing parenthesis to 'action' argparse doc; thanks to kishkin from docs@
2012-08-12 10:49:07 +02:00
Georg Brandl
02144cca2f
Remove unused variables in parsetok().
2012-08-11 11:16:18 +02:00
Georg Brandl
eb068f9fa1
Fix casing of SocketServer module in 2.7.
2012-08-11 11:12:55 +02:00
Georg Brandl
d26b658f14
Graft a89d654adaa2 from 3.2 branch. Fixes #15620 .
2012-08-11 11:08:04 +02:00
Meador Inge
2d639d5665
Issue #15424 : Add a __sizeof__ implementation for array objects.
...
Patch by Ludwig Hähne.
2012-08-10 22:05:45 -05:00
Brian Curtin
a939105a40
Fix #15567 . collections.deque wasn't imported
2012-08-09 23:04:42 -05:00
Andrew Svetlov
774c8a39dc
fix docs for c-api memory functions
2012-08-09 21:32:11 +03:00
Andrew Svetlov
8afcec41f4
Issue #15501 : Document exception classes in subprocess module.
...
Initial patch by Anton Barkovsky.
2012-08-09 15:23:49 +03:00
Benjamin Peterson
359b5032f6
make documented file() kw names and actual ones agree ( closes #15572 )
...
Patch by Daniel Ellis.
2012-08-07 11:57:47 -07:00
R David Murray
decdb74227
#15554 : clarify splitlines/split differences.
...
Patch by Chris Jerdonek.
2012-08-06 16:09:09 -04:00
Ned Deily
670280470d
Issue #15560 : Fix building _sqlite3 extension on OS X with an SDK.
2012-08-05 14:42:45 -07:00
Vinay Sajip
947f358a06
Issue #15541 : Correct anomaly in logging.exception. Thanks to Ned Batchelder for the report.
2012-08-04 23:40:21 +01:00
Andrew Svetlov
8ba844ac14
Issue #13052 : Fix IDLE crashing when replace string in Search/Replace dialog ended with '\'.
...
Patch by Roger Serwy.
2012-08-04 21:45:23 +03:00
Sandro Tosi
7687f3fb80
add missing period; thanks to Gaston Fiore from docs@
2012-08-04 19:42:06 +02:00
Antoine Pitrou
76370f4977
Make TextIOWrapper's documentation clearer by copying the newline argument's description from open().
2012-08-04 00:55:38 +02:00
Jesus Cea
4fa7a5fc98
#15512 : Declarations reorganization
2012-08-03 15:51:11 +02:00
Jesus Cea
d52544dfd6
#15512 : Remove remnants of debugging code
2012-08-03 15:48:56 +02:00
Jesus Cea
d4e58dc966
Closes #15469 : Correct __sizeof__ support for deque
2012-08-03 14:48:23 +02:00
Jesus Cea
3e3192d8f7
Closes #15512 : Correct __sizeof__ support for parser
2012-08-03 14:25:53 +02:00
Antoine Pitrou
1fa9f7b3d1
Issue #15538 : Fix compilation of the getnameinfo() / getaddrinfo() emulation code.
...
Patch by Philipp Hagemeister.
2012-08-02 20:37:12 +02:00