Ezio Melotti
b6b7371329
#11363 : clean up curses doc.
2011-06-26 13:38:11 +03:00
Ezio Melotti
2df0549943
#11669 : merge with 3.2.
2011-06-26 11:38:08 +03:00
Ezio Melotti
fc3db8a91e
#11669 : rephrase footnote in the Compound Statements page.
2011-06-26 11:25:28 +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
6ddefd7916
Issue 12086: add example showing how to use name mangling.
2011-06-25 16:30:39 +02: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
142d0f5e5a
Issue 12086: add example showing how to use name mangling.
2011-06-25 16:31:06 +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
1dbb7591da
merge from 3.2 - Fix closes Issue12359 - Removing a confusing sentence from the previous change.
2011-06-20 07:33:25 -07:00
Senthil Kumaran
4707a998e4
Fix closes Issue12359 - Removing a confusing sentence from the previous change.
2011-06-20 07:30:34 -07: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
150857028c
minor space nit.
2011-06-19 17:41:33 -07:00
Senthil Kumaran
bd4c321a3f
merge from 3.2. Issue 12359
2011-06-19 17:41:01 -07:00
Senthil Kumaran
5c0347b398
Fix closes Issue12359 - Minor update to module import description.
2011-06-19 17:37:06 -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
54bb1e6aaf
Improve documentation of packaging hooks
2011-06-19 21:34:16 +02: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
12aebabd99
merge 3.2
2011-06-16 18:51:37 -05:00
Benjamin Peterson
b4cfa3ad63
merge heads
2011-06-16 18:51:24 -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
Raymond Hettinger
a63d45c825
Fix typo.
2011-06-16 22:32:10 +01: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
Benjamin Peterson
3bbb722654
allow __dir__ to return any sequence
2011-06-11 16:12:08 -05:00
Éric Araujo
3ae42726d4
Merge minor doc change from 3.2
2011-06-11 19:56:28 +02:00
Éric Araujo
bc18532eee
Branch merge
2011-06-11 19:56:09 +02:00
Éric Araujo
9fbfe15c86
Add missing reST target to one heading in the tutorial
2011-06-11 10:34:19 +02:00
Éric Araujo
7ebadd5d8d
Use correct directive to document one method
2011-06-11 03:27:03 +02:00
Éric Araujo
643cb7345f
Allow multiple setup hooks in packaging’s setup.cfg files ( #12240 ).
...
Original patch by Erik Bray.
2011-06-11 00:33:38 +02:00
Éric Araujo
8474f2901b
setup.cfg: Document that description-file can contain more than one file
2011-06-11 00:21:18 +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
Éric Araujo
a462a80722
Fix incorrect nesting of sections in setup.cfg specification
2011-06-09 08:15:47 +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
d2f8cec885
Fix a few misuses of :option: I missed in r86521.
...
Extract of the commit message:
Fix usage of :option: in the docs (#9312 ).
:option: is used to create a link to an option of python, not to mark
up any instance of any arbitrary command-line option. These were
changed to ````.
2011-06-08 05:29:39 +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
Éric Araujo
b805c47138
Add examples that work on Windows to distutils docs ( #1626300 )
2011-06-08 01:11:36 +02:00
Éric Araujo
b8f2ad0380
Remove outdated bit of advice (584f9c213a6d follow-up)
2011-06-08 00:47:49 +02:00
Éric Araujo
313570a185
Branch merge: packaging fixes
2011-06-07 17:31:39 +02:00
Éric Araujo
fdeb8bf292
Fix documentation of requires-python field in setup.cfg ( #11041 )
2011-06-06 19:57:02 +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
Martin v. Löwis
8480bc65bc
Drop claim about nasty problem.
...
It's unclear what this was referring to; most likely, it was about sockets
that the application had already closed, in which case it's not a sockets
problem, but an application problem.
2011-06-06 10:27:56 +02:00
Martin v. Löwis
2d449aa004
Drop unfounded claims about performance.
2011-06-06 10:25:55 +02:00
Éric Araujo
a69ade81be
Rephrase the section about spec versioning
2011-06-06 02:02:34 +02:00
Éric Araujo
60533e03e9
Fix a few typos
2011-06-06 02:00:54 +02:00
Éric Araujo
1cf8a3203d
Minor rework of the extensibility and acks sections
2011-06-06 02:00:03 +02:00
Éric Araujo
8a4e7a9e2c
Move a non-PEP 345 field at the end of the metadata fields list
2011-06-06 01:58:54 +02:00
Éric Araujo
1389008022
Make example of file inclusion in setupcfg more obvious
2011-06-06 01:58:25 +02:00
Éric Araujo
ed4fd704aa
Rephrase and update intro and syntax sections of setupcfg
2011-06-06 02:07:24 +02:00
Éric Araujo
0300b5c9e6
Change reST targets in setup.cfg spec.
...
I chose “setupcfg” as prefix instead of “packaging-setupcfg” because the scope
of the spec is not limited to packaging: it’s intended as a language-agnostic
document for packaging tools developers as well as Python authors.
2011-06-06 01:54:54 +02:00
Éric Araujo
f0f9b22459
Add a short table of contents to the setup.cfg spec.
...
I tried shortening the sidebar ToC with the tocdepth option instead, but it has
a bug which caused all headings with a level deeper than the tocdepth value to
all have the same section number, which was a usability regression rather than
in improvement.
2011-06-06 01:52:37 +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
823759e767
Add reST target for Doc/packaging/setupcfg
2011-06-04 18:46:25 +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
ba661a9c39
Add missing section of doc file lost among repositories and conversions
2011-06-04 02:31:14 +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
61c4372ce1
Merge #12249 fix from 3.2
2011-06-03 19:27:16 +02:00
Éric Araujo
98e68adc7e
Document working dir for “make html” ( #12249 ). Patch by Tshepang Lekhonkhobe.
2011-06-03 19:25:58 +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
Éric Araujo
765e94f80c
Add NEWS and whatsnew entries for the packaging module
2011-06-03 17:26:59 +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
Tarek Ziade
ab244398ba
this documentation is now handled by all the new packaging contributors
2011-06-02 11:28:07 +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
5da37be7f2
Kill trailing whitespace
2011-06-01 20:44:40 +02: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
Charles-François Natali
a003af1ce9
Issue #12196 : Add a note on os.pipe2() in the "Whats' new in Python 3.3"
...
document.
2011-06-01 20:30:52 +02:00
Éric Araujo
5397c797f4
Merge 3.2
2011-06-01 19:47:24 +02:00
Éric Araujo
affcf2967f
Branch merge
2011-06-01 19:39:27 +02:00
Benjamin Peterson
2945a99840
merge 3.2
2011-05-31 21:28:03 -05:00
Benjamin Peterson
2e3a38a774
demote this to a note
2011-05-31 21:27:41 -05:00
Éric Araujo
5864b9fd3c
Fix markup: arguments in a class directive are __init__ arguments, not base classes
2011-05-31 21:50:38 +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
c739066914
Branch merge
2011-05-29 18:08:34 +02:00
Éric Araujo
75e86a678c
Merge 3.1
2011-05-29 18:07:12 +02:00
Éric Araujo
4b8f6651f0
Branch merge
2011-05-29 18:05:53 +02:00
Martin v. Löwis
a7eaa41f7f
Use bytes in myreceive.
2011-05-29 17:15:44 +02:00
Martin v. Löwis
987475c956
Explain that INET is IPv4 and STREAM is TCP.
2011-05-29 16:54:08 +02:00
Éric Araujo
87418afb3b
Fix typo in 0311f62714f7
2011-05-29 03:48:49 +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
Éric Araujo
456ae893d7
Re-add missing doc stub for the distutils check command
2011-05-29 00:22:06 +02:00
Éric Araujo
000893fab2
Minor touch-ups in distutils.cmd.Command doc
2011-05-29 00:14:45 +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
Éric Araujo
e0854f9dbf
Add missing closing paren
2011-05-27 04:36:52 +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
aa1ef2d735
Merge 3.2
2011-05-25 18:22:26 +02:00
Éric Araujo
0f67a99fc9
Branch merge
2011-05-25 18:22:11 +02:00
Éric Araujo
d4701f4262
Fix two typos
2011-05-25 18:13:29 +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
6daa33c8ac
Issue #10818 : Remove deprecated pydoc.serve() function
...
The pydoc module has a new enhanced web server.
2011-05-25 01:41:22 +02:00
Victor Stinner
383c3fc6b4
Issue #10818 : Remove the Tk GUI of the pydoc module (pydoc -g has been
...
deprecated in Python 3.2).
2011-05-25 01:35:05 +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
Eli Bendersky
203bdb3028
Issue 12126: removing incorrect claim about return value of select
...
merge 3.2 -> default
2011-05-22 06:59:49 +03:00
Eli Bendersky
2f1b3962a2
Issue 12126: removing incorrect claim about return value of select
...
merge 3.1 -> 3.2
2011-05-22 06:57:17 +03:00
Eli Bendersky
46ab96a0c8
Issue 12126: removing incorrect claim about return value of select
2011-05-22 06:56:15 +03:00
Georg Brandl
fb2473fc8b
Merge 3.2.1rc1 release changes to default.
2011-05-21 19:43:36 +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
Georg Brandl
9c1928f0a9
Merge release branch after 3.2.1rc1.
2011-05-21 17:35:33 +02: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
Ezio Melotti
e724665182
#12072 : merge with 3.2.
2011-05-20 15:06:58 +03:00
Ezio Melotti
da5b852c7c
#12072 : merge with 3.1.
2011-05-20 15:06:32 +03:00
Ezio Melotti
261d855fd6
#12072 : add missing parenthesis in the doc. Patch by Sandro Tosi.
2011-05-20 15:04:38 +03: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
Georg Brandl
521143dd6c
Update pydoc topics and handle suspicious markup.
2011-05-15 17:51:24 +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
Georg Brandl
1a4de20d95
Merge #6498 fix from 3.2.
2011-05-15 08:49:38 +02:00
Georg Brandl
318e62153b
Merge #6498 fix from 3.1.
2011-05-15 08:49:29 +02:00
Georg Brandl
0b2489e986
Closes #6498 : fix several misspellings of "SystemExit" as "SystemError".
2011-05-15 08:49:12 +02: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
Ezio Melotti
6b71811469
#11979 : merge with 3.2.
2011-05-14 09:24:33 +03:00
Ezio Melotti
132bcf4724
#11979 : merge with 3.1.
2011-05-14 09:23:52 +03:00
Ezio Melotti
eda199030b
#11979 : improve wording and markup in sockets howto. Patch by Xavier Morel.
2011-05-14 09:17:52 +03: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
Georg Brandl
cc5ea6860f
Merge in changes from 3.2.1b1 release repo.
2011-05-13 06:50:56 +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
Victor Stinner
388196ed72
Issue #12011 : signal.signal() and signal.siginterrupt() raise an OSError,
...
instead of a RuntimeError: OSError has an errno attribute.
2011-05-10 17:13:00 +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
Raymond Hettinger
6a523489fa
merge
2011-05-10 00:35:48 -07:00
Raymond Hettinger
bb1cf8d9bc
Issue 12047: Expand the style guide.
2011-05-10 00:35:03 -07: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
Georg Brandl
da71013c11
Update suspicious ignore file.
2011-05-08 09:10:29 +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
Ezio Melotti
868fc87591
#11997 : merge with 3.2.
2011-05-05 14:21:55 +03:00
Ezio Melotti
f77b74dd1b
#11997 : merge with 3.1.
2011-05-05 14:21:18 +03:00
Ezio Melotti
d92ab0806d
#11997 : fix typo in init.rst.
2011-05-05 14:19:48 +03: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
Brian Curtin
afd01172f9
Fix #11834 . Correct site-packages paths.
...
Patch by Bryce Verdier.
2011-05-03 21:58:32 -05:00
Brian Curtin
03b8d4e47b
Fix #11834 . Correct site-packages paths.
...
Patch by Bryce Verdier.
2011-05-03 21:57:56 -05:00
Brian Curtin
308053ee11
Fix #11834 . Correct site-packages paths.
...
Patch by Bryce Verdier.
2011-05-03 21:57:00 -05: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
Brian Curtin
49a40cd562
Adjust OS/2 & VMS grammar, and add Windows 2000 to the unsupported list.
2011-05-02 22:30:06 -05: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
cd6756d2ae
Branch merge
2011-05-02 13:10:36 +02:00