Victor Stinner
8cfd67cfe7
(Merge 3.3) Issue #18135 : Fix a possible integer overflow in
...
ssl.SSLSocket.write() and in ssl.SSLContext.load_cert_chain() for strings and
passwords longer than 2 gigabytes.
2013-06-23 15:09:26 +02:00
Victor Stinner
9ee0203057
Issue #18135 : Fix a possible integer overflow in ssl.SSLSocket.write()
...
and in ssl.SSLContext.load_cert_chain() for strings and passwords longer
than 2 gigabytes.
2013-06-23 15:08:23 +02:00
Victor Stinner
4569cd5eab
_ssl.c: strip trailing spaces
2013-06-23 14:58:43 +02:00
Victor Stinner
2ab07f01a4
(Merge 3.3) Issue #18137 : Detect integer overflow on precision in
...
float.__format__() and complex.__format__().
2013-06-23 14:55:43 +02:00
Victor Stinner
2f084ecfe7
Issue #18137 : Detect integer overflow on precision in float.__format__() and
...
complex.__format__().
2013-06-23 14:54:30 +02:00
Victor Stinner
c6ebd16a20
Issue #11016 : Try to fix compilaton of the new _stat.c module on Windows
2013-06-23 01:49:42 +02:00
Andrew Kuchling
0e03d6f2e9
Merge from 3.3
2013-06-22 19:27:59 -04:00
Andrew Kuchling
da30acf50b
Closes #18220 : expand itertools.islice docstring to 2 lines
2013-06-22 19:20:54 -04:00
Andrew Kuchling
446a39f78f
Close #18285 : add 'repeat' parameter to docstring for product
2013-06-22 19:04:11 -04:00
Terry Jan Reedy
b54b0ca02a
#18151 Merge from 3.3
2013-06-22 18:37:34 -04:00
Terry Jan Reedy
de3beb2617
#18151 , part 2: Silence debug build resource warning for each file opened by
...
'Find in files' by replacing 'open with implicit close' by 'with open' in
GrepDialog method grep_it. Streamline code with enumerate(), direct file
iteration, and output tweak. Add test for this method, including output format.
2013-06-22 18:26:51 -04:00
Christian Heimes
c77d9f38c2
Issue #11016 : Add C implementation of the stat module as _stat
2013-06-22 21:05:02 +02:00
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