Georg Brandl
2ca9be4a0c
#5925 : fix highlighting of keyword table.
2009-05-04 20:42:08 +00:00
Gregory P. Smith
d02eedacab
Issue #4751 : For hashlib algorithms provided by OpenSSL, the Python
...
GIL is now released during computation on data lengths >= 2048 bytes.
2009-05-04 00:16:49 +00:00
Michael Foord
07ef487a96
2009-05-02 22:43:34 +00:00
Benjamin Peterson
2b42c29a50
add myself
2009-05-02 20:26:53 +00:00
Michael Foord
e2fb98f467
Add addCleanup and doCleanups to unittest.TestCase.
...
Closes issue 5679.
Michael Foord
2009-05-02 20:15:05 +00:00
Andrew M. Kuchling
92b970037b
Add items
2009-05-02 17:12:15 +00:00
Michael Foord
829f6b8052
Adds an exit parameter to unittest.main(). If False main no longer
...
calls sys.exit.
Closes issue 3379.
Michael Foord
2009-05-02 11:43:06 +00:00
Georg Brandl
24cc78ac61
Fix directive name.
2009-05-01 21:30:25 +00:00
Georg Brandl
b64b8278d1
Review ipaddr docs and add them in the TOC under "Internet protocols".
2009-05-01 21:28:35 +00:00
Gregory P. Smith
1d499265e0
Adds the ipaddr module to the standard library. Issue #3959 .
...
Based off of subversion r69 from http://code.google.com/p/ipaddr-py/
This code is 2to3 safe, I'll merge it into py3k later this afternoon.
2009-05-01 19:59:52 +00:00
Walter Dörwald
6733bed57e
Make test.test_support.EnvironmentVarGuard behave like a dictionary.
...
All changes are mirrored to the underlying os.environ dict, but rolled back
on exit from the with block.
2009-05-01 17:35:37 +00:00
R. David Murray
b01c6e53ed
Make the turtle.rst doctests pass. I have a feeling there should be
...
more cleanup, but I don't know now to kill turtles. Especially
unexpected ones... ;)
2009-04-30 12:42:32 +00:00
Georg Brandl
8c5326f103
#5878 : fix repr of re object.
2009-04-29 22:44:07 +00:00
Georg Brandl
f6dab9542c
Make the doctests in the docs pass, except for those in the turtle module.
2009-04-28 21:48:35 +00:00
R. David Murray
3b23c9c516
Remove spurious 'u'.
2009-04-28 19:02:55 +00:00
R. David Murray
636b23a96f
Various small fixups to the multiprocessing docs, mostly fixing and
...
enabling doctests that Sphinx can run, and fixing and disabling tests that
Sphinx can't run. I hand checked every test not now marked as a doctest,
and all except the two that have open bug reports against them now work,
at least on Linux/trunk. (I did not look at the last example at all since
there was already an open bug). I did not read the whole document with
an editor's eye, but I did fix a few things I noticed while working on
the tests.
2009-04-28 16:08:18 +00:00
Raymond Hettinger
8b8f8cc1b0
Add example to the seealso section.
2009-04-27 21:12:54 +00:00
R. David Murray
ec047e0725
Make sys.xxx variable references into links, note that print_last only
...
works when an exception gets to the interactive prompt, and update the
examples after testing. The last one is now a valid Sphinx doctest,
but of the preceding two one can't be made a doctest and the other one
I'm postponing to 3.x because sphinx handles doctests as Unicode strings
and that makes the 2.x output confusing.
2009-04-27 17:22:36 +00:00
Georg Brandl
2622b549d7
#5840 : dont claim we dont support TLS.
2009-04-27 17:09:53 +00:00
Georg Brandl
9bc668251f
#5848 : small unittest doc patch.
2009-04-27 17:04:23 +00:00
Georg Brandl
b44c9f357d
Demote warnings to notices, part 2: stuff that is 2.x-only.
2009-04-27 15:29:26 +00:00
Georg Brandl
16a57f6a34
Demote warnings to notices where appropriate, following the goal that as few "red box" warnings
...
should clutter the docs as possible. Part 1: stuff that gets merged to Py3k.
2009-04-27 15:29:09 +00:00
Georg Brandl
d91f8cf779
Remove ".. warning::" markup that doesnt contain warnings for users, rather todo items.
2009-04-27 15:10:44 +00:00
Georg Brandl
e1b79ce17e
#5856 : fix typo s in traceback example.
2009-04-27 15:09:25 +00:00
Eric Smith
f254aab098
Note that the caller is resposible for freeing the result of PyOS_double_to_string.
2009-04-26 10:05:11 +00:00
Georg Brandl
438192540d
Move pydoc_topics module to its own subdirectory, so that no generated code is in Lib/.
2009-04-26 09:56:44 +00:00
Georg Brandl
0d478c455b
Another file where the versions need to be up to date.
2009-04-26 06:06:53 +00:00
Georg Brandl
aa9eb9e163
Remove outdated TODO file.
2009-04-26 06:06:19 +00:00
Georg Brandl
576574f5dd
Note that the versions are also in README.txt.
2009-04-26 06:05:58 +00:00
Georg Brandl
dbc5b4b66f
Update versions in instructions for manual set-up.
2009-04-26 06:05:18 +00:00
Georg Brandl
afb0d6ef39
Mostly formatting nits, and "and-ed together" -> "or-ed together" flags.
2009-04-26 06:01:04 +00:00
Eric Smith
068f06568b
Issue #5835 , deprecate PyOS_ascii_formatd.
...
If anyone wants to clean up the documentation, feel free. It's my first documentation foray, and it's not that great.
Will port to py3k with a different strategy.
2009-04-25 21:40:15 +00:00
Jeroen Ruigrok van der Werven
dfcffd4044
Issue #4129 : document int -> Py_ssize_t changes.
2009-04-25 21:16:05 +00:00
Jeroen Ruigrok van der Werven
436f1a2e0d
Issue #4129 : field changed from int to Py_ssize_t.
2009-04-25 21:02:34 +00:00
Jeroen Ruigrok van der Werven
acc73b74b8
Issue #4129 : more int -> Py_ssize_t documentation.
2009-04-25 20:58:35 +00:00
Jeroen Ruigrok van der Werven
7b3750c8d8
Issue #4129 : more int -> Py_ssize_t documentation.
2009-04-25 20:55:39 +00:00
Jeroen Ruigrok van der Werven
36378711b7
Issue #4129 : int -> Py_ssize_t documentation.
2009-04-25 20:50:27 +00:00
Jeroen Ruigrok van der Werven
9594c2c5aa
Issue #4129 : int -> Py_ssize_t documentation.
2009-04-25 20:44:58 +00:00
Jeroen Ruigrok van der Werven
27d51f1a51
Reformat prior to editing.
2009-04-25 20:43:30 +00:00
Jeroen Ruigrok van der Werven
be82d2f16f
Issue #4129 : int -> Py_ssize_t documentation.
2009-04-25 20:41:40 +00:00
Jeroen Ruigrok van der Werven
a4c03abb9e
Reformat prior to editing.
2009-04-25 20:40:10 +00:00
Jeroen Ruigrok van der Werven
9e03cee97c
Since it's a macro, actually refer to it as such instead of function.
2009-04-25 20:37:39 +00:00
Jeroen Ruigrok van der Werven
af15b41547
Issue #4129 : Add a versionchanged notice for a few forgotten entries.
2009-04-25 19:54:34 +00:00
Jeroen Ruigrok van der Werven
de0fed10c8
Reformat, since I've been busy here anyway.
2009-04-25 19:49:05 +00:00
Jeroen Ruigrok van der Werven
2aa7840f54
Issue #4129 : Documentation notes for int -> Py_ssize_t changes.
2009-04-25 19:46:19 +00:00
Jeroen Ruigrok van der Werven
691f5f17ee
Issue #4129 : More documentation pointers about int -> Py_ssize_t.
...
Also fix up the documentation for PyObject_GC_Resize(). It seems that since
it first got documented, the documentation was actually for
_PyObject_GC_Resize().
2009-04-25 19:44:55 +00:00
Jeroen Ruigrok van der Werven
3537124058
Reformat prior to editing.
2009-04-25 19:10:52 +00:00
Jeroen Ruigrok van der Werven
1ae8c88030
Since I edited this file, reformat for future edits.
2009-04-25 19:04:15 +00:00
Jeroen Ruigrok van der Werven
c2aa7b8a0a
Reference to an int type, whereas it's a Py_ssize_t as the synopsis states.
2009-04-25 18:57:32 +00:00
Jeroen Ruigrok van der Werven
28c81e0bb5
Reformat prior to editing.
2009-04-25 18:53:48 +00:00
Jeroen Ruigrok van der Werven
2391918f3e
Issue #4129 : Document more int -> Py_ssize_t changes.
2009-04-25 18:46:03 +00:00
Jeroen Ruigrok van der Werven
84441cc3d5
Reformat prior to editing.
2009-04-25 18:31:20 +00:00
Jeroen Ruigrok van der Werven
089c5cdd09
Issue #4129 : Belatedly document which C API functions had their argument(s) or
...
return type changed from int or int * to Py_ssize_t or Py_ssize_t * as this
might cause problems on 64-bit platforms.
2009-04-25 17:59:03 +00:00
Georg Brandl
208b00d03f
#5841 : add deprecation py3k warning and notice in the docs for commands module.
2009-04-25 15:11:29 +00:00
Georg Brandl
cf5608df81
#5821 : add some capabilities of TarFile's file-like object.
2009-04-25 15:05:04 +00:00
Georg Brandl
64034bbf84
#5834 : use "failure" instead of "error" because the two have different meanings in unittest context.
2009-04-25 14:51:31 +00:00
Georg Brandl
b581804d69
#3320 : fix spelling.
2009-04-25 14:50:25 +00:00
Jeroen Ruigrok van der Werven
6f1d543133
Reformat paragraph.
2009-04-25 14:28:02 +00:00
Jeroen Ruigrok van der Werven
325a997efb
The type for ppos has been Py_ssize_t since 2.5, reflect this in the
...
documentation.
2009-04-25 14:27:00 +00:00
Jeroen Ruigrok van der Werven
c42c099436
Reformat prior to editing.
2009-04-25 14:24:30 +00:00
Jeroen Ruigrok van der Werven
140d9d673e
Reformat file prior to editing.
2009-04-25 13:58:58 +00:00
Jeroen Ruigrok van der Werven
2dcf46ee2c
Rewrite a sentence to be more in line with the rest of the documentation with
...
regard to person and audience.
2009-04-25 13:07:40 +00:00
Jeroen Ruigrok van der Werven
a2dce5a9ee
Issue #4239 : adjust email examples not to use connect() and terminate with
...
quit() and not close().
2009-04-25 12:49:10 +00:00
Jeroen Ruigrok van der Werven
162641a24c
First attempt to document PyObject_HEAD_INIT and PyVarObject_HEAD_INIT.
2009-04-25 11:59:09 +00:00
Jeroen Ruigrok van der Werven
bc25bf9d3e
Reformat prior to expanding.
2009-04-25 11:15:06 +00:00
Georg Brandl
508c423fe1
Add link to PEP 236.
2009-04-23 08:52:03 +00:00
Georg Brandl
69923a1df6
#5813 : add a reference to the "future statements" section.
2009-04-23 08:49:56 +00:00
Georg Brandl
95089bc9bf
Fix rewrapping accident.
2009-04-23 08:49:39 +00:00
Georg Brandl
49cc4eafcb
#5820 : fix bug in usage of getreader().
2009-04-23 08:44:57 +00:00
Mark Dickinson
8100bd8431
Issue #5812 : make Fraction('1e-6') valid. Backport of r71806.
2009-04-22 18:15:25 +00:00
Nick Coghlan
5533ff6a2e
Issue 5354: Change API for import_fresh_module() to better support test_warnings use case (also fixes some bugs in the original implementation)
2009-04-22 15:26:04 +00:00
Eric Smith
4c074382bd
Documentation for issue 5237, auto-numbered format fields. Contributed by Terry J. Reedy.
2009-04-22 00:47:00 +00:00
Georg Brandl
e56101136c
#5751 : fix escaping of \\n.
2009-04-21 18:24:34 +00:00
Georg Brandl
ce54356690
#5757 : fix copy-paste error in notify().
2009-04-21 18:23:08 +00:00
Raymond Hettinger
cccfc825e4
Fix typo
2009-04-20 18:23:57 +00:00
Raymond Hettinger
76162e305c
Clarify the behavior of any() and all() with an empty iterable.
2009-04-16 18:16:10 +00:00
R. David Murray
7203081025
Less red ink (warning->note) and add link to def of side-by-side assembly.
2009-04-16 18:12:53 +00:00
R. David Murray
6076d399b4
Fix for issue3440: add warning to subprocess discussion of
...
env parameter that on Windows SystemRoot is required in order
to run side-by-side assemblies.
2009-04-15 22:33:07 +00:00
Benjamin Peterson
5c9914899b
tupel -> tuple
2009-04-14 21:23:09 +00:00
Georg Brandl
b48327a215
#5745 : more linking for identifiers in email docs.
2009-04-13 13:13:25 +00:00
Georg Brandl
456cb1e694
Simplify markup.
2009-04-13 12:36:18 +00:00
Hirokazu Yamamoto
4585746fb0
Fixed another typos. (email.Utils => email.utils)
2009-04-13 01:21:56 +00:00
Hirokazu Yamamoto
3bd4058d82
Fixed typo. (email.Utils => email.utils)
2009-04-13 01:07:06 +00:00
Benjamin Peterson
a9feadc0dd
fix missing quote
2009-04-12 23:44:15 +00:00
Benjamin Peterson
7bedd625df
fix extra parenthesis #5774
2009-04-12 23:19:56 +00:00
Eric Smith
507690c6e5
Take credit for my patch for issue 5237.
2009-04-12 02:57:29 +00:00
Benjamin Peterson
aa0a0b9007
fix markup
2009-04-11 20:27:15 +00:00
Georg Brandl
64e1c75455
Take credit for a patch of mine.
2009-04-11 18:19:27 +00:00
Andrew M. Kuchling
b2faddb610
Re-word
2009-04-11 16:18:14 +00:00
Andrew M. Kuchling
2c130b6be7
Add various items
2009-04-11 16:12:23 +00:00
Tarek Ziadé
942825f7de
#5732 : added the check command into Distutils
2009-04-11 14:55:07 +00:00
Tarek Ziadé
b2daff2905
fixed link
2009-04-11 13:59:05 +00:00
Nick Coghlan
cd2e7042ae
Issue 5354: Provide a standardised testing mechanism for doing fresh imports of modules, including the ability to block extension modules in order to test the pure Python fallbacks
2009-04-11 13:31:31 +00:00
Raymond Hettinger
f0f475da61
Add examples.
2009-04-10 13:16:50 +00:00
Georg Brandl
5623e50d1a
Let "lambda" point to the correct heading.
2009-04-10 08:16:47 +00:00
Raymond Hettinger
c4f4697196
Fix the count of datatypes.
2009-04-10 06:38:39 +00:00
Raymond Hettinger
f368fbc24e
Clarify the table entries for combinatorics.
2009-04-10 04:25:45 +00:00
Raymond Hettinger
3f5a0b3316
IE needs the border-left:0 for some reason.
2009-04-10 02:01:21 +00:00
Raymond Hettinger
8dbae0ff15
More table clean-up
2009-04-10 00:49:41 +00:00
Raymond Hettinger
80a71a0171
Center table headings.
2009-04-09 23:34:14 +00:00