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
Antoine Pitrou
5b73ca4b3d
s/SOCKSTREAM/TCP/
2011-12-05 01:46:35 +01:00
Antoine Pitrou
8e644f0e7c
Reword IPC section
2011-12-05 01:43:32 +01:00
Antoine Pitrou
8345451170
Use www.python.org instead of a hostname pointing to a parked (or squatted) domain.
...
Also, reformat a bit.
2011-12-05 01:37:34 +01:00
Antoine Pitrou
fa03f6c863
Remove the outdated notion that multithreading doesn't work well on Unices.
2011-12-05 01:32:29 +01:00
Antoine Pitrou
9b1ec97867
Remove reference to the base64 encoding.
2011-12-05 01:22:03 +01:00
Antoine Pitrou
534e253cb6
Remove reference to the base64 encoding.
2011-12-05 01:21:46 +01:00
Antoine Pitrou
b53e2c4900
The functional module hasn't been maintained since 2006 and doesn't work with Python 3.
...
Remove section about it from the functional programming FAQ.
2011-12-05 01:05:55 +01:00
Antoine Pitrou
48a7cbf7c2
The functional module hasn't been maintained since 2006 and doesn't work with Python 3.
...
Remove section about it from the functional programming FAQ.
2011-12-05 01:05:32 +01:00
Antoine Pitrou
6da394cfe7
Remove obsolete references to bsddb
2011-12-05 00:41:51 +01:00
Antoine Pitrou
ae44b7a099
Remove obsolete references to bsddb
2011-12-05 00:41:19 +01:00
Antoine Pitrou
d0784b75cb
Issue #13527 : remove mention of Python megawidgets and Tkinter3000 WCK
...
from the doc. These two projects appear dead.
2011-12-04 23:57:55 +01:00
Antoine Pitrou
c1bd4896cf
Issue #13527 : remove mention of Python megawidgets and Tkinter3000 WCK
...
from the doc. These two projects appear dead.
2011-12-04 23:56:30 +01:00
Georg Brandl
4d5232ab8a
Merge with 3.2.
2011-12-04 11:51:33 +01:00
Georg Brandl
6a96a2e1f8
Fix typo.
2011-12-04 11:51:21 +01:00
Antoine Pitrou
090d8132b5
Merge from 3.2
2011-12-03 23:10:12 +01:00
Antoine Pitrou
dec0f21efc
Streamline mention of sorted()
2011-12-03 23:08:57 +01:00
Antoine Pitrou
c561a9adac
Break down and refine memory management question
2011-12-03 23:06:50 +01:00
Antoine Pitrou
17bd792cd3
Reformulate answer, and remove off-topic discussion of bytecode in a question about compiling to C.
2011-12-03 22:56:02 +01:00
Antoine Pitrou
61fed9ccd3
Merge from 3.2
2011-12-03 22:40:23 +01:00
Antoine Pitrou
cc809a286a
Fix compatibility statement.
2011-12-03 22:39:13 +01:00
Antoine Pitrou
748799a0a6
Remove outdated question (the bsddb module isn't included anymore)
2011-12-03 22:37:14 +01:00
Antoine Pitrou
d4ddec5988
Refine FAQ entry for catching stdout
2011-12-03 22:35:31 +01:00
Antoine Pitrou
48383bfc67
Advocate PyTuple_Pack instead of manual building of tuples
2011-12-03 22:30:19 +01:00
Antoine Pitrou
b6032f55d2
Remove outdated FAQ content
2011-12-03 22:26:01 +01:00
Antoine Pitrou
f35204055e
Remove outdate FAQ content
2011-12-03 22:19:55 +01:00
Antoine Pitrou
3cb369dd0a
Streamline FAQ entry about the ternary operator, and suggest using io.StringIO for a mutable unicode container.
2011-12-03 22:11:45 +01:00
Antoine Pitrou
c5b266efb5
Streamline FAQ entry about the ternary operator, and suggest using io.StringIO for a mutable unicode container.
2011-12-03 22:11:11 +01:00
Antoine Pitrou
73080b8d18
Remove references to psyco, which is mostly unmaintained and doesn't work with Python 3.
2011-12-03 21:25:17 +01:00
Antoine Pitrou
9cb41dfbaa
Remove references to psyco, which is mostly unmaintained and doesn't work with Python 3.
2011-12-03 21:21:36 +01:00
Antoine Pitrou
7dc0047d53
Merge doc fixes from 3.2
2011-12-03 21:07:50 +01:00
Antoine Pitrou
5dd95d6f2d
Mention PySide in the "other GUIs" page.
2011-12-03 21:07:01 +01:00
Antoine Pitrou
7462e87134
Mention the new GTK+ 3 bindings.
2011-12-03 20:59:24 +01:00
Meador Inge
80c219b5e7
Issue #13513 : IOBase docs incorrectly link to the readline module
2011-12-03 12:50:18 -06:00
Meador Inge
777bebb0ef
Issue #13513 : IOBase docs incorrectly link to the readline module
2011-12-03 12:29:54 -06:00
Éric Araujo
fe0472e7de
Fix glitches in email.policy docs ( #12208 )
2011-12-03 16:00:56 +01:00
Jason R. Coombs
c9b644eac2
Merge fix for Issue #12666 from 3.2
2011-12-03 08:59:53 -05:00
Jason R. Coombs
a90e364ea5
Issue #12666 : Added section about map changes.
2011-12-03 08:24:21 -05:00
Ezio Melotti
c42512dfc6
#13494 : merge with 3.2.
2011-12-02 19:49:02 +02:00
Ezio Melotti
c1f26f6fc1
#13494 : s/cast/convert/. Also add a link.
2011-12-02 19:47:24 +02:00
Ezio Melotti
a9a2ddf7be
#13499 : merge with 3.2.
2011-12-02 19:29:10 +02:00
Ezio Melotti
b1b3fd23b7
#13499 : fix example adding >>> before the comments.
2011-12-02 19:28:36 +02:00
Victor Stinner
3ba82aa765
c-api: Replace PyUnicodeObject* by PyObject* in "U" format doc
2011-12-01 02:52:55 +01:00
Antoine Pitrou
97ba26bf72
Issue #1040439 : better document how to compile and link an embedded Python interpreter.
...
Still lacks docs for Windows (anyone?).
2011-11-30 21:20:01 +01:00
Antoine Pitrou
71bca3495d
Issue #1040439 : better document how to compile and link an embedded Python interpreter.
...
Still lacks docs for Windows (anyone?).
2011-11-30 21:19:21 +01:00
Nadeem Vawda
3ff069ebc6
Issue #6715 : Add module for compression using the LZMA algorithm.
2011-11-30 00:25:06 +02:00
Antoine Pitrou
7b578b3d89
Mention hashable memoryviews, and reformat.
2011-11-29 22:47:11 +01:00
Antoine Pitrou
0599b5b2a1
Add subheaders to make PEP 393 description clearer
2011-11-29 22:45:07 +01:00
Éric Araujo
c8e032006a
Merge 3.2
2011-11-29 17:14:27 +01:00
Éric Araujo
c4d7d8c49d
Mark up constants in sockets docs as such
2011-11-29 16:46:38 +01:00
Éric Araujo
2bddc53cb9
Fix typo ( #13467 )
2011-11-29 16:34:58 +01:00
Victor Stinner
0fdfceb782
Issue #12567 : The curses module uses Unicode functions for Unicode arguments
...
when it is linked to the ncurses library. It encodes also Unicode strings to
the locale encoding instead of UTF-8.
2011-11-25 22:10:02 +01:00
Antoine Pitrou
e7ede06757
Typo
2011-11-25 19:11:26 +01:00
Antoine Pitrou
6bbd76b0a0
Update What's new for PEP 3155
2011-11-25 19:10:05 +01:00
Antoine Pitrou
86a36b500a
PEP 3155 / issue #13448 : Qualified name for classes and functions.
2011-11-25 18:56:07 +01:00
Antoine Pitrou
e333d00d3a
Clarify concatenation behaviour of immutable strings, and remove explicit
...
mention of the CPython optimization hack.
2011-11-25 16:34:23 +01:00
Antoine Pitrou
fd9ebd4a36
Clarify concatenation behaviour of immutable strings, and remove explicit
...
mention of the CPython optimization hack.
2011-11-25 16:33:53 +01:00
Eli Bendersky
0481f4bca4
fix some typos in Doc/c-api/memoryview.rst
2011-11-25 15:08:45 +02:00
Eli Bendersky
5a53f368e6
fix some typos in Doc/c-api/memoryview.rst
2011-11-25 15:07:50 +02:00
Petri Lehtinen
61ea8a0d28
Add a "What's New" entry for #12170
2011-11-24 22:00:46 +02:00
Vinay Sajip
d2b0217944
Merged documentation addition from 3.2.
2011-11-23 14:29:01 +00:00
Vinay Sajip
631a7e23c5
Added a configuration dictionary example to the logging cookbook.
2011-11-23 14:27:54 +00:00
Vinay Sajip
ce378d1945
Closes #13459 : Merged fix from 3.2.
2011-11-23 08:55:59 +00:00
Vinay Sajip
287f24691d
Closes #13459 : Clarified documentation on Logger.propagate. Thanks to Mike Fogel for the patch.
2011-11-23 08:54:22 +00:00
Amaury Forgeot d'Arc
942d5ba125
Merge branch 3.2
2011-11-22 22:02:01 +01:00
Amaury Forgeot d'Arc
3b1acf11e9
bytes() can't be used to get a representation of an object.
2011-11-22 19:34:08 +01:00
Giampaolo Rodola'
bc7ea5872b
fix wrong credit and issue id given in previous commit
2011-11-22 13:37:58 +01:00
Giampaolo Rodola'
be55d99b3d
Fix 13245:
...
sched.scheduler class constructor's timefunc and delayfunct parameters are now optional.
scheduler.enter and scheduler.enterabs methods gained a new kwargs parameter.
Patch contributed by Matt Mulsow.
2011-11-22 13:33:34 +01:00
Antoine Pitrou
ce4a9da705
Issue #13411 : memoryview objects are now hashable when the underlying object is hashable.
2011-11-21 20:46:33 +01:00
Victor Stinner
a996f1e1a0
What's new in Python 3.3: Rephrase PEP 393 doc
2011-11-21 13:14:43 +01:00
Victor Stinner
46606ce870
Document new and deprecated Unicode functions
2011-11-20 18:27:55 +01:00
Victor Stinner
b4938aaf15
Document PyUnicode_WCHAR_KIND
2011-11-20 18:27:28 +01:00
Mark Dickinson
895d181128
Issue #12245 merge.
2011-11-19 16:27:22 +00:00
Mark Dickinson
b1e58fe43f
Issue #12245 : Document sys.float_info.rounds better.
2011-11-19 16:26:45 +00:00
Ezio Melotti
2251a3d233
#13387 : merge with 3.2.
2011-11-18 19:01:01 +02:00
Ezio Melotti
fabf0275a9
#13387 : add note about checking the exact type in assertIsInstance doc.
2011-11-18 18:59:36 +02:00
Ezio Melotti
4d5d4e2855
#13426 : merge with 3.2.
2011-11-18 13:52:37 +02:00
Ezio Melotti
e62aad3073
#13426 : fix typos in pickle doc.
2011-11-18 13:51:10 +02:00
Antoine Pitrou
5a8bc6f7f9
Add a couple other whatsnew items
2011-11-17 02:20:48 +01:00
Antoine Pitrou
2c0a967f8e
Add various items in whatsnew
2011-11-17 02:09:13 +01:00
Antoine Pitrou
45b3ad420d
Remove XXX, as the functions and macros are mentioned in the porting section
2011-11-17 02:00:19 +01:00
Antoine Pitrou
beb7836260
Explain concrete (resource consumption) effects of PEP 393 a bit.
2011-11-17 01:59:51 +01:00
Antoine Pitrou
d136aecd1f
Be a bit less shy
2011-11-17 01:48:06 +01:00
Eli Bendersky
27c2a861ee
fixing typos in optparse doc
2011-11-16 06:03:09 +02:00
Eli Bendersky
eeae1498aa
fixing typos in optparse doc
2011-11-16 06:02:21 +02:00
Victor Stinner
19bd0698e5
What's New in 3.3: Add a "Deprecated ..." section
2011-11-16 00:18:57 +01:00
Victor Stinner
1ab6c2d2c2
Issue #13374 : The Windows bytes API has been deprecated in the os module. Use
...
Unicode filenames instead of bytes filenames to not depend on the ANSI code
page anymore and to support any filename.
2011-11-15 22:27:41 +01:00
Florent Xicluna
6166519d2b
Closes #13297 : use bytes type to send and receive binary data through XMLRPC.
2011-11-15 20:53:25 +01:00
Éric Araujo
5f7f6150c3
Merge 3.2
2011-11-15 16:13:16 +01:00