Antoine Pitrou
84a2edcdf7
Issue #13747 : fix documentation error about the default SSL version.
2012-01-09 21:35:11 +01:00
Sandro Tosi
645a0dd6f7
Py_SetPythonHome() can be called before Py_Initialize(); thanks to Cody Smith from docs@
2012-01-07 18:34:07 +01:00
Charles-François Natali
ded0348c08
Issue #13502 : threading: Fix a race condition in Event.wait() that made it
...
return False when the event was set and cleared right after.
2012-01-07 18:24:56 +01:00
Sandro Tosi
b52e7a9a36
clarify recv* are blocking operations; thanks to Chris Kogelnik from docs@
2012-01-07 17:56:58 +01:00
Antoine Pitrou
441ae043df
Update printout of SSL certificate examples for 3.2+.
2012-01-06 20:06:15 +01:00
Sandro Tosi
f57674713a
Issue #12042 : a queue is only used to retrive results; preliminary patch by Jordan Stadler
2012-01-05 19:48:56 +01:00
Sandro Tosi
ba232dfc83
Issue #11984 : remove reference to parser, it's not showing symbol usage anymore
2012-01-05 19:06:25 +01:00
Sandro Tosi
98492a50ea
Issue #10772 : add count and help argparse action; patch by Marc Sibson
2012-01-04 23:25:04 +01:00
Antoine Pitrou
b7ffed8a50
Add a subsection explaning cipher selection.
2012-01-04 02:53:44 +01:00
Benjamin Peterson
d204934ee3
exception support is correct now ( closes #13705 )
2012-01-03 16:30:37 -06:00
Sandro Tosi
753b79c073
Issue #6031 : improve serve_forever() description
2012-01-03 22:35:54 +01:00
Sandro Tosi
ea320abcae
Issue #9349 : add argparse.SUPPRESS to help doc
2012-01-03 18:37:03 +01:00
Sandro Tosi
da785fd527
Issue #13690 : add re.DEBUG; patch by Filip Gruszczyński
2012-01-01 12:55:20 +01:00
Sandro Tosi
b2794c842f
Issue #13683 : raise with no exception in scope throws a RuntimeError; fix by Ramchandra Apte
2012-01-01 12:17:15 +01:00
Benjamin Peterson
c40d362a1c
merge heads
2011-12-31 22:42:45 -06:00
Benjamin Peterson
f606e682a4
add another year to glorious PSF IP
2011-12-31 22:42:26 -06:00
Sandro Tosi
1abde3628b
fix some broken URLs
2011-12-31 18:46:50 +01:00
Eli Bendersky
d08effe287
Some formatting & grammar fixes for the multiprocessing doc
2011-12-31 07:20:26 +02:00
Benjamin Peterson
a6c4a10d4e
indicate msg is an argument
2011-12-30 23:08:09 -06:00
Benjamin Peterson
79ed84c7f2
use booleans
2011-12-30 13:47:25 -06:00
Georg Brandl
1532c8f9a7
I do not think we will ever have auto-indent at the prompt, that is for IPython and the like.
2011-12-25 19:03:07 +01:00
Sandro Tosi
7386662699
use list() to wrap range() in itertools.permutations() example; thanks to Romain MORLEVAT from docs@
2011-12-25 17:25:45 +01:00
Sandro Tosi
3e6c814b9d
fix "Title underline too short" sphinx warning
2011-12-25 17:14:11 +01:00
Sandro Tosi
2b373b0146
use double-quote char instead of unicode ones; thanks to tomo cocoa from docs@
2011-12-25 17:07:22 +01:00
Sandro Tosi
44f568c21f
fix to sent/send typo
2011-12-25 11:44:38 +01:00
Sandro Tosi
1526ad166e
fix Constuctor/Constructor typo; thanks to Anthon van der Neut from docs@
2011-12-25 11:27:37 +01:00
Sandro Tosi
3721fbc5de
point IronPython to ironpython.net; thanks to Lazar Pancic from docs@
2011-12-24 23:13:19 +01:00
Sandro Tosi
75c71ccf2a
fix Rather that/Rather than; thanks to Reuben Thomas from docs@
2011-12-24 19:56:04 +01:00
Sandro Tosi
baf30da240
remove spurious dot from string formatting example; thanks to Anthon van der Neut from docs@
2011-12-24 15:53:35 +01:00
Sandro Tosi
0b7e5369f1
correct syslog.openlog() argument name to logoption; thanks to Arnaud Gomes-do-Vale from docs@
2011-12-24 14:51:49 +01:00
Meador Inge
ac007ba686
Issue #13632 : Update token documentation to reflect actual token types
2011-12-23 22:30:16 -06:00
Benjamin Peterson
57f97f400b
parameter_list was meant here
2011-12-23 20:01:43 -06:00
Benjamin Peterson
ad17358a2f
kill superfluous 'comprehension' case ( closes #13658 )
2011-12-23 20:00:56 -06:00
Senthil Kumaran
016c6d5341
Issue12798 - Update mimetypes documentation. Correct the doc section where
...
common_types was mentioned under MimeTypes class, move it to helper function
category and other documentation improvements contributed by Sandro Tosi.
2011-12-23 10:52:42 +08:00
Antoine Pitrou
08c08eb93c
Issue #13597 : Fix the documentation of the "-u" command-line option, and wording of "What's new in Python 3.0" about standard streams.
2011-12-21 11:24:15 +01:00
Benjamin Peterson
0f1e3ac897
note the blinding speed of these functions
2011-12-20 10:12:41 -06:00
Benjamin Peterson
1c92cfea4a
don't mention implementation detail
2011-12-19 16:41:11 -05:00
Ezio Melotti
80a61e8d4c
#13387 : rephrase unclear sentence.
2011-12-19 07:04:48 +02:00
Victor Stinner
6fbd525ef5
Issue #13617 : Document that the result of the conversion of a Unicode object to
...
wchar*, Py_UNICODE* and bytes may contain embedded null characters/bytes.
Patch written by Arnaud Calmettes.
2011-12-18 19:22:31 +01:00
Victor Stinner
a94a0e92b8
Issue #13522 : Fix _Py_co_pow() documentation
...
Patch written by Arnaud Calmettes.
2011-12-18 02:56:18 +01:00
Antoine Pitrou
07b1c877b2
Issue #13522 : document error return values of some float and complex C API functions.
2011-12-18 01:25:27 +01:00
Victor Stinner
e83f899364
Issue #13530 : Document os.lseek() result
...
Patch written by Jérémy Anger.
2011-12-17 23:15:09 +01:00
Georg Brandl
bc3b682923
Closes #13761 : add a "flush" keyword argument to print().
2012-01-13 19:41:25 +01:00
Antoine Pitrou
5136ac0ca2
Issue #13645 : pyc files now contain the size of the corresponding source
...
code, to avoid timestamp collisions (especially on filesystems with a low
timestamp resolution) when checking for freshness of the bytecode.
2012-01-13 18:52:16 +01:00
Nick Coghlan
1f7ce62bd6
Implement PEP 380 - 'yield from' ( closes #11682 )
2012-01-13 21:43:40 +10:00
Antoine Pitrou
3a5d4cb940
Issue #13748 : Raw bytes literals can now be written with the `rb` prefix as well as `br`.
2012-01-12 22:46:19 +01:00
Terry Jan Reedy
dc41e3f23f
Merge #11633 At least 2 people prefer earlier revision.
2012-01-12 14:51:14 -05:00
Antoine Pitrou
70d62b30e4
Issue #13724 : improve documentation for socket.create_connection.
2012-01-12 08:06:49 +01:00
Benjamin Peterson
22ef4fa7e9
merge heads
2012-01-11 18:17:40 -05:00
Benjamin Peterson
b2bf01d824
use full unicode mappings for upper/lower/title case ( #12736 )
...
Also broaden the category of characters that count as lowercase/uppercase.
2012-01-11 18:17:06 -05:00
Terry Jan Reedy
982c91e4c9
Merge with 3.2
2012-01-11 14:56:22 -05:00
Terry Jan Reedy
7a825ba3c6
Merge with 3.2
...
#11633 Clarify print buffering (will change again if 13761 adds flush param).
2012-01-11 14:14:14 -05:00
Terry Jan Reedy
610e8140de
Merge with 3.2
...
#13754 String returned if less than *or equal to* x 3
*13753 'seq' now 'iterable'
2012-01-11 03:32:43 -05:00
Charles-François Natali
76961faaa0
Issue #13757 : Change os.fdlistdir() so that it duplicates the passed file
...
descriptor (instead of closing it).
2012-01-10 20:25:09 +01:00
Senthil Kumaran
bda7a80194
Merge from 3.2 - Issue9637 - Explain in getproxies_environment that <scheme>_proxy environ variable case does not matter.
2012-01-11 01:30:23 +08:00
Charles-François Natali
dc3044c704
Issue #12760 : Add a create mode to open(). Patch by David Townshend.
2012-01-09 22:40:02 +01:00
Antoine Pitrou
8a9b9c7d16
Merge SSL doc fixes (issue #13747 ).
2012-01-09 21:46:11 +01:00
Sandro Tosi
ac8f78a1a9
merge with 3.2
2012-01-07 18:34:24 +01:00
Charles-François Natali
61d28d6a74
Issue #13502 : threading: Fix a race condition in Event.wait() that made it
...
return False when the event was set and cleared right after.
2012-01-07 18:26:39 +01:00
Sandro Tosi
5e60857e91
merge with 3.2
2012-01-07 17:57:24 +01:00
Antoine Pitrou
0a08d7a095
Issue #9993 : When the source and destination are on different filesystems,
...
and the source is a symlink, shutil.move() now recreates a symlink on the
destination instead of copying the file contents.
Patch by Jonathan Niehof and Hynek Schlawack.
2012-01-06 20:16:19 +01:00
Antoine Pitrou
deec7566ae
Update printout of SSL certificate examples for 3.2+.
2012-01-06 20:09:29 +01:00
Sandro Tosi
b1d44dbf1f
Issue #12042 : merge with 3.2
2012-01-05 19:49:27 +01:00
Sandro Tosi
5021428c2b
Issue #11984 : merge with 3.2
2012-01-05 19:06:56 +01:00
Sandro Tosi
412d0f2f98
merge with 3.2
2012-01-04 23:25:20 +01:00
Jason R. Coombs
a599489e91
Corrected typo in install docs
2012-01-04 10:20:37 -05:00
Vinay Sajip
23b94d0b98
Refactored logging rotating handlers for improved flexibility.
2012-01-04 12:02:26 +00:00
Victor Stinner
606e19dda3
Fix PyUnicode_Fill() doc: return type is Py_ssize_t, not int
2012-01-04 03:59:16 +01:00
Antoine Pitrou
8f746d83e2
Add a subsection explaning cipher selection.
2012-01-04 02:54:12 +01:00
Victor Stinner
3fe553160c
Add a new PyUnicode_Fill() function
...
It is faster than the unicode_fill() function which was implemented in
formatter_unicode.c.
2012-01-04 00:33:50 +01:00
Benjamin Peterson
199808b796
merge 3.2
2012-01-03 16:30:47 -06:00
Benjamin Peterson
c095956ca5
merge 3.2
2012-01-03 16:26:34 -06:00
Sandro Tosi
9b5626d52c
merge with 3.2
2012-01-03 22:47:28 +01:00
Sandro Tosi
5c91242f88
merge with 3.2
2012-01-03 18:37:46 +01:00
Nadeem Vawda
dc9dd0d340
Add note on memory usage to LZMACompressor doc.
2012-01-02 02:24:20 +02:00
Sandro Tosi
245537a84d
merge with 3.2
2012-01-01 12:56:04 +01:00
Sandro Tosi
bc25dcf3f3
merge with 3.2
2012-01-01 12:17:36 +01:00
Benjamin Peterson
a174577f55
merge 3.2
2011-12-31 22:43:01 -06:00
Sandro Tosi
8df168cc7b
merge with 3.2
2011-12-31 19:03:30 +01:00
Sandro Tosi
eb90caa48d
fix Exemples/Examples typo; thanks to Ori Livneh from docs@
2011-12-31 12:59:08 +01:00
Eli Bendersky
ca6b7a1a73
Some formatting & grammar fixes for the multiprocessing doc
2011-12-31 07:22:27 +02:00
Benjamin Peterson
4032802eb6
merge 3.2
2011-12-30 23:09:20 -06:00
Benjamin Peterson
88cb2cafe9
merge 3.2
2011-12-30 13:47:49 -06:00
Antoine Pitrou
78091e63d6
Issue #12715 : Add an optional symlinks argument to shutil functions (copyfile, copymode, copystat, copy, copy2).
...
When that parameter is true, symlinks aren't dereferenced and the operation
instead acts on the symlink itself (or creates one, if relevant).
Patch by Hynek Schlawack.
2011-12-29 18:54:15 +01:00
Benjamin Peterson
2fb9ae9dfc
add a flags parameter to select.epoll
2011-12-27 15:15:41 -06:00
Georg Brandl
1e66f56d09
merge with 3.2
2011-12-25 19:03:22 +01:00
Sandro Tosi
54af1ba326
merge with 3.2
2011-12-25 17:26:09 +01:00
Sandro Tosi
2d0e48b6fd
merge with 3.2
2011-12-25 17:14:28 +01:00
Sandro Tosi
e837b46b89
merge with 3.2
2011-12-25 17:07:38 +01:00
Sandro Tosi
53dd1065ae
merge with 3.2
2011-12-25 11:44:55 +01:00
Sandro Tosi
c386c1a59f
merge with 3.2
2011-12-25 11:27:51 +01:00
Sandro Tosi
91d9152919
merge with 3.2
2011-12-24 23:13:39 +01:00
Sandro Tosi
29cfdc7a61
merge with 3.2
2011-12-24 19:56:35 +01:00
Sandro Tosi
35927dea45
merge with 3.2
2011-12-24 15:53:51 +01:00
Sandro Tosi
d126af8a54
merge with 3.2
2011-12-24 14:52:19 +01:00
Meador Inge
e7e1cccd69
Issue #13632 : Update token documentation to reflect actual token types
2011-12-23 23:08:50 -06:00
Benjamin Peterson
a883e566ac
merge 3.2
2011-12-23 20:02:12 -06:00
Antoine Pitrou
73fc81402b
Add whatsnew items
2011-12-23 20:58:36 +01:00
Senthil Kumaran
cc4ff04bdd
Merge changes from 3.2
...
Issue12798 - Update mimetypes documentation. Correct the doc section where
common_types was mentioned under MimeTypes class, move it to helper function
category and other documentation improvements contributed by Sandro Tosi.
2011-12-23 10:54:11 +08:00
Antoine Pitrou
0e576f1f50
Issue #13626 : Add support for SSL Diffie-Hellman key exchange, through the
...
SSLContext.load_dh_params() method and the ssl.OP_SINGLE_DH_USE option.
2011-12-22 10:03:38 +01:00
Senthil Kumaran
c90959947b
Docs and News update for Issue13620. Chrome support in webbrowser.py
2011-12-21 22:31:36 +08:00
Antoine Pitrou
d5ec134d82
Issue #13597 : Fix the documentation of the "-u" command-line option, and wording of "What's new in Python 3.0" about standard streams.
2011-12-21 11:24:47 +01:00
Antoine Pitrou
de911b2915
Issue #12708 : Add starmap() and starmap_async() methods (similar to itertools.starmap()) to multiprocessing.Pool.
...
Patch by Hynek Schlawack.
2011-12-21 11:03:24 +01:00
Antoine Pitrou
501da61671
Fix ssl module compilation if ECDH support was disabled in the OpenSSL build.
...
(followup to issue #13627 )
2011-12-21 09:27:41 +01:00
Benjamin Peterson
97193c1a16
merge 3.2
2011-12-20 10:13:05 -06:00
Antoine Pitrou
0831676962
Issue #13637 : "a2b" functions in the binascii module now accept ASCII-only unicode strings.
2011-12-20 13:58:41 +01:00
Antoine Pitrou
8abdb8abd8
Issue #13634 : Add support for querying and disabling SSL compression.
2011-12-20 10:13:40 +01:00
Benjamin Peterson
3563b18c19
merge 3.2
2011-12-19 16:42:28 -05:00
Antoine Pitrou
923df6f22a
Issue #13627 : Add support for SSL Elliptic Curve-based Diffie-Hellman
...
key exchange, through the SSLContext.set_ecdh_curve() method and the
ssl.OP_SINGLE_ECDH_USE option.
2011-12-19 17:16:51 +01:00
Antoine Pitrou
6db4944cc5
Issue #13635 : Add ssl.OP_CIPHER_SERVER_PREFERENCE, so that SSL servers
...
choose the cipher based on their own preferences, rather than on the
client's.
2011-12-19 13:27:11 +01:00
Ezio Melotti
5ce6f8ed5c
#13387 : merge with 3.2.
2011-12-19 07:07:00 +02:00
Victor Stinner
0d81c1357d
Issue #13617 : Document that the result of the conversion of a Unicode object to
...
wchar*, Py_UNICODE* and bytes may contain embedded null characters/bytes.
Patch written by Arnaud Calmettes.
2011-12-18 19:30:55 +01:00
Victor Stinner
6099a03202
Issue #13624 : Write a specialized UTF-8 encoder to allow more optimization
...
The main bottleneck was the PyUnicode_READ() macro.
2011-12-18 14:22:26 +01:00
Victor Stinner
b99bb20ae4
Issue #13522 : Fix _Py_co_pow() documentation
...
Patch written by Arnaud Calmettes.
2011-12-18 02:56:18 +01:00
Antoine Pitrou
b511aca596
Issue #13522 : document error return values of some float and complex C API functions.
2011-12-18 01:26:05 +01:00
Victor Stinner
25ec056cc2
Issue #13530 : Document os.lseek() result
...
Patch written by Jérémy Anger.
2011-12-17 23:15:22 +01:00
Victor Stinner
ab59594326
What's New in Python 3.3: complete the deprecation list
...
Add also FIXMEs in unicodeobject.c
2011-12-17 04:59:06 +01:00
Victor Stinner
f2ea71fcc8
Issue #13560 : Add PyUnicode_EncodeLocale()
...
* Use PyUnicode_EncodeLocale() in time.strftime() if wcsftime() is not
available
* Document my last changes in Misc/NEWS
2011-12-17 04:13:41 +01:00
Ezio Melotti
9987d9351c
#13613 : merge with 3.2.
2011-12-17 01:20:02 +02:00
Ezio Melotti
e5b2ac8987
#13613 : fix example in re doc.
2011-12-17 01:17:17 +02:00
Victor Stinner
af02e1c85a
Add PyUnicode_DecodeLocaleAndSize() and PyUnicode_DecodeLocale()
...
* PyUnicode_DecodeLocaleAndSize() and PyUnicode_DecodeLocale() decode a string
from the current locale encoding
* _Py_char2wchar() writes an "error code" in the size argument to indicate
if the function failed because of memory allocation failure or because of a
decoding error. The function doesn't write the error message directly to
stderr.
* Fix time.strftime() (if wcsftime() is missing): decode strftime() result
from the current locale encoding, not from the filesystem encoding.
2011-12-16 23:56:01 +01:00
Antoine Pitrou
6ec29e299b
Issue #8373 : The filesystem path of AF_UNIX sockets now uses the filesystem
...
encoding and the surrogateescape error handler, rather than UTF-8. Patch
by David Watson.
2011-12-16 14:46:36 +01:00
Antoine Pitrou
093ce9cd8c
Issue #6695 : Full garbage collection runs now clear the freelist of set objects.
...
Initial patch by Matthias Troffaes.
2011-12-16 11:24:27 +01:00
Benjamin Peterson
c144a93e98
property -> staticmethod
2011-12-15 19:24:49 -05:00
Benjamin Peterson
bfebb7b54a
improve abstract property support ( closes #11610 )
...
Thanks to Darren Dale for patch.
2011-12-15 15:34:02 -05:00
Antoine Pitrou
a8ff01ca74
Issue #13597 : Improve documentation of standard streams.
2011-12-15 16:26:03 +01:00
Antoine Pitrou
7158e06212
Issue #13597 : Improve documentation of standard streams.
2011-12-15 16:25:34 +01:00
Giampaolo Rodola'
556ba04a8d
Fix #13449 : add 'blocking' parameter to sched.scheduler.run() so that the scheduler can be used in non-blocking applications
2011-12-14 14:38:45 +01:00
Giampaolo Rodola'
73520d57eb
Fix #8684 : make sched.scheduler class thread-safe
2011-12-14 13:34:26 +01:00
Ezio Melotti
ec51cf159f
#6570 : merge with 3.2.
2011-12-13 15:53:47 +02:00
Ezio Melotti
7b7e39a61f
#6570 : clarify tutorial section about keyword arguments.
2011-12-13 15:49:22 +02:00
Ezio Melotti
d31d57e272
#13549 : merge with 3.2.
2011-12-13 15:38:13 +02:00
Ezio Melotti
91621e2c16
#13549 : improve tutorial section about listcomps.
2011-12-13 15:36:19 +02:00
Florent Xicluna
aa6c1d240f
Issue #13575 : there is only one class type.
2011-12-12 18:54:29 +01:00
Lars Gustäbel
521dfb02dd
Add missing versionchanged information.
2011-12-12 10:22:56 +01:00
Victor Stinner
bf6e560d0c
Make PyUnicode_Copy() private => _PyUnicode_Copy()
...
Undocument the function.
Make also decode_utf8_errors() as private (static).
2011-12-12 01:53:47 +01:00
Benjamin Peterson
8bbe788deb
merge heads
2011-12-10 17:55:31 -05:00
Benjamin Peterson
2122cf717f
alias resource.error to OSError
2011-12-10 17:50:22 -05:00
Lars Gustäbel
0a9dd2f11d
Issue #5689 : Add support for lzma compression to the tarfile module.
2011-12-10 20:38:14 +01:00
Lars Gustäbel
c67c0b0db1
Merge with 3.2: Fix doc typo.
2011-12-10 12:48:03 +01:00
Lars Gustäbel
0c6cbbd632
Fix doc typo.
2011-12-10 12:45:45 +01:00
Florent Xicluna
67317750af
Issue #13248 : turn 3.2's PendingDeprecationWarning into 3.3's DeprecationWarning (cgi, importlib, nntplib, smtpd).
2011-12-10 11:07:42 +01:00
Antoine Pitrou
a9e9abb8ef
Issue #13528 : rework the performance question in the programming FAQ
2011-12-09 23:11:16 +01:00
Antoine Pitrou
432259feea
Issue #13528 : rework the performance question in the programming FAQ
2011-12-09 23:10:31 +01:00
Florent Xicluna
1b7458b2a1
Closes #2979 : add parameter 'use_builtin_types' to the SimpleXMLRPCServer.
2011-12-09 22:35:06 +01:00
Nadeem Vawda
3459922c1b
What's New in Python 3.3: Add entry for lzma module (issue #6715 ).
2011-12-09 01:32:46 +02:00
Victor Stinner
b6821013df
Document PyUnicode_Copy() and PyUnicode_EncodeCodePage()
2011-12-09 00:18:11 +01:00
Victor Stinner
d1be878d7b
What's New in Python 3.3: Add a Deprecated section
2011-12-09 00:10:41 +01:00
Antoine Pitrou
38d9643d5e
Issue #13464 : Add a readinto() method to http.client.HTTPResponse.
...
Patch by Jon Kuhn.
2011-12-06 22:33:57 +01:00
Antoine Pitrou
3731142e19
Merge assorted fixes from 3.2
2011-12-05 01:47:40 +01:00