R David Murray
ac4e5abc78
#12147 : make send_message correctly handle Sender and Resent- headers.
...
Original patch by Nicolas Estibals. My tweaks to the patch were mostly
style/cosmetic, and adding more tests.
2011-07-02 21:03:19 -04:00
Giampaolo Rodola'
210e7ca032
Issue #12442 : add shutil.disk_usage()
2011-07-01 13:55:36 +02:00
Ned Deily
8b56c4b1b8
Issue #8746 : Correct faulty configure checks so that os.chflags() and
...
os.lchflags() are once again built on systems that support these
functions (*BSD and OS X). Also add new stat file flags for OS X
(UF_HIDDEN and UF_COMPRESSED). Also add additional tests for
os.chflags() and os.lchflags(). (Tests by Garrett Cooper)
2011-06-28 00:13:01 -07:00
Ned Deily
3eb67d58d6
Issue #8746 : Correct faulty configure checks so that os.chflags() and
...
os.lchflags() are once again built on systems that support these
functions (*BSD and OS X). Also add new stat file flags for OS X
(UF_HIDDEN and UF_COMPRESSED). Also add additional tests for
os.chflags() and os.lchflags(). (Tests by Garrett Cooper)
2011-06-28 00:00:28 -07:00
Vinay Sajip
2353e35570
Closes #12419 : Added ident to SysLogHandler.
2011-06-27 15:40:06 +01:00
Giampaolo Rodola'
096dcb1eff
Issue 12139: add CCC command support to FTP_TLS class to revert the SSL connection back to clear-text.
2011-06-27 11:17:51 +02:00
Ezio Melotti
58ff0039a3
#11363 : merge with 3.2.
2011-06-26 13:39:35 +03:00
Ezio Melotti
4850d52b4d
#11363 : add missing functions from curses doc. Patch by Sandro Tosi.
2011-06-26 13:34:56 +03:00
Ezio Melotti
b6b7371329
#11363 : clean up curses doc.
2011-06-26 13:38:11 +03:00
Ezio Melotti
54cc5fd72d
Use correct markup in zipimport.rst. Patch by Sara Magliacane.
2011-06-25 19:40:06 +03:00
Ezio Melotti
2d826e8f4b
Use correct markup in zipimport.rst. Patch by Sara Magliacane.
2011-06-25 19:40:06 +03:00
Raymond Hettinger
9d3df6d508
Issue 11889: Clarify docs for enumerate.
2011-06-25 15:00:14 +02:00
Mark Dickinson
7e4b5c6773
Merge #12228
2011-06-25 12:04:08 +02:00
Mark Dickinson
40d9ebe031
Issue #12228 : Fix exchanged flag descriptions in stat.rst. Thanks Sandro Tosi.
2011-06-25 12:03:33 +02:00
Raymond Hettinger
4d5208d2e2
Fix typo (reported by Hiro Ashiya).
2011-06-25 11:39:00 +02:00
Raymond Hettinger
04e1012e2d
Issue 11889: Clarify docs for enumerate.
2011-06-25 15:00:46 +02:00
Ross Lagerwall
bc808224b6
Issue #12303 : Add sigwaitinfo() and sigtimedwait() to the signal module.
2011-06-25 12:13:40 +02:00
Mark Dickinson
bb66972c0b
Merge #12228
2011-06-25 12:04:45 +02:00
Raymond Hettinger
f68f7148d1
Fix typo (reported by Hiro Ashiya).
2011-06-25 11:39:42 +02:00
R David Murray
947d6b0444
merge #9921 : clarify os.path.join joining algorithm
2011-06-23 21:26:48 -04:00
R David Murray
24eb4bc5c9
#9921 : clarify os.path.join joining algorithm
...
The new wording is based on the comments in the code, which
match the actual behavior.
2011-06-23 21:26:13 -04:00
R David Murray
3a420c752d
#10354 : remove last public mentions of 'template' and comment as private.
...
I didn't rename the variable because I can see no good reason
to break backward compatibility just to put an underscore in
the name.
2011-06-22 21:01:13 -04:00
Senthil Kumaran
d6b3840e7d
merge from 3.2
2011-06-19 18:23:17 -07:00
Senthil Kumaran
656df5ec3e
Fix closes issue 12360 - correcting parameter names in asyncore documentation.
2011-06-19 18:22:33 -07:00
Senthil Kumaran
110cac1523
merge from 3.2
2011-06-19 17:00:29 -07:00
Senthil Kumaran
fd8d7e9b0d
Whitespace nit fixed using reident.
2011-06-19 16:59:41 -07:00
Senthil Kumaran
9f90470aa6
merge from 3.2. Updates to http.client documentation.
2011-06-19 16:57:49 -07:00
Senthil Kumaran
ce9b596c04
Fix closes Issue12315 - Updates to http.client documentation.
2011-06-19 16:56:49 -07:00
Senthil Kumaran
8ae34b46c7
merge from 3.2
2011-06-19 13:56:56 -07:00
Senthil Kumaran
a977acc0fe
merge from 3.1 for issue issue12261.
2011-06-19 13:55:48 -07:00
Senthil Kumaran
fe9230aac6
Fix closes issue12261 - Minor documention changes in the urllib.parse.rst
2011-06-19 13:52:49 -07:00
Éric Araujo
e043b6bac7
Add missing documentation for packaging.pypi.base and .simple
2011-06-19 19:23:48 +02:00
Benjamin Peterson
12f2bffce1
merge heads
2011-06-19 09:38:02 -05:00
Benjamin Peterson
defe6f61fe
clarify
2011-06-19 09:37:18 -05:00
Victor Stinner
2510d9e8d9
faulthandler doc: the the => the
2011-06-19 16:07:20 +02:00
R David Murray
50ae84e727
merge #6771 : fix docs: curses.wrapper is exposed as a function, not a module
2011-06-18 19:41:43 -04:00
R David Murray
409c32f47c
#6771 : fix docs: curses.wrapper is exposed as a function, not a module
...
Patch by July Tikhonov.
2011-06-18 19:34:12 -04:00
Benjamin Peterson
85198753f1
edit and rewrite
2011-06-17 19:54:52 -05:00
Benjamin Peterson
364cbb8ca4
merge 3.2
2011-06-16 18:50:21 -05:00
Benjamin Peterson
a08eb73b4a
update link to pycrypto ( closes #12351 )
2011-06-16 18:49:46 -05:00
Éric Araujo
a1969e0cbf
Merge wording change from 3.2
2011-06-15 17:51:05 +02:00
Éric Araujo
8ddf7c2d2b
Minor wording improvement
2011-06-15 17:49:20 +02:00
Georg Brandl
e10b5e1dbb
Fix markup.
2011-06-14 21:09:55 +02:00
Vinay Sajip
bf94b0f943
Merged documentation update for Formatter.formatTime.
2011-06-12 11:50:40 +01:00
Vinay Sajip
cdc751720e
Updated Formatter.formatTime documentation.
2011-06-12 11:44:28 +01:00
Vinay Sajip
95ebf0ef00
Merged documentation update for issue #12206 .
2011-06-11 23:04:35 +01:00
Vinay Sajip
0aaa9e1d7b
Issue #12206 : documentation for LogRecord constructor updated re. the level argument.
2011-06-11 23:03:37 +01:00
Éric Araujo
bc18532eee
Branch merge
2011-06-11 19:56:09 +02:00
Éric Araujo
7ebadd5d8d
Use correct directive to document one method
2011-06-11 03:27:03 +02:00
Vinay Sajip
89c00ce33a
Updated Formatter.formatTime docs to indicate configuration via class attributes.
2011-06-10 19:05:16 +01:00
Vinay Sajip
bbbee04ef4
Merged documentation change for Issue #12168 .
2011-06-10 18:54:12 +01:00
Vinay Sajip
645e4589b1
Documented change for Issue #12168 .
2011-06-10 18:52:50 +01:00
Ross Lagerwall
b0ae53d8a0
Issue #9344 : Add os.getgrouplist().
2011-06-10 07:30:30 +02:00
Éric Araujo
577a6af8e6
Merge doc fixes from 3.2
2011-06-09 16:28:19 +02:00
Éric Araujo
e00a6703e8
Branch merge
2011-06-09 14:07:46 +02:00
Éric Araujo
c7f9f2bfc7
Document how to define extension modules in setup.cfg
2011-06-09 08:18:17 +02:00
Charles-François Natali
4dd453c6aa
Issue #12021 : Make mmap's read() method argument optional. Patch by Petri
...
Lehtinen.
2011-06-08 19:18:14 +02:00
Antoine Pitrou
dd69649660
Issue #9205 : concurrent.futures.ProcessPoolExecutor now detects killed
...
children and raises BrokenProcessPool in such a situation. Previously it
would reliably freeze/deadlock.
2011-06-08 17:21:55 +02:00
Éric Araujo
96deb7550e
Add links from builtins module docs to built-in functions and constants docs
2011-06-08 04:53:20 +02:00
Charles-François Natali
368f34bb4b
Issue #12196 : Make os.pipe2() flags argument mandatory.
2011-06-06 19:49:47 +02:00
Antoine Pitrou
176f07dadf
Issue #12040 : Expose a new attribute `sentinel` on instances of
...
:class:`multiprocessing.Process`. Also, fix Process.join() to not use
polling anymore, when given a timeout.
2011-06-06 19:35:31 +02:00
Éric Araujo
e77535c90b
Branch merge
2011-06-06 17:12:29 +02:00
Gregory P. Smith
d64b2bae9b
merge heads.
2011-06-04 23:05:19 -07:00
Éric Araujo
459b452b98
Merge ABC and distutils touch-ups from 3.2.
...
I have removed the reST target I added in 38cdca2cc253: it is not necessary, as
people can link to the glossary entry or the abc module without it.
Two indentation fixes from 3.2 collections.rst have been ported to 3.3
collections.abc.rst.
2011-06-04 21:16:42 +02:00
Éric Araujo
fa088dbd0c
Improve glossary entry for ABCs.
...
- Rename reST target name for collections ABCs to avoid collisions
- Add link to importlib ABCs (collections, numbers and io ABCs were already
linked)
- Link to glossary entry from numbers module doc (other modules already do it)
2011-06-04 18:42:38 +02:00
Éric Araujo
36226804fe
Point to new collections.abc module for collections ABCs
2011-06-03 20:49:39 +02:00
Éric Araujo
07e58c3389
Remove link that’s already present at the top of the file
2011-06-03 20:43:42 +02:00
Éric Araujo
f90112efe8
Fix reST label for collections ABCs.
...
The previous markup hijacked the abstract-base-classes glossary entry,
which resulted in the HTML linking to collections.abc when defining the
generic ABC concept. Now the glossary links to the abc module.
2011-06-03 19:18:41 +02:00
Raymond Hettinger
3d89057ff8
Fix named tuples to work with vars().
2011-06-02 23:40:24 -07:00
Éric Araujo
acf71b89ff
Merge packaging doc fix
2011-06-02 16:43:25 +02:00
Éric Araujo
55729fe718
Packaging doc: Add missing index file, improve main page description.
...
Also promote notices from distutils doc to deprecation boxes.
2011-06-02 15:45:25 +02:00
Raymond Hettinger
0f6a7323d3
merge
2011-06-01 16:18:00 -07:00
Raymond Hettinger
9028928156
Forward port doc updates for builtin functions.
2011-06-01 16:17:23 -07:00
Éric Araujo
3a9f58f6b3
Add documentation for the packaging module.
...
This updates the user guide to refer to Packaging instead of Distutils.
Some files still require an update.
2011-06-01 20:42:49 +02:00
Victor Stinner
2a12974bca
Close #12028 : Make threading._get_ident() public, rename it to
...
threading.get_ident() and document it. This function was used by
_thread.get_ident().
2011-05-30 23:02:52 +02:00
Victor Stinner
e15dce3d18
Close #12171 : IncrementalEncoder.reset() of CJK codecs (multibytecodec) calls
...
encreset() instead of decreset().
2011-05-30 22:56:00 +02:00
Charles-François Natali
daafdd5bea
Issue #12196 : Add pipe2() to the os module.
2011-05-29 20:07:40 +02:00
Éric Araujo
f7d08e8522
Merge 3.2
2011-05-29 18:13:51 +02:00
Éric Araujo
75e86a678c
Merge 3.1
2011-05-29 18:07:12 +02:00
Éric Araujo
6a21f5527c
Don’t misuse “package data” in pprint example
2011-05-29 03:46:31 +02:00
Éric Araujo
f21563160e
Put version* directives at the right scope
2011-05-29 03:27:48 +02:00
Éric Araujo
bc57789daf
Improve example for crypt module. No string exceptions..
2011-05-29 03:24:45 +02:00
Éric Araujo
601aba6f15
Merge touch-ups and fixes for #9831 (+port fix to packaging) and #9223 from 3.2
2011-05-29 00:56:39 +02:00
Éric Araujo
c5069e0070
Merge doc touch-ups and fixes for #9831 and #9223 from 3.1
2011-05-29 00:29:56 +02:00
Victor Stinner
0501070669
Revert my commit 3555cf6f9c98: "Issue #8796 : codecs.open() calls the builtin
...
open() function instead of using StreamReaderWriter. Deprecate StreamReader,
StreamWriter, StreamReaderWriter, StreamRecoder and EncodedFile() of the codec
module. Use the builtin open() function or io.TextIOWrapper instead."
"It has not been approved !" wrote Marc-Andre Lemburg.
2011-05-27 16:50:40 +02:00
Éric Araujo
f33de71514
Minor doc addition for clarity
2011-05-27 04:42:47 +02:00
Nadeem Vawda
4e18ac850f
Merge heads
2011-05-27 02:03:06 +02:00
Nadeem Vawda
200e00a904
Update bz2 docs following issue #1625 .
2011-05-27 01:52:16 +02:00
Victor Stinner
98fe1a0c3b
Issue #8796 : codecs.open() calls the builtin open() function instead of using
...
StreamReaderWriter. Deprecate StreamReader, StreamWriter, StreamReaderWriter,
StreamRecoder and EncodedFile() of the codec module. Use the builtin open()
function or io.TextIOWrapper instead.
2011-05-27 01:51:18 +02:00
Éric Araujo
f46676d48f
Branch merge
2011-05-26 16:35:14 +02:00
Senthil Kumaran
5e826e8a1b
Fix closes issue #11109 - socketserver.ForkingMixIn leaves zombies, also fails to reap all zombies in one pass.
...
A new method called service_action is made available in BaseServer, called by
serve_forever loop. This useful in cases where Mixins can use it for cleanup
action. ForkingMixin class uses service_action to collect the zombie child
processes. Initial Patch by Justin Wark.
2011-05-26 00:22:59 +08:00
Éric Araujo
0f67a99fc9
Branch merge
2011-05-25 18:22:11 +02:00
Victor Stinner
c58140c557
Issue #12049 : cleanup the warning in the random module doc
2011-05-25 13:13:55 +02:00
Victor Stinner
a675206366
Issue #12049 : Document errors cases of ssl.RAND_bytes() and
...
ssl.RAND_pseudo_bytes(). Add also links to RAND_status and RAND_add.
2011-05-25 11:27:40 +02:00
Victor Stinner
19fb53c119
Issue #12049 : improve RAND_bytes() and RAND_pseudo_bytes() documentation
...
Add also a security warning in the module random pointing to ssl.RAND_bytes().
2011-05-24 21:32:40 +02:00
Victor Stinner
99c8b16143
Issue #12049 : Add RAND_bytes() and RAND_pseudo_bytes() functions to the ssl
...
module.
2011-05-24 12:05:19 +02:00
Raymond Hettinger
1dc5407020
Clean-up example.
2011-05-23 12:46:20 -07:00
Raymond Hettinger
4b244ef255
Clean-up example.
2011-05-23 12:45:34 -07:00
Gregory P. Smith
b6471db8a7
Further documentation updates to be consistent with doc standards and comments
...
Ezio Melotti pointed out.
2011-05-22 22:47:55 -07:00
Gregory P. Smith
a454ef6985
Update documentation to mention bytes instead byte string and correct one
...
mentioned string to the accurate description of what type is required.
2011-05-22 22:29:49 -07:00
Gregory P. Smith
6352298ac4
Refer to the return value on nameindex and friends as a string, not a byte
...
string. The code was fixed to return strings instead of bytes and to accept
either.
2011-05-22 22:16:57 -07:00
Charles-François Natali
1e045b1831
Issue #12105 : Add O_CLOEXEC to the os module.
2011-05-22 20:42:32 +02:00
Raymond Hettinger
89cc452f4b
Simplify example
2011-05-21 09:37:36 -07:00
Raymond Hettinger
f9ca76f500
Simplify example
2011-05-21 09:33:45 -07:00
Benjamin Peterson
2ed7521e96
merge 3.2
2011-05-20 11:49:58 -05:00
Benjamin Peterson
619323c68f
merge 3.1
2011-05-20 11:49:19 -05:00
Benjamin Peterson
2340986fe0
this should actually be an IOError
2011-05-20 11:49:06 -05:00
Benjamin Peterson
7f071e6e9f
merge 3.2
2011-05-20 11:42:47 -05:00
Benjamin Peterson
c7dd737ef7
merge 3.1
2011-05-20 11:41:59 -05:00
Benjamin Peterson
249b508c98
add example for not using access
2011-05-20 11:41:13 -05:00
Antoine Pitrou
e065020680
Issue #8809 : The SMTP_SSL constructor and SMTP.starttls() now support
...
passing a `context` argument pointing to an ssl.SSLContext instance.
Patch by Kasun Herath.
2011-05-18 18:03:09 +02:00
Gregory P. Smith
5ed2e779f1
Issue #1746656 : Add if_nameindex, if_nametoindex, if_indextoname
...
methods to the socket module.
2011-05-15 00:26:45 -07:00
Łukasz Langa
9334758955
Merged rethought pprint example from 3.2.
2011-05-14 22:58:17 +02:00
Łukasz Langa
d8eab60c00
Merged rethought pprint usage example from 3.1.
2011-05-14 22:49:10 +02:00
Łukasz Langa
4ad78ab766
pprint usage example rethought.
2011-05-14 22:43:44 +02:00
Raymond Hettinger
db3dd8a6cc
Further beautification of the example
2011-05-13 01:39:22 -07:00
Raymond Hettinger
23157e5ddc
Further beautification of the example
2011-05-13 01:38:31 -07:00
Raymond Hettinger
2584b2f9f3
Neaten up example so it can be cut and pasted.
2011-05-13 01:04:45 -07:00
Raymond Hettinger
9c47d778f7
Neaten up example so it can be cut and pasted.
2011-05-13 01:03:50 -07:00
Georg Brandl
93ea851e83
Merge two minor doc changes into default.
2011-05-13 07:01:58 +02:00
Georg Brandl
5166375045
Use singular they. Thanks to Mark Summerfield.
2011-05-13 06:55:28 +02:00
Georg Brandl
325477e20e
Fix unbound local error in RE tokenizer example. Thanks to Herman L. Jackson.
2011-05-13 06:54:23 +02:00
Gregory P. Smith
c9557af441
merge - 7a3f3ad83676 Fixes Issue #12044 .
2011-05-11 22:18:23 -07:00
Gregory P. Smith
6b65745430
- Issue #12044 : Fixed subprocess.Popen when used as a context manager to
...
wait for the process to end when exiting the context to avoid unintentionally
leaving zombie processes around.
2011-05-11 21:42:08 -07:00
Ezio Melotti
e9c7d6c3d9
Fix markup and working in the doc.
2011-05-12 01:10:57 +03:00
Raymond Hettinger
caece0a6a0
Document default fmtspec. Fix inaccurate note. Document exceptions.
2011-05-11 10:48:02 -07:00
Raymond Hettinger
30439b23c0
Document default fmtspec. Fix inaccurate note. Document exceptions.
2011-05-11 10:47:27 -07:00
Senthil Kumaran
57e6eac905
Issue #11968 - the start_response header values in wsgiref shoudl be str not
...
bytes. The PEP-0333 says that and test_wsgiref follows the same. Updated docs
accordingly.
2011-05-11 22:34:59 +08:00
Senthil Kumaran
61b5efc2b9
Fix closed Issue #11968 - the start_response header values in wsgiref shoudl be
...
str not bytes. The PEP-0333 says that and test_wsgiref follows the same.
Updated docs accordingly.
2011-05-11 22:27:26 +08:00
Senthil Kumaran
4de00a2e87
Fix closes Issue #11799 : urllib.request Authentication Handlers will raise a
...
ValueError when presented with an unsupported Authentication Scheme.
2011-05-11 21:17:57 +08:00
Senthil Kumaran
cc99528d87
issue12039 - update the documentation of send_response method in http.server.rst.
2011-05-11 16:04:28 +08:00
Senthil Kumaran
6ea17a88af
Issue #12039 - Update the http.server.rst with the requirement to call `end_headers` after calling `send_header`.
2011-05-11 11:45:48 +08:00
Antoine Pitrou
3cade9942e
Issue #8498 : In socket.accept(), allow to specify 0 as a backlog value in
...
order to accept exactly one connection. Patch by Daniel Evers.
2011-05-10 19:19:13 +02:00
Antoine Pitrou
1be815aac4
Issue #8498 : In socket.accept(), allow to specify 0 as a backlog value in
...
order to accept exactly one connection. Patch by Daniel Evers.
2011-05-10 19:16:29 +02:00
Łukasz Langa
3c6e4dd11f
Merged trivial doc fix from 3.2.
2011-05-10 15:26:22 +02:00
Łukasz Langa
cda41d3bf7
Actually print out the description of what changed.
2011-05-10 15:25:41 +02:00
Victor Stinner
17ca323e7c
(Merge 3.1) Issue #12012 : ssl.PROTOCOL_SSLv2 becomes optional
...
OpenSSL is now compiled with OPENSSL_NO_SSL2 defined (without the SSLv2
protocol) on Debian: fix the ssl module on Debian Testing and Debian Sid.
Optimize also ssl.get_protocol_name(): speed does matter!
2011-05-10 00:48:41 +02:00
Victor Stinner
ee18b6f2fd
Issue #12012 : ssl.PROTOCOL_SSLv2 becomes optional
...
OpenSSL is now compiled with OPENSSL_NO_SSL2 defined (without the SSLv2
protocol) on Debian: fix the ssl module on Debian Testing and Debian Sid.
Optimize also ssl.get_protocol_name(): speed does matter!
2011-05-10 00:38:00 +02:00
Łukasz Langa
fc75393275
Merged solution for #12036 from 3.2
2011-05-09 18:50:47 +02:00
Łukasz Langa
725476222a
Closes #12036 : ConfigParser: Document items() added the vars dictionary to the result
2011-05-09 18:49:42 +02:00
Senthil Kumaran
c7ae19b6a7
Issue #3709 : a flush_headers method to BaseHTTPRequestHandler which manages the
...
sending of headers to output stream and flushing the internal headers buffer.
Patch contribution by Andrew Schaaf
2011-05-09 23:25:02 +08:00
Martin v. Löwis
7c038b4726
merge 11164
2011-05-09 08:12:19 +02:00
Martin v. Löwis
867754e3e3
merge 11164
2011-05-09 08:10:38 +02:00
Martin v. Löwis
2f48d892d4
Stop trying to use _xmlplus in the xml module. Closes #11164 .
...
Patch by Arfrever Frehtes Taifersar Arahesis.
2011-05-09 08:05:43 +02:00
Ezio Melotti
60480454bc
Merge with 3.2.
2011-05-09 04:00:47 +03:00
Ezio Melotti
74efb71871
Merge with 3.1.
2011-05-09 04:00:06 +03:00
Ezio Melotti
0ed8c6897c
Add a note to the str.find doc to suggest the use of the "in" operator.
2011-05-09 03:54:30 +03:00
Benjamin Peterson
eaee1385a0
note the point of having log2
2011-05-08 19:48:08 -05:00
Victor Stinner
fa0e3d52d6
Issue #11888 : Add log2 function to math module. Patch written by Mark
...
Dickinson.
2011-05-09 01:01:09 +02:00
Victor Stinner
3de49192aa
Issue #12012 : ssl.PROTOCOL_SSLv2 becomes optional
...
OpenSSL is now compiled with OPENSSL_NO_SSL2 defined (without the SSLv2
protocol) on Debian: fix the ssl module on Debian Testing and Debian Sid.
Optimize also ssl.get_protocol_name(): speed does matter!
2011-05-09 00:42:58 +02:00
Victor Stinner
d49b1f14de
Issue #8407 : The signal handler writes the signal number as a single byte
...
instead of a nul byte into the wakeup file descriptor. So it is possible to
wait more than one signal and know which signals were raised.
2011-05-08 02:03:15 +02:00
Victor Stinner
b3e7219abf
Issue #8407 : Add pthread_kill(), sigpending() and sigwait() functions to the
...
signal module.
2011-05-08 01:46:11 +02:00
Giampaolo Rodola'
a55efb3b6f
#11072- applying http://bugs.python.org/review/11072/show suggestions
2011-05-07 16:06:59 +02:00
Victor Stinner
7bba62fd68
faulthandler: dump all threads by default
...
* Set the default value of all_threads arguments to True
* Py_FatalError() dumps all threads, instead of only the current thread
Dump only the current thread is not reliable. In some cases, Python is unable
to retrieve the state of the current thread and so is unable to dump the
traceback. faulthandler keeps a reference to the interpreter and so is always
able to dump the traceback of all threads.
2011-05-07 12:43:00 +02:00
Giampaolo Rodola'
d78def9474
Issue #11072 : added MLSD command (RFC-3659) support to ftplib.
2011-05-06 19:49:08 +02:00
Éric Araujo
17b60f0367
Also add versionchanged directive to the function doc ( #11591 )
2011-05-06 18:50:08 +02:00
Antoine Pitrou
0872816dc1
Issue #8808 : The IMAP4_SSL constructor now allows passing an SSLContext
...
parameter to control parameters of the secure channel. Patch by Sijin
Joseph.
2011-05-06 18:49:52 +02:00
Ezio Melotti
b4dc2502ad
Issue #10775 : assertRaises, assertRaisesRegex, assertWarns, and assertWarnsRegex now accept a keyword argument 'msg' when used as context managers. Initial patch by Winston Ewert.
2011-05-06 15:01:41 +03:00
Eli Bendersky
e168965bd0
Issue #11015 : bring test.support docs up to date
2011-05-06 09:29:27 +03:00
Nick Coghlan
7ceb1804b0
Merge #11647 update from 3.2
2011-05-05 23:58:57 +10:00
Nick Coghlan
0ded3e307b
Issue #11647 : allow contextmanager objects to be used as decorators as described in the docs. Initial patch by Ysj Ray.
2011-05-05 23:49:25 +10:00
Alexander Belopolsky
6d3c9a6893
Mention that timezone is a subclass of tzinfo.
2011-05-04 10:28:26 -04:00
Victor Stinner
35b300c5fd
Issue #8407 : signal.pthread_sigmask() returns a set instead of a list
...
Update the doc. Refactor also related tests.
2011-05-04 13:20:35 +02:00
Ezio Melotti
4e787aeed6
#11985 : merge with 3.2.
2011-05-03 20:44:26 +03:00
Ezio Melotti
5098d44354
#11985 : merge with 3.1.
2011-05-03 20:43:48 +03:00
Ezio Melotti
b351bcca23
#11985 : document the return value of platform.python_implementation for PyPy.
2011-05-03 20:41:48 +03:00
Alexander Belopolsky
5611a1c326
Issue #11930 : Added Misc/NEWS and versionchanged entries.
2011-05-02 14:14:48 -04:00
Alexander Belopolsky
89da349b7b
Issue #11930 : Remove year >= 1000 limitation from datetime.strftime.
...
Patch by Victor Stinner.
2011-05-02 13:14:24 -04:00
Alexander Belopolsky
03163ac185
Issue #11930 : Remove deprecated time.accept2dyear.
2011-05-02 12:20:52 -04:00
Éric Araujo
f95f18048d
Merge 3.2
2011-05-02 13:33:14 +02:00
Éric Araujo
38cfe89665
Merge 3.1
2011-05-02 13:12:23 +02:00
Éric Araujo
b79c234e1a
Add missing colon
2011-05-02 13:10:18 +02:00
Benjamin Peterson
0255973af6
merge 3.2
2011-05-01 20:24:59 -05:00
Benjamin Peterson
c704378987
merge 3.1
2011-05-01 20:24:40 -05:00
Raymond Hettinger
9b2fd32cc5
Fix spelling.
2011-05-01 18:14:49 -07:00
Victor Stinner
fadeeffe5b
(Merge 3.2) Issue #11277 : mmap.mmap() calls fcntl(fd, F_FULLFSYNC) on Mac OS X
...
to get around a mmap bug with sparse files. Patch written by Steffen Daode
Nurpmeso.
2011-05-02 01:14:55 +02:00
Victor Stinner
8108e96bc8
(Merge 3.1) Issue #11277 : mmap.mmap() calls fcntl(fd, F_FULLFSYNC) on Mac OS X
...
to get around a mmap bug with sparse files. Patch written by Steffen Daode
Nurpmeso.
2011-05-02 01:11:33 +02:00
Victor Stinner
a6cd0cf0f5
Issue #11277 : mmap calls fcntl(fd, F_FULLFSYNC) on Mac OS X to get around a
...
mmap bug with sparse files. Patch written by Steffen Daode Nurpmeso.
2011-05-02 01:05:37 +02:00
Benjamin Peterson
47583fa9b4
merge 3.2
2011-05-01 17:39:52 -05:00
Benjamin Peterson
cee01bf18f
merge 3.1
2011-05-01 17:39:40 -05:00
Benjamin Peterson
10116d40d8
note abcs of int and float ( closes #11977 )
2011-05-01 17:38:17 -05:00
R David Murray
c55a7ea2b8
Merge #11901 : post-commit review fixes per Georg Brandl
2011-04-30 16:36:37 -04:00
R David Murray
b751d6195f
Merge #11901 : post-commit review fixes per Georg Brandl
2011-04-30 16:36:08 -04:00
R David Murray
9beb34ee0d
#11901 : post-commit review fixes per Georg Brandl
2011-04-30 16:35:29 -04:00
Victor Stinner
a929335961
Issue #8407 , issue #11859 : Add signal.pthread_sigmask() function to fetch
...
and/or change the signal mask of the calling thread.
Fix also tests of test_io using threads and an alarm: use pthread_sigmask() to
ensure that the SIGALRM signal is received by the main thread.
Original patch written by Jean-Paul Calderone.
2011-04-30 15:21:58 +02:00
Victor Stinner
d5c355ccc7
Issue #11223 : Replace threading._info() by sys.thread_info
2011-04-30 14:53:09 +02:00
Brian Curtin
6b549a4d8b
Fix #11961 . Document STARTUPINFO and creation flag options.
2011-04-29 22:21:35 -05:00
Brian Curtin
3040193401
Fix #11961 . Document STARTUPINFO and creation flag options.
2011-04-29 22:20:57 -05:00
Brian Curtin
73365dd887
whitespace...
2011-04-29 22:18:33 -05:00
Brian Curtin
e6242d77bd
Fix #11961 . Document STARTUPINFO and creation flag options.
2011-04-29 22:17:51 -05:00
Ezio Melotti
025691a5fe
#11952 : merge with 3.2.
2011-04-29 07:13:12 +03:00
Ezio Melotti
17797a7310
#11952 : merge with 3.1.
2011-04-29 07:12:42 +03:00
Ezio Melotti
2ee88355fc
#11952 : Fix typo in multiprocessing doc.
2011-04-29 07:10:24 +03:00
Antoine Pitrou
15399c3f09
Issue #11811 : ssl.get_server_certificate() is now IPv6-compatible. Patch
...
by Charles-François Natali.
2011-04-28 19:23:55 +02:00
Łukasz Langa
e812bf7bf6
Merged styling updates for #11670 from 3.2.
2011-04-28 12:02:58 +02:00
Łukasz Langa
ba702daef9
Style updates for the #11670 solution after post-commit review by Ezio Melotti:
...
http://mail.python.org/pipermail/python-checkins/2011-April/104688.html
Thanks!
2011-04-28 12:02:05 +02:00
Łukasz Langa
2356659f34
Merged trailing whitespace fix.
2011-04-27 18:14:04 +02:00
Łukasz Langa
43ae619925
Fixed trailing whitespace in the ReST file.
2011-04-27 18:13:42 +02:00
Łukasz Langa
29050d7317
Merged #11670 from 3.2
2011-04-27 18:11:50 +02:00
Łukasz Langa
daab1c8092
Closes #11670 : configparser read_file now iterates over f.
2011-04-27 18:10:05 +02:00