Andrew Kuchling
6ce8d17d02
Merge from 3.3
2013-06-22 14:57:45 -04:00
Andrew Kuchling
9290dd14b0
#18113 : avoid segfault if Py_XDECREF triggers code that calls set_panel_userptr again
...
Problem noted & original patch by Serhiy Storchaka; I tweaked the patch a bit.
2013-06-22 14:50:56 -04:00
Christian Heimes
70833a8b1f
... also TLSv1.1 and TLSv1.2
2013-06-22 19:34:17 +02:00
Christian Heimes
24cd4cfc58
Add my SSL module patches to whatsnew 3.4
2013-06-22 19:31:58 +02:00
Christian Heimes
6ade516510
BSD: block devices are gone
...
http://www.freebsd.org/doc/en/books/arch-handbook/driverbasics-block.html
2013-06-22 14:48:42 +02:00
Christian Heimes
45d9493ee9
BSD: block devices are gone
...
http://www.freebsd.org/doc/en/books/arch-handbook/driverbasics-block.html
2013-06-22 14:48:32 +02:00
Brett Cannon
27bc441f5e
merge for issue #18278
2013-06-21 18:37:02 -04:00
Brett Cannon
29b2f174da
Issue #18278 : properly document how the loaders are called for FileFinder
2013-06-21 18:31:55 -04:00
Victor Stinner
f1913ca37f
marshal: optimize parsing of empty Unicode strings
...
Don't create a temporary buffer of zeroy byte nor call r_string() if the length
is zero, create directly the empty string.
2013-06-21 19:08:06 +02:00
Christian Heimes
79278bd8f6
Fix test_stat on BSD, /dev/da0 and /dev/ad0 are links
2013-06-21 18:53:27 +02:00
Christian Heimes
60a95933cb
Fix test_stat on BSD, /dev/da0 and /dev/ad0 are links
2013-06-21 18:53:13 +02:00
Christian Heimes
085e1c6e6c
Add tests for untested features of the 'stat' module (part of issue #11016 )
2013-06-21 18:26:05 +02:00
Christian Heimes
f678b3131e
Add tests for untested features of the 'stat' module (part of issue #11016 )
2013-06-21 18:25:56 +02:00
Andrew Kuchling
4921a089e2
#12716 : reorganize docs for os module a bit
...
* Move the constants used by os.open() to after the description of os.open(),
instead of putting them in their own section.
* Move RTLD_* constants to "Miscellaneous System Information" section, and
mention the sys functions they're used with.
* Mention dir_fd parameter in os.open() text.
* Typo fix ("are a supported by").
2013-06-21 11:49:57 -04:00
Andrew Kuchling
c61b913078
#13226 : update references from ctypes/DLFCN modules to os module
2013-06-21 10:58:41 -04:00
Andrew Kuchling
3468d25a80
Merge from 3.3
2013-06-21 08:07:35 -04:00
Andrew Kuchling
edb4260ffd
Closes #18218 : use correct variable name for starting point
2013-06-21 08:00:58 -04:00
Andrew Kuchling
b003ffa0ab
Closes #18239 : correct description of count() in module docstring
2013-06-21 07:58:35 -04:00
Andrew Kuchling
5e03e49c94
Closes #18247 : add Lib/test/data/* to .gitignore
2013-06-21 07:44:50 -04:00
Andrew Kuchling
29303d4ea5
Merge from 3.3
2013-06-20 21:40:14 -04:00
Andrew Kuchling
c3db3739aa
Closes #18267 : use floor division in code example
2013-06-20 21:33:05 -04:00
Brett Cannon
83358c9f13
Grammatical mistake in a comment
2013-06-20 21:30:32 -04:00
Andrew Kuchling
f862dc53e8
Merge from 3.3
2013-06-20 21:20:20 -04:00
Andrew Kuchling
1d7d580d0e
Closes #18272 : use 'builtins' for 3.3 instead of __builtin__
2013-06-20 21:17:41 -04:00
Victor Stinner
854ffcb6f3
whatsnew/3.4: mention functools.singledispatch, PEP 443
2013-06-21 00:36:30 +02:00
Victor Stinner
84e33c8431
whatsnew/3.4: mention the new enum module, PEP 435
2013-06-21 00:31:55 +02:00
Andrew Kuchling
7aed567f2b
Merge from 3.3
2013-06-20 09:51:51 -04:00
Andrew Kuchling
2151fc6416
#4153 : update Unicode howto for Python 3.3
...
* state that python3 source encoding is UTF-8, and give examples
* mention surrogateescape in the 'tips and tricks' section, and
backslashreplace in the "Python's Unicode Support" section.
* Describe Unicode support provided by the re module.
* link to Nick Coghlan's and Ned Batchelder's notes/presentations.
* default filesystem encoding is now UTF-8, not ascii.
* Describe StreamRecoder class.
* update acks section
* remove usage of "I think", "I'm not going to", etc.
* various edits
* remove revision history and original outline
2013-06-20 09:29:09 -04:00
Senthil Kumaran
f83bc7a2c9
merge from 3.3
...
Add -b and -X options to python man page.
Patch contributed by Corey Brune.
2013-06-19 22:20:26 -05:00
Senthil Kumaran
ce3dd0bdd5
Add -b and -X options to python man page.
...
Patch contributed by Corey Brune.
2013-06-19 22:19:46 -05:00
R David Murray
2f72aed1b4
Merge: Tweak programming faq examples so that it (mostly) passes doctest.
2013-06-19 16:59:22 -04:00
R David Murray
fdf9503038
Tweak programming faq examples so that it (mostly) passes doctest.
...
The exception is the import related questions at the end, which
need to be rewritten anyway.
2013-06-19 16:58:26 -04:00
Benjamin Peterson
15a7d2e8d6
merge 3.3 ( #18248 )
2013-06-19 09:01:58 -07:00
Benjamin Peterson
19886b8adc
fix libffi build on AIX ( closes #18248 )
2013-06-19 09:01:42 -07:00
Serhiy Storchaka
10dc0eb5a4
Issue #18202 : Fix minor bugs and cleanup test_source_encoding.py.
2013-06-19 10:29:58 +03:00
Serhiy Storchaka
0a3cdf063c
Issue #18202 : Fix minor bugs and cleanup test_coding.py.
2013-06-19 10:23:35 +03:00
Brett Cannon
aa3ca7e0f2
merge
2013-06-18 20:51:42 -04:00
Brett Cannon
89df7b4e64
Issue #17177 : Clarify some deprecations
2013-06-18 20:49:55 -04:00
Christian Heimes
262e7f389c
fixed libffi on PPC without __NO_FPRS__
...
ISO C90 forbids mixed declarations and code
2013-06-19 02:43:19 +02:00
Christian Heimes
2f13f546e6
fixed libffi on PPC without __NO_FPRS__
...
ISO C90 forbids mixed declarations and code
2013-06-19 02:40:38 +02:00
Christian Heimes
d9a52f2625
merge heads
2013-06-19 02:09:00 +02:00
Christian Heimes
dceec13dfb
merge heads
2013-06-19 02:08:41 +02:00
Christian Heimes
71515510d8
Issue #18259 : Declare sethostname in socketmodule.c for AIX
2013-06-19 02:07:20 +02:00
Christian Heimes
d2774c7d09
Issue #18259 : Declare sethostname in socketmodule.c for AIX
2013-06-19 02:06:29 +02:00
Antoine Pitrou
5e946bacef
Fix compilation warning with gcc 4.8 (unused typedef)
2013-06-18 23:28:18 +02:00
Antoine Pitrou
1a1a06ee36
Issue #18256 : Compilation fix for recent AIX releases. Patch by David Edelsohn.
2013-06-18 22:19:11 +02:00
Antoine Pitrou
9a00e0a41c
Issue #18256 : Compilation fix for recent AIX releases. Patch by David Edelsohn.
2013-06-18 22:17:48 +02:00
Christian Heimes
360b89ca5e
Fix for r84195: add HAVE_ALLOCA_H to configure and only include alloca.h if it's available
2013-06-18 13:22:37 +02:00
Christian Heimes
f0400baba8
Fix for r84195: add HAVE_ALLOCA_H to configure and only include alloca.h if it's available
2013-06-18 13:22:17 +02:00
Brett Cannon
8dd823340f
Grammar tweak
2013-06-17 19:58:57 -04:00