R. David Murray
b7deff1ddc
#9124 : mailbox now accepts binary input and uses binary internally
...
Although this patch contains API changes and is rather weighty for an
RC phase, the mailbox module was essentially unusable without the patch
since it would produce UnicodeErrors when handling non-ascii input
at arbitrary and somewhat mysterious places, and any non-trivial amount
of email processing will encounter messages with non-ascii bytes.
The release manager approved the patch application.
The changes allow binary input, and reject non-ASCII string input early
with a useful message instead of failing mysteriously later. Binary
is used internally for reading and writing the mailbox files. StringIO
and Text file input are deprecated.
Initial patch by Victor Stinner, validated and expanded by R. David Murray.
2011-01-30 06:21:28 +00:00
Raymond Hettinger
b02f7c00ae
List known build/install problems for OS X.
2011-01-30 05:37:16 +00:00
Raymond Hettinger
c7bb159acd
Markup nits.
2011-01-30 01:10:07 +00:00
Raymond Hettinger
62399747a5
Add section for http.client.
...
Link to OS X build instructions.
Add back issue references for datetime.
2011-01-30 00:55:47 +00:00
Raymond Hettinger
519c308939
Typos.
2011-01-30 00:39:00 +00:00
Giampaolo Rodolà
ac039aee4d
fix reference to issue where the addition of select.PIPE_BUF was discussed
2011-01-29 13:24:33 +00:00
Raymond Hettinger
08d4293013
Add entry for str.format_map().
...
Add bullet list and reference to documentation section.
2011-01-29 08:51:57 +00:00
Eric Smith
598b513a5d
Added a placeholder for str.format_map, as discussed with Raymond. My prose is horrible, some cleanup is required.
2011-01-28 20:23:25 +00:00
Michael Foord
e180d3953f
Issue 10573: revert unittest docs to first / second
...
Minor internal change to unittest.TestCase.assertCountEqual
Reviewed by R. David Murray
2011-01-28 19:51:48 +00:00
Łukasz Langa
66c908e6bf
#11027 : documented how to override SECTCRE
2011-01-28 11:57:30 +00:00
Raymond Hettinger
469271d4ea
More source links
2011-01-27 20:38:46 +00:00
Vinay Sajip
1a90f9c52f
Issue 11008: docs updated to show versionadded for dictConfig.
2011-01-27 19:14:16 +00:00
Raymond Hettinger
e6f0abf34a
More typical sample invocation of tarfile.
2011-01-27 07:34:45 +00:00
Raymond Hettinger
712d2b4f4b
Add missing attributions.
2011-01-27 06:46:54 +00:00
Raymond Hettinger
8d09cb2127
Update todo list.
2011-01-27 06:10:18 +00:00
Raymond Hettinger
7626ef93b7
Add an entry for tarfile.
2011-01-27 05:48:56 +00:00
Raymond Hettinger
a199368b23
More source links.
2011-01-27 01:20:32 +00:00
Raymond Hettinger
a63a312a3f
Issue #11014 : Make 'filter' argument in tarfile.Tarfile.add() into a
...
keyword-only argument. The preceding positional argument was deprecated,
so it made no sense to add filter as a positional argument.
(Patch reviewed by Brian Curtin and Anthony Long.)
2011-01-26 20:34:14 +00:00
Raymond Hettinger
e3b8f7c0fa
Markup nits.
2011-01-26 19:36:13 +00:00
Raymond Hettinger
14eb4c356e
Add a few imports to examples.
2011-01-26 01:13:26 +00:00
Antoine Pitrou
cfad97b3ca
Fix the description of PIPE_BUF
2011-01-25 17:24:57 +00:00
Antoine Pitrou
da7be3e7b7
Fix the doc for PIPE_BUF
2011-01-25 16:28:44 +00:00
Raymond Hettinger
902f320232
Typo.
2011-01-25 08:01:01 +00:00
Raymond Hettinger
da4a05de7e
Add entries for select and site.
2011-01-25 07:46:07 +00:00
Raymond Hettinger
2f707c98fb
Add math.erfc and turtledemo.
2011-01-25 06:58:01 +00:00
Raymond Hettinger
f9b8a19d75
Typo.
2011-01-25 05:53:27 +00:00
Raymond Hettinger
2c63906283
Nits.
2011-01-25 02:38:59 +00:00
Raymond Hettinger
a4cfb4292a
Add entry for the math module.
2011-01-25 02:35:58 +00:00
Raymond Hettinger
f4f0e6c7a7
Add entry for io.BytesIO.getbuffer().
2011-01-24 22:14:42 +00:00
Terry Reedy
feac624827
Issue #11000 ast.parse parses source, not just expressions.
2011-01-24 21:36:03 +00:00
Terry Reedy
2a6ac15f26
Update last tix code example for 3.x, as already done for previous examples.
2011-01-24 20:48:40 +00:00
Georg Brandl
009a6bd675
Fix label syntax.
2011-01-24 19:59:08 +00:00
Georg Brandl
8e490de616
Typo fix.
2011-01-24 19:53:18 +00:00
R. David Murray
7b1aae9a52
#10960 : fix 'stat' links, link to lstat from stat, general tidy of stat doc.
...
Original patch by Michal Nowikowski, with some additions and wording
fixes by me.
I changed the wording from 'Performs a stat system call' to 'Performs
the equivalent of a stat system call', since on Windows there are no
stat/lstat system calls involved. I also extended Michal's breakout
of the attributes into a list to the other paragraphs, and rearranged
the order of the paragraphs in the 'stat' docs to make it flow
better and put it in what I think is a more logical/useful order.
2011-01-24 19:34:58 +00:00
Raymond Hettinger
a80ab10bc2
Typos.
2011-01-24 18:19:01 +00:00
Raymond Hettinger
ead4975b9f
Missing source links.
2011-01-24 16:28:06 +00:00
Raymond Hettinger
399bf7be41
Fix markup and add todo.
2011-01-24 10:11:12 +00:00
Raymond Hettinger
e7dfe74ce3
Add entry for hash_info().
2011-01-24 09:17:24 +00:00
Raymond Hettinger
9a236b0235
Add section for urllib.parse.
2011-01-24 09:01:27 +00:00
Raymond Hettinger
a3b7a14d16
Add entry for the html module.
2011-01-24 05:26:00 +00:00
Raymond Hettinger
d0d59b138d
Add entry for hashlib and expand the GC entry.
2011-01-24 05:07:13 +00:00
Raymond Hettinger
acff595a4e
Add entries for dis, dbm, and ctypes.
2011-01-24 01:51:49 +00:00
Raymond Hettinger
50307b684d
Add entries for array, asyncore, csv, compileall, and ast.
2011-01-24 01:18:30 +00:00
Raymond Hettinger
971f48320b
minor clean-up.
2011-01-23 21:32:18 +00:00
Raymond Hettinger
cbc903bc7e
Add tracker references.
2011-01-23 21:13:27 +00:00
Raymond Hettinger
98b140c196
Add entry for reprlib.
2011-01-23 21:05:46 +00:00
Raymond Hettinger
0929b1fc70
Add entry for shutil's archiving operations.
2011-01-23 11:29:08 +00:00
Antoine Pitrou
00d650baaa
Fix JSON docs about loads() accepting only str objects, not bytes.
2011-01-21 21:37:32 +00:00
Raymond Hettinger
2e042d3dc2
Use a Latin-1 example that won't break the LaTeX PDF build.
2011-01-21 09:18:19 +00:00
Raymond Hettinger
7a168d96dd
Add example for __wrapped__.
2011-01-21 04:59:00 +00:00
Raymond Hettinger
f1dae31ea6
Clarify what changed with respect to date ranges and two-digit years.
2011-01-21 03:00:00 +00:00
Alexander Belopolsky
9ee94dec18
Corrected the entry about new year range in the time module.
2011-01-20 19:51:31 +00:00
Raymond Hettinger
00db6aa4a6
Add an entry for the code repository.
2011-01-20 09:47:04 +00:00
Raymond Hettinger
2270d58a2d
Make an entry for the os module's bytes accessors.
...
Split codecs into a separate section. Rewrite
the Unicode section.
2011-01-20 09:04:39 +00:00
Raymond Hettinger
03ca1a92af
Add hasattr() example.
2011-01-20 04:12:37 +00:00
Raymond Hettinger
a275c989c9
Add more examples
2011-01-20 04:03:19 +00:00
Georg Brandl
ecdd63f56c
#10944 : add c_bool to types table.
2011-01-19 20:05:49 +00:00
Alexander Belopolsky
41a99bc20d
Issue #10934 : Fixed and expanded Internaldate2tuple() and
...
Time2Internaldate() documentation. Thanks Joe Peterson for the report
and the original patch.
2011-01-19 19:53:30 +00:00
Raymond Hettinger
be9994e0d1
Fix markup.
2011-01-19 08:44:33 +00:00
Georg Brandl
f3923cf9fd
Suppress trailing spaces in table paragraphs.
2011-01-19 08:42:03 +00:00
Raymond Hettinger
89c1cd1fdd
Expand entry for pydoc.
2011-01-19 04:43:45 +00:00
Raymond Hettinger
c1dfa2e7c3
Improve looks by replacing a bullet list with a table.
2011-01-19 04:24:57 +00:00
Raymond Hettinger
4bea978f65
Add examples for inspect.
2011-01-19 04:14:34 +00:00
David Malcolm
4934864853
Fix typo in example of barrier timeouts from r88102
2011-01-18 23:45:53 +00:00
Raymond Hettinger
2c3865b210
Expand barrier example to show time-outs.
2011-01-18 22:58:33 +00:00
Raymond Hettinger
e0f1f3234c
Missing word.
2011-01-18 21:14:27 +00:00
Raymond Hettinger
23ab1016a0
Reword the OrderedDict entry to emphasize the default behavior,
...
to show equivalent code, and to provide a use case.
2011-01-18 20:25:04 +00:00
Raymond Hettinger
c8a16867f6
Typos.
2011-01-18 09:01:34 +00:00
Raymond Hettinger
ba5512f8f2
More nits.
2011-01-18 08:28:01 +00:00
Raymond Hettinger
c136b048b3
Nits.
2011-01-18 07:15:39 +00:00
Raymond Hettinger
93c8cad6d7
More nits.
2011-01-18 00:30:24 +00:00
Raymond Hettinger
7ec790d1fa
Add example for the abc module.
2011-01-18 00:19:30 +00:00
Raymond Hettinger
ca904be778
Nits.
2011-01-18 00:02:40 +00:00
Raymond Hettinger
9ba8b0a117
Add an import to the logging example
2011-01-17 23:42:17 +00:00
Raymond Hettinger
02dd70be5c
The example for configparser was weird.
2011-01-17 23:39:39 +00:00
Raymond Hettinger
6f0d59bad3
Beautify code examples.
2011-01-17 23:10:55 +00:00
Raymond Hettinger
66352d2793
Wording nits.
2011-01-17 22:33:11 +00:00
Raymond Hettinger
1dcc84e43b
Fix-up the XXX for importlib.abc.
2011-01-17 21:55:40 +00:00
Raymond Hettinger
4854d14f55
Tidy-up the ssl section.
2011-01-17 21:29:58 +00:00
Raymond Hettinger
15b47c5d7f
Note that two-phase cyclic barriers are suitable for use in loops.
2011-01-17 21:05:07 +00:00
Brett Cannon
83a682da30
Placeholder sentence pointing out that imoprtlib has updated (as well as deprecated) ABCs thanks to the new .pyc situation.
2011-01-16 21:02:09 +00:00
Antoine Pitrou
ebeb90339d
Mention deprecation of PyEval_{Acquire,Release}Lock().
2011-01-16 18:45:17 +00:00
Antoine Pitrou
2e8ec22242
More SSL-related stuff
2011-01-16 18:41:36 +00:00
Antoine Pitrou
f7fb7626d9
Mention HTTP 0.9's partial demise.
2011-01-16 18:34:09 +00:00
Antoine Pitrou
bcba43496c
Mention the new context parameter to FTP_TLS, and the small API change
...
in subprocess.Popen.
2011-01-16 18:29:34 +00:00
Raymond Hettinger
b965629a42
Issue 10889: Added entry for handling of indexing and slicing with ranges bigger than sys.maxsize.
2011-01-16 18:22:06 +00:00
Antoine Pitrou
eec6dbf232
Get proper credit
2011-01-16 18:21:12 +00:00
Antoine Pitrou
121a055a0f
Fix misindent
2011-01-16 18:16:52 +00:00
Antoine Pitrou
33da1d65bc
Better description of SSL-related changes
2011-01-16 18:16:09 +00:00
Raymond Hettinger
9297709292
Clean-up comment.
2011-01-16 09:18:59 +00:00
Georg Brandl
52a43b5dfd
Fix two small issues.
2011-01-16 09:11:45 +00:00
Georg Brandl
23e924f96b
Fix "make suspicious" errors and update ignore file.
2011-01-15 17:05:20 +00:00
Georg Brandl
375aec2315
Fix a few doc errors, mostly undefined keywords.
2011-01-15 17:03:02 +00:00
Georg Brandl
6dc50f34dd
Update to 1.0.7.
2011-01-15 16:45:03 +00:00
Antoine Pitrou
f5cf435bb5
Nits
2011-01-15 14:31:49 +00:00
Antoine Pitrou
5ace8e98da
Issue #10913 : Deprecate misleading functions PyEval_AcquireLock() and
...
PyEval_ReleaseLock(). The thread-state aware APIs should be used instead.
2011-01-15 13:11:48 +00:00
Antoine Pitrou
bedd2c2d88
Reword and restructure the GIL API doc
2011-01-15 12:54:19 +00:00
Antoine Pitrou
9bf8d1c228
Add mention of how to switch interpreters
2011-01-15 12:21:53 +00:00
Antoine Pitrou
f1dfe735b5
Improve description of issues
2011-01-15 12:10:48 +00:00
Antoine Pitrou
8b50b831b4
Restructure a bit
2011-01-15 11:57:42 +00:00