Antoine Pitrou
0e752dd3f8
Issue #6476 : Document that os.spawnle and os.spawnve are not thread-safe under Windows.
2011-07-19 01:26:58 +02:00
R David Murray
b899007268
Better English.
2011-07-18 12:38:03 -04:00
Senthil Kumaran
3e7f33fc82
fix whitespace nit.
2011-07-18 07:17:20 +08:00
Senthil Kumaran
0215d09ca9
Fix closes Issue12478 - HTTPErrorProcess 's methods are http_response and https_response.
2011-07-18 07:12:40 +08:00
Senthil Kumaran
ed270fab64
Fix closes Issue12479 - Add HTTPErrorProcessor class definition - Patch by Sandro Tosi
2011-07-18 06:42:46 +08:00
Senthil Kumaran
023c6f703d
Fix Issue10403 - datetime documentation clarification based on review in the reitveld by Alexendar belopolsky.
2011-07-17 19:01:14 +08:00
Senthil Kumaran
ad3882a2b0
Fix closes Issue11436 - Minor clarification to struct documentation for 's' format character.
2011-07-17 17:29:17 +08:00
Ned Deily
58e3350bd4
Issue #12549 : Correct test_platform to not fail when OS X returns 'x86_64'
...
as the processor type on some Mac systems. Also fix NameError in fallback
_mac_ver_gestalt function. And remove out-of-date URL in docs.
2011-07-13 15:07:04 -07:00
Antoine Pitrou
fd060474e3
Make it clear that PyNumber_AsSsize_t() returns -1 on error.
2011-07-13 21:02:22 +02:00
Georg Brandl
325eb470b7
Clarify that PyErr_NewException creates an exception *class*, not instance.
2011-07-13 15:59:24 +02:00
Antoine Pitrou
b3593cada2
Use infinitive, not 3rd person of present tense.
2011-07-11 01:39:19 +02:00
Antoine Pitrou
6f5dcb1ee2
Issue #12343 : Add some notes on behaviour of non-blocking SSL sockets.
2011-07-11 01:35:48 +02:00
Antoine Pitrou
cdddf2b875
Mention logging.captureWarnings in the warnings module doc.
2011-07-09 21:29:36 +02:00
Antoine Pitrou
462d1b39a4
Move sys.subversion at the right place in alphabetical order, and informally deprecate it.
2011-07-09 16:02:19 +02:00
Antoine Pitrou
a83cdaae89
Issue #12326 : document the recommended idiom for checking sys.platform on Unix systems.
...
Also, point to the various alternatives.
2011-07-09 15:54:23 +02:00
Victor Stinner
6e2e3b9e81
Issue #12423 : Fix os.abort() documentation
...
The Python signal handler for SIGABRT is not called on os.abort() (only if the
signal is raised manually or sent by another process). Patch by Kamil Kisiel.
2011-07-08 02:26:39 +02:00
Senthil Kumaran
3aac179498
Fix whitespace nit in datetime and os rst files.
2011-07-04 11:43:51 -07:00
Senthil Kumaran
a6bac95a3c
issue10403 - Let's not use members anymore. Use 'attribute' where it denotes attribute and 'methods' where it denotes methods. Context should clarify usage.
2011-07-04 11:28:30 -07:00
Georg Brandl
bfd1edd155
Merge 3.2.1 release clone changes into main 3.2 branch after 3.2.1rc2 release.
2011-07-04 19:55:22 +02:00
Senthil Kumaran
946eb865a3
reST indentation fix in sqlite3 docs. rst uses 3 space indentation.
2011-07-03 10:17:22 -07:00
Georg Brandl
f069100d0d
Fix bad markup.
2011-07-03 09:39:49 +02:00
Georg Brandl
7f3cd98beb
Fix target path in message.
2011-07-03 09:30:42 +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
Senthil Kumaran
fe9230aac6
Fix closes issue12261 - Minor documention changes in the urllib.parse.rst
2011-06-19 13:52:49 -07:00
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
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
Raymond Hettinger
b34705ff37
Issue #8890 : Remove /tmp from examples.
2011-06-26 15:29:06 +02: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
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
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
Raymond Hettinger
4d5208d2e2
Fix typo (reported by Hiro Ashiya).
2011-06-25 11:39:00 +02: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
Senthil Kumaran
4707a998e4
Fix closes Issue12359 - Removing a confusing sentence from the previous change.
2011-06-20 07:30:34 -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
5c0347b398
Fix closes Issue12359 - Minor update to module import description.
2011-06-19 17:37:06 -07:00
Senthil Kumaran
fd8d7e9b0d
Whitespace nit fixed using reident.
2011-06-19 16:59:41 -07:00
Senthil Kumaran
ce9b596c04
Fix closes Issue12315 - Updates to http.client documentation.
2011-06-19 16:56:49 -07:00
Senthil Kumaran
a977acc0fe
merge from 3.1 for issue issue12261.
2011-06-19 13:55:48 -07: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
b4cfa3ad63
merge heads
2011-06-16 18:51:24 -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
8ddf7c2d2b
Minor wording improvement
2011-06-15 17:49:20 +02:00
Vinay Sajip
cdc751720e
Updated Formatter.formatTime documentation.
2011-06-12 11:44:28 +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
9fbfe15c86
Add missing reST target to one heading in the tutorial
2011-06-11 10:34:19 +02:00
Vinay Sajip
645e4589b1
Documented change for Issue #12168 .
2011-06-10 18:52:50 +01: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
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
07e58c3389
Remove link that’s already present at the top of the file
2011-06-03 20:43:42 +02:00
Éric Araujo
98e68adc7e
Document working dir for “make html” ( #12249 ). Patch by Tshepang Lekhonkhobe.
2011-06-03 19:25:58 +02:00
Raymond Hettinger
3d89057ff8
Fix named tuples to work with vars().
2011-06-02 23:40:24 -07:00
Raymond Hettinger
9028928156
Forward port doc updates for builtin functions.
2011-06-01 16:17:23 -07:00
Éric Araujo
affcf2967f
Branch merge
2011-06-01 19:39:27 +02: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
É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
É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
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
É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
Éric Araujo
d4701f4262
Fix two typos
2011-05-25 18:13:29 +02:00
Raymond Hettinger
4b244ef255
Clean-up example.
2011-05-23 12:45:34 -07: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
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
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
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
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
Georg Brandl
521143dd6c
Update pydoc topics and handle suspicious markup.
2011-05-15 17:51:24 +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
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
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
23157e5ddc
Further beautification of the example
2011-05-13 01:38:31 -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
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
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
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
cda41d3bf7
Actually print out the description of what changed.
2011-05-10 15:25:41 +02: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
725476222a
Closes #12036 : ConfigParser: Document items() added the vars dictionary to the result
2011-05-09 18:49:42 +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
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
Georg Brandl
da71013c11
Update suspicious ignore file.
2011-05-08 09:10:29 +02: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
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
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
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
É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
Éric Araujo
b79c234e1a
Add missing colon
2011-05-02 13:10:18 +02: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
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
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
Georg Brandl
da623ed9f4
Split combined code/doctest code blocks in two blocks, to enable proper highlighting.
2011-05-01 22:37:23 +02:00
Éric Araujo
3bba57d596
Fix wording
2011-05-01 02:14:48 +02:00
R David Murray
361a7df323
Merge #11883 : fix email examples by adding 'localhost' to SMTP constructor calls
2011-04-30 17:29:08 -04:00
R David Murray
bb754b503c
#11883 : fix email examples by adding 'localhost' to SMTP constructor calls
2011-04-30 17:26:32 -04:00
R David Murray
7461298c9c
#11883 : replace incorrect call to sendmail with correct call to send_message
2011-04-30 17:19:53 -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
Benjamin Peterson
f97aed1a25
merge 3.1
2011-04-30 13:15:18 -05:00
Benjamin Peterson
4c020885d9
fix function name in example ( closes #11966 )
2011-04-30 13:14:56 -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
2ee88355fc
#11952 : Fix typo in multiprocessing doc.
2011-04-29 07:10:24 +03:00
Raymond Hettinger
507cbc1773
Issue #11940 : Update external link.
2011-04-27 16:32:08 -07:00
Ezio Melotti
f95033ba44
#11942 : Fix return type of Py_AddPendingCall. Patch by Sandro Tosi.
2011-04-28 00:48:46 +03:00
Éric Araujo
9a42793761
Branch merge
2011-04-27 16:23:56 +02:00
Éric Araujo
10f3d7acbd
Change markup so it generates a link
2011-04-27 16:22:32 +02:00
Brian Curtin
3040193401
Fix #11961 . Document STARTUPINFO and creation flag options.
2011-04-29 22:20:57 -05:00
Ezio Melotti
17797a7310
#11952 : merge with 3.1.
2011-04-29 07:12:42 +03: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
Raymond Hettinger
4f7412356d
Issue #11940 : Update external link.
2011-04-27 16:32:34 -07:00
Ezio Melotti
a782ccaf6c
#11942 : merge with 3.1.
2011-04-28 00:53:14 +03:00
Łukasz Langa
43ae619925
Fixed trailing whitespace in the ReST file.
2011-04-27 18:13:42 +02:00
Łukasz Langa
daab1c8092
Closes #11670 : configparser read_file now iterates over f.
2011-04-27 18:10:05 +02:00
Éric Araujo
944d16c6c4
Merge 3.1
2011-04-27 16:27:38 +02:00
Éric Araujo
19acb88baf
Branch merge
2011-04-27 16:25:27 +02:00
Raymond Hettinger
40fc59d98b
Issue 11929: Minor whitespace clean-ups.
2011-04-26 13:55:55 -07:00
R David Murray
0fb5b398cd
Merge #11901 : add description of how bitfields are laid out to hexversion docs
...
Patch by Sijin Joseph.
2011-04-25 16:13:54 -04:00
R David Murray
2043f9c582
#11901 : add description of how bitfields are laid out to hexversion docs
...
Patch by Sijin Joseph.
2011-04-25 16:12:26 -04:00
Éric Araujo
16190c8236
Change markup so that it creates a link
2011-04-25 19:05:53 +02:00
Éric Araujo
ce4c4074f9
The version* directives don’t work with a blank line between arguments
2011-04-24 03:31:37 +02:00
Éric Araujo
08c9bd57f2
Remove unneeded backslashes
2011-04-24 02:59:02 +02:00
Éric Araujo
b547148d16
Fix indentation
2011-04-24 02:44:39 +02:00
Éric Araujo
fbeb1a9468
Merge 3.1
2011-04-24 02:42:52 +02:00
Éric Araujo
cae1be85f5
Branch merge
2011-04-24 02:39:43 +02:00
Éric Araujo
5348b63a91
Branch merge
2011-04-24 02:34:11 +02:00
Éric Araujo
2b9388a033
Fix weird executable name
2011-04-22 21:27:10 +02:00
Ezio Melotti
5569e9b150
Fix some more markup glitches in argparse doc.
2011-04-22 01:42:10 +03:00
Ezio Melotti
dca309d137
#11905 : fix missing full stop in argparse doc. Noticed by Vladimir Rutsky.
2011-04-21 23:09:27 +03:00
Ezio Melotti
2f1db7def9
#11904 : fix indentation in argparse doc. Noticed by Vladimir Rutsky.
2011-04-21 23:06:48 +03:00
Ezio Melotti
00f53afdda
#11902 : Fix typo in argparse doc. Noticed by Vladimir Rutsky.
2011-04-21 22:56:51 +03:00
Ezio Melotti
0ee9c1be76
Add the :mod: role where it was missing.
2011-04-21 16:12:17 +03:00
Ezio Melotti
cca4ef8cba
#11885 : capitalize Python.
2011-04-21 15:26:46 +03:00
Ezio Melotti
c17c1f64aa
#11897 : Fix typo in porting howto. Patch by Marti Raudsepp.
2011-04-21 14:49:03 +03:00
Éric Araujo
de579d4359
Add a space to make json doc a bit more readable
2011-04-21 02:37:41 +02:00
Ezio Melotti
861d27f4cf
Merge with 3.1.
2011-04-20 21:32:40 +03:00
Ezio Melotti
e402724912
Fix wrong function name. Noticed by Clive Darke.
2011-04-20 21:29:31 +03:00
Éric Araujo
37e6c54ba1
Merge 3.1
2011-04-20 19:24:09 +02:00
Éric Araujo
5c1a0c969d
Fix argument name in reST doc to match the code
2011-04-20 19:11:12 +02:00
Éric Araujo
ad0790e573
Branch merge
2011-04-20 18:54:12 +02:00
Ezio Melotti
a947abec6a
Merge with 3.1.
2011-04-19 23:23:47 +03:00
Ezio Melotti
8dfcab0885
Fix wrong number of functions noticed by Sandro Tosi.
2011-04-19 23:15:13 +03:00
Vinay Sajip
f97255fd7c
Updated documentation on fileConfig().
2011-04-19 13:56:39 +01:00
R David Murray
530cc09796
Fix markup.
2011-04-18 15:54:58 -04:00
R David Murray
01581ee0b7
#11492 : rewrite header folding algorithm. Less code, more passing tests.
2011-04-18 10:04:34 -04:00
Ezio Melotti
74c0031066
#11865 : Merge with 3.1.
2011-04-18 10:14:13 +03:00
Ezio Melotti
340bb95ffd
#11865 : fix typo in init.rst.
2011-04-18 10:11:21 +03:00
Éric Araujo
a0b3c32c7a
Advertise nesting directives for class/method and class/data combos.
...
Also fix a typo and a misleading example (method used to describe function).
2011-04-16 23:47:53 +02:00
Ezio Melotti
2409d770d9
Fix a few more hyphens in argparse.rst
2011-04-16 23:13:50 +03:00
Georg Brandl
340d2690b3
Small wording fix.
2011-04-16 16:54:15 +02:00
Georg Brandl
1d827ff43d
Consistency fix: "command line" is the noun, "command-line" the adjective.
2011-04-16 16:44:54 +02:00
Georg Brandl
ab8d93c03a
Backport 8a9f8f34d9d5.
2011-04-16 17:05:30 +02:00
Georg Brandl
10fe23b495
Merge with 3.1
2011-04-16 16:59:32 +02:00
Eli Bendersky
3384e54c23
Issue #11855 : merge from 3.1
2011-04-16 15:34:29 +03:00
Eli Bendersky
219cc776f6
Issue #11855 : Apply missing formatting for urlretrieve
2011-04-16 15:32:13 +03:00
Raymond Hettinger
f05c1394fe
merge
2011-04-15 17:43:57 -07:00
Raymond Hettinger
7bba683d27
Add another example to the collections module docs.
2011-04-15 17:43:19 -07:00
Ezio Melotti
8881868e08
#11843 : Merge with 3.1.
2011-04-15 18:07:38 +03:00
Ezio Melotti
181810b5fe
#11843 : remove duplicate line from table in distutil doc.
2011-04-15 18:05:09 +03:00
Ezio Melotti
34d204bc85
#4783 : Merge with 3.1.
2011-04-15 07:39:08 +03:00
Ezio Melotti
60adf95955
#4783 : document that is not possible to use json.dump twice on the same stream.
2011-04-15 07:37:00 +03:00
Eli Bendersky
d211231cd5
merge from 3.1
2011-04-15 07:26:28 +03:00
Eli Bendersky
046a764bb2
Issue #11827 : remove mention of list2cmdline in the doc of subprocess
2011-04-15 07:23:26 +03:00
Ezio Melotti
c1f0577b54
#11840 : Merge with 3.1.
2011-04-14 07:50:25 +03:00
Ezio Melotti
95cd91c17f
#11840 : Improve c-api/unicode documentation. Patch by Sandro Tosi.
2011-04-14 07:43:53 +03:00
Ezio Melotti
832c8bbe51
#9101 : backport json reference in configparser doc.
2011-04-14 06:41:38 +03:00
R David Murray
5864c9f26c
Merge: Fix wording and clarify that the IDNA codec operates on full domain names.
...
Before reading the code to check, I wasn't sure if it operated on
full domain names or just individual labels.
2011-04-13 14:12:59 -04:00
R David Murray
e0fd2f880e
Fix wording and clarify that the IDNA codec operates on full domain names.
...
Before reading the code to check, I wasn't sure if it operated on
full domain names or just individual labels.
2011-04-13 14:12:18 -04:00
R David Murray
d5315482e9
Merge #10019 : Fix regression relative to 2.6: add newlines if indent=0
...
Patch by Amaury Forgeot d'Arc, updated by Sando Tosi.
2011-04-12 21:09:18 -04:00
R David Murray
3dd02d62c9
#10019 : Fix regression relative to 2.6: add newlines if indent=0
...
Patch by Amaury Forgeot d'Arc, updated by Sando Tosi.
2011-04-12 21:02:45 -04:00
Ross Lagerwall
810b94a364
Issue #11818 : Fix tempfile examples for Python 3.
2011-04-10 09:30:04 +02:00
Raymond Hettinger
dbb677a894
Beautify and modernize the SequenceMatcher example
2011-04-09 19:41:00 -07:00
Vinay Sajip
77f8d2962c
Normalised whitespace.
2011-04-08 01:34:20 +01:00
Vinay Sajip
c46102c98a
Updated Formatter documentation.
2011-04-08 01:30:51 +01:00
Antoine Pitrou
e88604755c
Clarify that GzipFile.read1() isn't implemented.
2011-04-04 21:06:20 +02:00
Ezio Melotti
361467e522
#11282 : the fail* methods will stay around a few more versions.
2011-04-03 17:37:58 +03:00
Ezio Melotti
9481e41741
Merge with 3.1
2011-04-03 16:24:22 +03:00
Ezio Melotti
b5ff3e4ce5
Fix typo noticed by Sandro Tosi.
2011-04-03 16:20:21 +03:00
Raymond Hettinger
6c94e6fb42
Issue #7796 : Add link to Jan Kaliszewski's alternate constructor and ABC for named tuples.
2011-03-31 15:46:06 -07:00
Raymond Hettinger
12e6c256ca
Fix markup and wording.
2011-03-31 13:59:24 -07:00
Raymond Hettinger
1081d48889
Add links to make the math docs more usable.
2011-03-31 12:04:53 -07:00
Guido van Rossum
20d2ab435e
Merge issue 11662.
2011-03-29 12:58:29 -07:00
Guido van Rossum
acb63092b7
Merge issue 11662.
2011-03-29 12:55:41 -07:00
guido@google.com
c768ff5d4f
Merge Issue 11662 from 3.1 branch.
2011-03-29 11:51:26 -07:00
guido@google.com
a119df91f3
Issue 11662: Fix vulnerability in urllib/urllib2.
...
(This version is a cleaned-up backport of a fix by Senthil Kumaran.)
2011-03-29 11:41:02 -07:00
Ezio Melotti
7ef2b46a0a
#10617 : merge with 3.1.
2011-03-28 13:53:40 +03:00
Ezio Melotti
9b2e67c4fa
#10617 : add class directives to collections ABCs.
2011-03-28 13:50:41 +03:00
Steven Bethard
d186f99d00
Issue #9343 : Document that argparse parent parsers must be configured before their children.
2011-03-26 21:49:00 +01:00
Steven Bethard
d8f2d50c20
Issue #8982 : Improve the documentation for the argparse Namespace object.
2011-03-26 19:50:06 +01:00
Éric Araujo
8b8f2ec560
Kill last reference to defunct module
2011-03-26 07:22:01 +01:00
Éric Araujo
01606dea3d
#10553 : Explain why compileall has no command-line argument to control optimization
2011-03-26 03:22:55 +01:00
Éric Araujo
722bec4210
Merge 3.1
2011-03-26 01:59:47 +01:00
Éric Araujo
5ab477695c
Tweaks to sys.flags description table.
...
The options listed in the table are now links to their documentation,
and the table uses compact markup to make it easier to read and edit.
First proposed in #10998 .
2011-03-26 00:47:04 +01:00
Éric Araujo
a464d4e608
Remove untrue statement from tutorial
2011-03-25 21:53:58 +01:00
Raymond Hettinger
df07aacebb
Issue #11071 : Fix whatsnew description of O/S access to raw bytes.
2011-03-25 12:41:07 -07:00
Éric Araujo
4dcf50250c
Use universal construct os.path.expanduser('~') instead of os.environ['HOME']
2011-03-25 20:31:50 +01:00
Raymond Hettinger
b1aef23316
Issue #10610 : Document that int(), float(), and complex() accept numeric literals with the Nd property.
2011-03-22 17:33:53 -07:00
Raymond Hettinger
c706dbfa67
Issue #10610 : Document that int(), float(), and complex() accept numeric literals with the Nd property.
2011-03-22 17:33:17 -07:00
Raymond Hettinger
2052978e9a
Issue #10771 : Clarify that descriptors get used in an *owner* class or one of its parents.
2011-03-22 16:27:31 -07:00
Raymond Hettinger
3b654be1a4
Issue #10771 : Clarify that descriptors get used in an *owner* class or one of its parents.
2011-03-22 16:27:02 -07:00
Raymond Hettinger
f047164f64
Issue 10988: fix description of super's descriptor call.
2011-03-22 15:33:02 -07:00
Raymond Hettinger
b199b2262c
Issue 10988: fix description of super's descriptor call.
2011-03-22 15:28:45 -07:00
Raymond Hettinger
608aba301e
Issue #11625 : Fix Typo
2011-03-22 09:12:18 -07:00
Raymond Hettinger
e5820c6b5d
Issue #11625 : Fix Typo
2011-03-22 09:11:39 -07:00
Georg Brandl
2f5cac6ab4
Merge to 3.2.
2011-03-21 08:55:31 +01:00
Georg Brandl
82d8ec5eef
Fix duplicate word.
2011-03-21 08:55:16 +01:00
Éric Araujo
d40248777b
Merge from 3.1
2011-03-20 18:31:42 +01:00
Éric Araujo
09eb980e3e
Fix typo in class name
2011-03-20 18:30:37 +01:00
R David Murray
38a04e51f6
Merge markup fixes for #7198 patch.
2011-03-20 11:19:20 -04:00
R David Murray
9c0d5eaa70
Markup fixes for #7198 patch.
2011-03-20 11:18:21 -04:00
R David Murray
fb8b067360
Really merge #7198
...
Changeset ab27f16f707a was messed up by a rebase (as were
959f666470cc and 9d1b1a95bc8f) and the patch only got applied
to default.
2011-03-20 10:25:29 -04:00
R David Murray
f453debb45
#7198 : really add newline='' to csv.writer docs.
...
Changeset ab27f16f707a was messed up by a rebase (as were
959f666470cc and 9d1b1a95bc8f) and the patch only got applied
to default.
2011-03-20 10:23:22 -04:00
Antoine Pitrou
7b98d02302
Issue #11459 : A `bufsize` value of 0 in subprocess.Popen() really creates
...
unbuffered pipes, such that select() works properly on them.
2011-03-19 17:04:13 +01:00
Antoine Pitrou
877766dee8
Issue #11459 : A `bufsize` value of 0 in subprocess.Popen() really creates
...
unbuffered pipes, such that select() works properly on them.
2011-03-19 17:00:37 +01:00
Raymond Hettinger
af9be06b3c
Issue 7391: Remove questionable and outdated HOWTO document with permission from its author.
2011-03-18 18:22:28 -07:00
Ezio Melotti
3b3499ba69
#11565 : Merge with 3.1.
2011-03-16 11:35:38 +02:00
Ezio Melotti
13925008dc
#11565 : Fix several typos. Patch by Piotr Kasprzyk.
2011-03-16 11:05:33 +02:00
Raymond Hettinger
15aded8b73
Emphasize the ['x', 'y'] option for listing field names. Remove PS2 prompts to make the examples cut-and-pasteable.
2011-03-15 17:25:51 -07:00
Michael Foord
dcebe0f2dc
Closes issue 11133. Fixes two cases where inspect.getattr_static could trigger code execution
2011-03-15 19:20:44 -04:00
R David Murray
729c5e203d
Merge #11216 : document all possible set_charset execution paths.
2011-03-15 17:42:50 -04:00
R David Murray
e3d09ff269
#11216 : document all possible set_charset execution paths.
2011-03-15 17:41:13 -04:00
Antoine Pitrou
9bb9877d80
Followup to 4c59cd84086f: add an entry in the porting guide and a "versionchanged" attribute.
2011-03-15 20:22:50 +01:00
R David Murray
4a0b60c527
Merge #11555 as_string doc fix from 3.1.
2011-03-15 14:02:53 -04:00
R David Murray
7dedcb4644
#11555 : update doc for 3.x change to as_string mangle_from default.
2011-03-15 14:01:18 -04:00
R David Murray
c48c19afe0
Merge redundant __contains__ doc fix from 3.1.
2011-03-14 22:53:29 -04:00
R David Murray
f6db0bbbee
Remove redundant __contains__ entry from Message docs.
2011-03-14 22:43:38 -04:00
Ross Lagerwall
13312638b3
Merge from 3.1
2011-03-14 10:41:58 +02:00
Ross Lagerwall
8fea2e6a50
Issue #10885 : Fix multiprocessing docs typo
2011-03-14 10:40:15 +02:00
Antoine Pitrou
9bd3bbcfe8
Issue #11329 : PyEval_InitThreads() cannot be called before Py_Initialize() anymore
2011-03-13 23:28:28 +01:00
Antoine Pitrou
34db469895
Remove documentation to non-existent function PyObject_CopyToObject ( fixes #11478 )
2011-03-13 19:32:01 +01:00
Antoine Pitrou
6b19e50e9b
Remove documentation to non-existent function PyObject_CopyToObject ( fixes #11478 )
2011-03-13 19:31:11 +01:00
Ezio Melotti
0def5c6907
Merge with 3.1.
2011-03-13 02:27:26 +02:00
Ezio Melotti
2b73660135
Fix markup in inputoutput.rst.
2011-03-13 02:19:57 +02:00
Ezio Melotti
77845ce55a
Fix typo.
2011-03-12 22:25:06 +02:00
Benjamin Peterson
62e0b90be2
merge 3.1
2011-03-12 11:58:40 -06:00
Benjamin Peterson
ab2b71699c
trunc -> math.trunc ( closes #11475 )
2011-03-12 11:58:15 -06:00
Senthil Kumaran
e858bca356
forward merge from 3.1
2011-03-12 11:42:33 +08:00
Senthil Kumaran
abd4a05561
Fix issue11283 - Clarifying a re pattern in the re module docs for conditional regex
2011-03-12 11:40:25 +08:00
Ezio Melotti
147f6088f0
#11446 : merge with 3.1.
2011-03-11 20:53:24 +02:00
Ezio Melotti
7885833df0
#11446 : fix incorrect PEP link.
2011-03-11 20:50:42 +02:00
Eli Bendersky
fc4252d3e2
merge
2011-03-11 16:40:25 +02:00
Eli Bendersky
a7a1c15111
merge from 3.1
2011-03-11 16:39:04 +02:00
Eli Bendersky
9cc6249dee
Issue #11426 : use 'with' statements on open files in CSV examples
2011-03-11 16:33:36 +02:00
Ezio Melotti
1a87e3211a
#11435 : Update the links generated by the source directive to use hg.python.org.
2011-03-11 15:16:01 +02:00
R David Murray
5647c473bc
Merge #10999 fix.
2011-03-10 17:22:33 -05:00
R David Murray
30178068d9
#10999 : Add missing documentation for chflags constants to stat module docs
...
Patch by Michal Nowikowski.
2011-03-10 17:18:33 -05:00
Ezio Melotti
c29cd9384a
Use simpler assert in basic example.
2011-03-10 23:38:18 +02:00
Gregory P. Smith
f2b5673f73
Explicitly mention that people should not depend on immediate
...
finalization of objects.
HG Enter commit message. Lines beginning with 'HG:' are removed.
2011-03-10 11:32:29 -08:00
Gregory P. Smith
c542547211
Reword the finalization note.
2011-03-10 11:28:50 -08:00
Gregory P. Smith
c60137b272
Explicitly mention that people should not depend on immediate
...
finalization of objects in the language reference.
2011-03-10 11:25:44 -08:00
Ezio Melotti
40dcb1d287
Port a couple of changes from 3.1.
2011-03-10 13:46:50 +02:00
Ezio Melotti
2d1e88a4d1
Backport from 3.2 several improvements and fixes for unittest.rst.
2011-03-10 12:16:35 +02:00
Ezio Melotti
3d995843ce
#11298 : Improve the unittest discovery explanation.
2011-03-08 16:17:35 +02:00
Georg Brandl
891391bf68
Merge doc fixes.
2011-03-06 11:12:42 +01:00
Georg Brandl
1d0a0f5060
#11294 : add missing ERA_T_FMT to locale docs.
2011-03-06 11:09:51 +01:00
Georg Brandl
931e5c1038
#11292 : add missing A_REVERSE to curses attribute table.
2011-03-06 11:08:35 +01:00
Georg Brandl
a2388be2af
#11239 : add } to list of metacharacters (it is only a metacharacter sometimes, ie. when closing a {n,m} group, but so is ].
2011-03-06 11:07:11 +01:00
Georg Brandl
45ec333c72
#11227 : use Host header in asyncore example.
2011-03-06 11:05:03 +01:00
Georg Brandl
12a6153aee
#11373 : fix spelling.
2011-03-06 10:57:52 +01:00
Georg Brandl
3640e18d90
#11405 : do not reference the string module again for its deprecated functions, only for Template class.
2011-03-06 10:56:18 +01:00
Georg Brandl
da2271939a
#11392 : you can trust the computer, but you have to know what it does.
2011-03-06 10:53:55 +01:00
Georg Brandl
e32acd0d79
#11337 : remove unreferenced footnote.
2011-03-06 10:51:18 +01:00
Georg Brandl
310337f828
#11400 : remove reference to pre-1.5 assignment behavior.
2011-03-06 10:48:43 +01:00
Georg Brandl
49857f8a93
Add updated .hgeol file and fix newlines in the 3.2 branch.
2011-03-05 15:11:35 +01:00