Commit graph

1193 commits

Author SHA1 Message Date
Éric Araujo
d61926e6be Create ~/.pypirc securely (#13512).
There was a window between the write and the chmod where the user’s
password would be exposed, depending on default permissions.  Philip
Jenvey’s patch fixes it.
2012-12-08 14:51:47 -05:00
Andrew Svetlov
d9569fa90d Drop double newlines printed in some file iteration examples.
Patch by Steven Kryskalla.
2012-12-08 17:59:58 +02:00
Andrew Svetlov
a7129d38ed Drop double newlines printed in some file iteration examples.
Patch by Steven Kryskalla.
2012-12-08 17:59:23 +02:00
Andrew Svetlov
09974b4e9e Drop double newlines printed in some file iteration examples.
Patch by Steven Kryskalla.
2012-12-08 17:59:03 +02:00
Benjamin Peterson
448e81b2da add fixer for reload() -> imp.reload() (closes #11797)\n\nPatch by Laurie Clark-Michalek and Berker Peksag 2012-12-07 22:44:10 -05:00
Christian Heimes
17ad40e46e Have BSD 'make -s' do the right thing, thanks to Daniel Shahaf 2012-12-02 07:37:35 +01:00
Benjamin Peterson
f02f280b87 Add Bruno Dupuis 2012-11-30 16:15:24 -05:00
Ezio Melotti
401cf295e5 #16549: merge with 3.3. 2012-11-29 02:18:34 +02:00
Ezio Melotti
1e86d01e1e #16549: merge with 3.2. 2012-11-29 02:16:58 +02:00
Ezio Melotti
057bcb4c6c #16549: Make json.tool work again on Python 3 and add tests. Initial patch by Berker Peksag and Serhiy Storchaka. 2012-11-29 02:15:18 +02:00
Antoine Pitrou
df204be922 Issue #16423: urllib.request now has support for `data:` URLs.
Patch by Mathias Panzenböck.
2012-11-24 17:59:08 +01:00
Ezio Melotti
195ad6ce05 #16306: merge with 3.3. 2012-11-18 14:06:54 +02:00
Ezio Melotti
f7c709d62d #16306: merge with 3.2. 2012-11-18 14:02:08 +02:00
Ezio Melotti
7c66319edc #16306: Fix multiple error messages when unknown command line parameters where passed to the interpreter. Patch by Hieu Nguyen. 2012-11-18 13:55:52 +02:00
Antoine Pitrou
b5b3714168 Issue #12428: Add a pure Python implementation of functools.partial().
Patch by Brian Thorne.
2012-11-13 21:35:40 +01:00
Nick Coghlan
e69bfc3fb6 Issue #5765: Merge from 3.3 2012-11-04 23:53:15 +10:00
Nick Coghlan
aab9c2b2ea Issue #5765: Apply a hard recursion limit in the compiler
Previously, excessive nesting in expressions would blow the
stack and segfault the interpreter. Now, a hard limit based
on the configured recursion limit and a hardcoded scaling
factor is applied.
2012-11-04 23:14:34 +10:00
Éric Araujo
8c997fa8bf Merge 3.3 2012-11-03 17:07:40 -04:00
Éric Araujo
8f423c9359 Add examples for opener argument of open (#13424).
Patch by Guillaume Pratte.
2012-11-03 17:06:52 -04:00
Ezio Melotti
4e0f36b156 #16152: merge with 3.3. 2012-11-03 17:51:25 +02:00
Ezio Melotti
fafa8b7797 #16152: merge with 3.2. 2012-11-03 17:46:51 +02:00
Ezio Melotti
2cc3b4ba9f #16152: fix tokenize to ignore whitespace at the end of the code when no newline is found. Patch by Ned Batchelder. 2012-11-03 17:38:43 +02:00
Andrew Svetlov
6b973747f3 Issue #16284: Prevent keeping unnecessary references to worker functions in concurrent.futures ThreadPoolExecutor. 2012-11-03 15:36:01 +02:00
Andrew Svetlov
69032c81aa Issue #16309: Make PYTHONPATH= behavior the same as if PYTHONPATH not set at all.
Thanks to Armin Rigo and Alexey Kachayev.
2012-11-03 13:52:58 +02:00
R David Murray
bfa664c5cf #12890: fix test on windows
Patch by Stephen Tonkin.
2012-10-30 20:20:54 -04:00
R David Murray
cc4bacf207 #12890: fix test on windows
Patch by Stephen Tonkin.
2012-10-30 20:20:09 -04:00
Petri Lehtinen
f1380557e3 #14897: Enhance error messages of struct.pack and struct.pack_into
Patch by Matti Mäki.
2012-10-29 21:26:56 +02:00
Petri Lehtinen
4648b4779a #14897: Enhance error messages of struct.pack and struct.pack_into
Patch by Matti Mäki.
2012-10-29 21:25:01 +02:00
Petri Lehtinen
92c28cace4 #14897: Enhance error messages of struct.pack and struct.pack_into
Patch by Matti Mäki.
2012-10-29 21:24:07 +02:00
R David Murray
dcd34a6419 merge #12890: don't emit <p> tags in text mode when logdir specified.
Patch by Jeff McNeil.
2012-10-27 14:57:22 -04:00
R David Murray
c4b8e05092 merge #12890: don't emit <p> tags in text mode when logdir specified.
Patch by Jeff McNeil.
2012-10-27 14:55:25 -04:00
R David Murray
252cd0e4e0 #12890: don't emit <p> tags in text mode when logdir specified.
Patch by Jeff McNeil.
2012-10-27 14:42:47 -04:00
Hynek Schlawack
969684f2ad Merge 3.3 2012-10-27 12:56:30 +02:00
Hynek Schlawack
254af2644a #16307: Fix multiprocessing.Pool.map_async not calling its callbacks
Patch by Janne Karila.
2012-10-27 12:53:02 +02:00
Ezio Melotti
93653c48e6 #16210: merge with 3.3. 2012-10-24 23:07:16 +03:00
Ezio Melotti
e6c0f0d94a #16210: merge with 3.2. 2012-10-24 23:06:56 +03:00
Ezio Melotti
837cd06d36 #16210: combine the two type() docs. Patch by Pete Sevander. 2012-10-24 23:06:25 +03:00
Ezio Melotti
ccc9e617f5 #16245: add a script to generate the html.entities.html5 dict. 2012-10-23 15:46:33 +02:00
Andrew Svetlov
950d5fdc7f Issue #16241: document -X faulthandler command line option.
Patch by Marek Šuppa.
2012-10-23 16:19:26 +03:00
Antoine Pitrou
550841253f Issue #16220: wsgiref now always calls close() on an iterable response.
Patch by Brent Tubbs.
2012-10-21 14:14:34 +02:00
Antoine Pitrou
ae247a5ff6 Issue #16220: wsgiref now always calls close() on an iterable response.
Patch by Brent Tubbs.
2012-10-21 14:09:05 +02:00
Andrew Svetlov
2365f41a0e Merge issue #9583: Document startup option/environment interaction.
Patch by Todd Rovito.
2012-10-17 17:16:19 +03:00
Andrew Svetlov
abfc7df149 Issue #9583: Document startup option/environment interaction.
Patch by Todd Rovito.
2012-10-17 17:15:43 +03:00
Andrew Svetlov
a514ea32b2 Merge issue #14900: Distuguish call count and primitive call count in pstat output.
Patch by Arne Babenhauserheide.
2012-10-07 18:59:11 +03:00
Andrew Svetlov
2ef4584e6d Issue #14900: Distuguish call count and primitive call count in pstat output.
Patch by Arne Babenhauserheide.
2012-10-07 18:58:42 +03:00
Andrew Svetlov
1a8db9cd1d Fix typo in documentation for collections.ChainMap, thanks to Olivier Bernard from docs@ 2012-10-04 19:29:25 +03:00
Jesus Cea
e8801e2e44 MERGE: Closes #16112: platform.architecture does not correctly escape argument to /usr/bin/file 2012-10-04 13:56:23 +02:00
Jesus Cea
fc990e942f Closes #16112: platform.architecture does not correctly escape argument to /usr/bin/file 2012-10-04 13:51:43 +02:00
Jesus Cea
491b6b7c79 MERGE: Fix Misc/ACKS alphabetic order 2012-10-03 03:01:13 +02:00
Jesus Cea
fb22f542d2 MERGE: Closes #15897: zipimport.c doesn't check return value of fseek() 2012-10-03 03:00:37 +02:00