Benjamin Peterson
44d3d7854b
add versionadded
2010-04-25 21:03:34 +00:00
Michael Foord
de4ceabfd8
Merged revisions 80476 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80476 | michael.foord | 2010-04-25 20:02:46 +0100 (Sun, 25 Apr 2010) | 1 line
Adding unittest.removeHandler function / decorator for removing the signal.SIGINT signal handler. With tests and docs.
........
2010-04-25 19:53:49 +00:00
Ezio Melotti
bc37298e84
Merged revisions 79786 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79786 | ezio.melotti | 2010-04-05 11:02:54 +0300 (Mon, 05 Apr 2010) | 1 line
Fix markup, punctuation and whitespaces in _winreg.rst.
........
2010-04-25 17:48:01 +00:00
Georg Brandl
386bc6d380
Merged revisions 80150,80460-80461 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80150 | r.david.murray | 2010-04-17 17:45:38 +0200 (Sa, 17 Apr 2010) | 2 lines
Update link to Apple Publication Style guide.
........
r80460 | georg.brandl | 2010-04-25 12:16:00 +0200 (So, 25 Apr 2010) | 1 line
#8528 : fix typo.
........
r80461 | georg.brandl | 2010-04-25 12:17:27 +0200 (So, 25 Apr 2010) | 1 line
#8522 : use with statement instead of try-finally for file handling.
........
2010-04-25 10:19:53 +00:00
Benjamin Peterson
fb88636199
prevent the dict constructor from accepting non-string keyword args #8419
...
This adds PyArg_ValidateKeywordArguments, which checks that keyword arguments
are all strings, using an optimized method if possible.
2010-04-24 18:21:17 +00:00
Brian Curtin
d85594869d
Fix #5774 . Change doc to reflect that some functions have defaults but not kwargs.
2010-04-24 17:21:31 +00:00
Tarek Ziadé
8c26c7d907
added a note about the ignore_dangling_symlinks option
2010-04-23 13:03:50 +00:00
Sean Reifscheider
13daf12b47
Port of issue8451 to python3: Syslog use sys.argv[0] for ident.
2010-04-23 09:29:52 +00:00
Georg Brandl
582c0a6ac2
Merged revisions 80388 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80388 | georg.brandl | 2010-04-23 00:15:33 +0200 (Fr, 23 Apr 2010) | 1 line
Add "report a bug" links in some prominent places. Make it clear that doc bugs can be mailed to docs@python.org . Clarify tracker usage.
........
2010-04-22 23:20:19 +00:00
Senthil Kumaran
7a1e09f60c
Merged revisions 80362 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80362 | senthil.kumaran | 2010-04-22 17:40:13 +0530 (Thu, 22 Apr 2010) | 4 lines
Changed tests to only urlparse one, which was enough, addressed Ezio's comment
on Invalid url check statement and versionchanged string in docs.
........
2010-04-22 12:19:46 +00:00
Victor Stinner
dcb2403022
Issue #8485 : PyUnicode_FSConverter() doesn't accept bytearray object anymore,
...
you have to convert your bytearray filenames to bytes
2010-04-22 12:08:36 +00:00
Senthil Kumaran
0c2d8b8e51
Fixing a note on encoding declaration, its usage in urlopen based on review
...
comments from RDM and Ezio.
2010-04-22 10:53:30 +00:00
Georg Brandl
5e73a819ca
Typo fixes.
2010-04-22 07:02:51 +00:00
Georg Brandl
4c25cf3fb0
Fix indentation.
2010-04-22 07:00:42 +00:00
Senthil Kumaran
6257bdd8ea
Merged revisions 80336 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80336 | senthil.kumaran | 2010-04-22 11:18:35 +0530 (Thu, 22 Apr 2010) | 3 lines
Updated the RFCs list in the See Also section of urlparse.rst
........
2010-04-22 05:53:18 +00:00
Brian Curtin
3035c3925c
Port #7347 to py3k.
...
Add CreateKeyEx and DeleteKeyEx, along with test improvements.
2010-04-21 23:56:21 +00:00
Tarek Ziadé
df6198ee39
fixed typo
2010-04-21 07:30:43 +00:00
Mark Dickinson
7c186e2a18
Issue #2706 : Add support for dividing a timedelta by another timedelta.
...
Adds support for the three division operations:
- timedelta / timedelta -> float
- timedelta // timedelta -> int
- timedelta % timedelta -> timedelta
also adds support for divmod(timedelta, timedelta).
Patch by Victor Stinner, adapted for py3k and extended by Alexander
Belopolsky.
2010-04-20 22:32:49 +00:00
Tarek Ziadé
5e2be8737d
Merged revisions 80282 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80282 | tarek.ziade | 2010-04-20 23:09:06 +0200 (Tue, 20 Apr 2010) | 1 line
removed ztar support in shutil.make_archive
........
2010-04-20 21:40:47 +00:00
Georg Brandl
bdc55aba34
Markup nit.
2010-04-20 18:15:54 +00:00
Brian Curtin
904bd39afb
Updated version numbers from 2.7 to 3.2
...
Merged revisions 80265 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80265 | brian.curtin | 2010-04-20 10:23:18 -0500 (Tue, 20 Apr 2010) | 2 lines
Add version info for os.kill and signal changes from #1220212 .
........
2010-04-20 15:28:06 +00:00
Tarek Ziadé
6cf3e616e4
fixed typo -- thanks Nick
2010-04-20 14:31:49 +00:00
Ezio Melotti
cb999a311c
Add missing arg, fix indentation and spelling.
2010-04-20 11:26:51 +00:00
Ezio Melotti
4d5195bab5
Fix two versionchanged.
2010-04-20 10:57:44 +00:00
Ezio Melotti
11d22dce3a
Merged revisions 79963,80024,80064,80070,80085,80088 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79963 | andrew.kuchling | 2010-04-11 23:40:09 +0300 (Sun, 11 Apr 2010) | 1 line
Add several items
........
r80024 | andrew.kuchling | 2010-04-13 04:32:51 +0300 (Tue, 13 Apr 2010) | 1 line
Add an item; stray edit
........
r80064 | andrew.kuchling | 2010-04-14 04:14:59 +0300 (Wed, 14 Apr 2010) | 1 line
Add argparse example
........
r80070 | andrew.kuchling | 2010-04-14 17:28:31 +0300 (Wed, 14 Apr 2010) | 1 line
Add some text
........
r80085 | andrew.kuchling | 2010-04-15 02:55:17 +0300 (Thu, 15 Apr 2010) | 1 line
Add various items; correct argparse output
........
r80088 | andrew.kuchling | 2010-04-15 04:42:27 +0300 (Thu, 15 Apr 2010) | 1 line
Add various items
........
2010-04-20 09:55:05 +00:00
Ezio Melotti
7e5b8892ce
Update the python version in the interpreter tutorial.
2010-04-20 09:41:59 +00:00
Ezio Melotti
7afd3f532d
Fix versionadded in unittest.rst.
2010-04-20 09:32:54 +00:00
Tarek Ziadé
7aa6da0509
added a note on shutil.copytree improvements
2010-04-20 09:13:23 +00:00
Tarek Ziadé
fb437513d6
Fixed #6547 : Added the ignore_dangling_symlinks option to shutil.copytree
2010-04-20 08:57:33 +00:00
Tarek Ziadé
5340db3803
Fixed #1540112 : now shutil.copytree will let you provide your own copy() function
2010-04-19 22:30:51 +00:00
Tarek Ziadé
10a51afc80
Merged revisions 80221 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80221 | tarek.ziade | 2010-04-19 23:28:21 +0200 (Mon, 19 Apr 2010) | 1 line
Fixed #8463 : added missing reference to bztar in shutil's documentation.
........
2010-04-19 21:31:42 +00:00
Antoine Pitrou
e4754bda86
Remove obsolete mention of IRIX native threads -- we don't use them anymore.
2010-04-19 14:09:57 +00:00
Antoine Pitrou
adbc009779
Add version{added,changed} for lock timeout support.
2010-04-19 14:05:51 +00:00
Georg Brandl
88d7dbdc0e
Remove colspanning cells.
2010-04-18 09:50:07 +00:00
Antoine Pitrou
0454af9b54
Issue #850728 : Add a *timeout* parameter to the `acquire()` method of
...
`threading.Semaphore` objects. Original patch by Torsten Landschoff.
2010-04-17 23:51:58 +00:00
Antoine Pitrou
2d9cb9c1cb
Merged revisions 80151 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80151 | antoine.pitrou | 2010-04-17 19:10:38 +0200 (sam., 17 avril 2010) | 4 lines
Issue #8322 : Add a *ciphers* argument to SSL sockets, so as to change the
available cipher list. Helps fix test_ssl with OpenSSL 1.0.0.
........
2010-04-17 17:40:45 +00:00
Barry Warsaw
28a691b7fd
PEP 3147
2010-04-17 00:19:56 +00:00
Senthil Kumaran
b213ee33c0
Fix Issue5419 - explaining bytes return value of urlopen, use of .decode() to convert to str.
2010-04-15 17:18:22 +00:00
Antoine Pitrou
7c3e577395
Issue #7316 : the acquire() method of lock objects in the :mod:`threading`
...
module now takes an optional timeout argument in seconds. Timeout support
relies on the system threading library, so as to avoid a semi-busy wait
loop.
2010-04-14 15:44:10 +00:00
Raymond Hettinger
22f188512b
Add usage notes for collections.Counter()
2010-04-12 21:45:14 +00:00
Mark Dickinson
6abf1823da
Merged revisions 80013-80015 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80013 | mark.dickinson | 2010-04-12 20:25:32 +0100 (Mon, 12 Apr 2010) | 14 lines
Issue #7355 : Various improvements to struct module documentation.
- note early on that the result of struct.pack includes padding
bytes by default
- add examples showing how order of struct fields can affect size
(due to padding)
- better headers and references; introduction to format strings
- integrate packing notes into table
Many thanks to Meador Inge for the patch.
........
r80014 | mark.dickinson | 2010-04-12 20:46:20 +0100 (Mon, 12 Apr 2010) | 1 line
Rewrap some long lines in struct module doc source.
........
r80015 | mark.dickinson | 2010-04-12 21:38:36 +0100 (Mon, 12 Apr 2010) | 1 line
More struct doc tweaks.
........
2010-04-12 21:00:59 +00:00
Brian Curtin
f4ed2066fc
Merged revisions 80009 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80009 | brian.curtin | 2010-04-12 13:07:21 -0500 (Mon, 12 Apr 2010) | 2 lines
Update the Windows FAQ's text about os.kill (#1220212 ).
........
2010-04-12 18:10:10 +00:00
Brian Curtin
eb24d7498f
Port #1220212 (os.kill for Win32) to py3k.
2010-04-12 17:16:38 +00:00
R. David Murray
b2416e54b1
Merged revisions 80004 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80004 | r.david.murray | 2010-04-12 12:35:19 -0400 (Mon, 12 Apr 2010) | 13 lines
Issue #7585 : use tab between components in unified and context diff headers.
Instead of spaces between the filename and date (or whatever the string
is that follows the filename, if any) use tabs. This is what the unix
'diff' command does, for example, and difflib was intended to follow
the 'standard' way of doing diffs. This improves compatibility with
patch tools. The docs and examples are also changed to recommended that
the date format used be the ISO 8601 format, which is what modern diff
tools emit by default.
Patch by Anatoly Techtonik.
........
2010-04-12 16:58:02 +00:00
Barry Warsaw
0c9fd6321c
typo
2010-04-12 14:50:57 +00:00
Benjamin Peterson
b48af54ff7
Merged revisions 79464,79471,79623,79626,79630,79632,79643,79648-79649,79679,79685,79711,79761,79774,79777,79792-79794,79877,79898-79900 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79464 | michael.foord | 2010-03-27 07:55:19 -0500 (Sat, 27 Mar 2010) | 1 line
A fix for running unittest tests on platforms without the audioop module (e.g. jython and IronPython)
........
r79471 | michael.foord | 2010-03-27 14:10:11 -0500 (Sat, 27 Mar 2010) | 4 lines
Addition of delta keyword argument to unittest.TestCase.assertAlmostEquals and assertNotAlmostEquals
This allows the comparison of objects by specifying a maximum difference; this includes the comparing of non-numeric objects that don't support rounding.
........
r79623 | michael.foord | 2010-04-02 16:42:47 -0500 (Fri, 02 Apr 2010) | 1 line
Addition of -b command line option to unittest for buffering stdout and stderr during test runs.
........
r79626 | michael.foord | 2010-04-02 17:08:29 -0500 (Fri, 02 Apr 2010) | 1 line
TestResult stores original sys.stdout and tests no longer use sys.__stdout__ (etc) in tests for unittest -b command line option
........
r79630 | michael.foord | 2010-04-02 17:30:56 -0500 (Fri, 02 Apr 2010) | 1 line
unittest tests no longer replace the sys.stdout put in place by regrtest
........
r79632 | michael.foord | 2010-04-02 17:55:59 -0500 (Fri, 02 Apr 2010) | 1 line
Issue #8038 : Addition of unittest.TestCase.assertNotRegexpMatches
........
r79643 | michael.foord | 2010-04-02 20:15:21 -0500 (Fri, 02 Apr 2010) | 1 line
Support dotted module names for test discovery paths in unittest. Issue 8038.
........
r79648 | michael.foord | 2010-04-02 21:21:39 -0500 (Fri, 02 Apr 2010) | 1 line
Cross platform unittest.TestResult newline handling when buffering stdout / stderr.
........
r79649 | michael.foord | 2010-04-02 21:33:55 -0500 (Fri, 02 Apr 2010) | 1 line
Another attempt at a fix for unittest.test.test_result for windows line endings
........
r79679 | michael.foord | 2010-04-03 09:52:18 -0500 (Sat, 03 Apr 2010) | 1 line
Adding -b command line option to the unittest usage message.
........
r79685 | michael.foord | 2010-04-03 10:20:00 -0500 (Sat, 03 Apr 2010) | 1 line
Minor tweak to unittest command line usage message
........
r79711 | michael.foord | 2010-04-03 12:03:11 -0500 (Sat, 03 Apr 2010) | 1 line
Documenting new features in unittest
........
r79761 | michael.foord | 2010-04-04 17:41:54 -0500 (Sun, 04 Apr 2010) | 1 line
unittest documentation formatting changes
........
r79774 | michael.foord | 2010-04-04 18:28:44 -0500 (Sun, 04 Apr 2010) | 1 line
Adding documentation for new unittest.main() parameters
........
r79777 | michael.foord | 2010-04-04 19:39:50 -0500 (Sun, 04 Apr 2010) | 1 line
Document signal handling functions in unittest.rst
........
r79792 | michael.foord | 2010-04-05 05:26:26 -0500 (Mon, 05 Apr 2010) | 1 line
Documentation fixes for unittest
........
r79793 | michael.foord | 2010-04-05 05:28:27 -0500 (Mon, 05 Apr 2010) | 1 line
Furterh documentation fix for unittest.rst
........
r79794 | michael.foord | 2010-04-05 05:30:14 -0500 (Mon, 05 Apr 2010) | 1 line
Further documentation fix for unittest.rst
........
r79877 | michael.foord | 2010-04-06 18:18:16 -0500 (Tue, 06 Apr 2010) | 1 line
Fix module directory finding logic for dotted paths in unittest test discovery.
........
r79898 | michael.foord | 2010-04-07 18:04:22 -0500 (Wed, 07 Apr 2010) | 1 line
unittest.result.TestResult does not create its buffers until they're used. It uses StringIO not cStringIO. Issue 8333.
........
r79899 | michael.foord | 2010-04-07 19:04:24 -0500 (Wed, 07 Apr 2010) | 1 line
Switch regrtest to use StringIO instead of cStringIO for test_multiprocessing on Windows. Issue 8333.
........
r79900 | michael.foord | 2010-04-07 23:33:20 -0500 (Wed, 07 Apr 2010) | 1 line
Correction of unittest documentation typos and omissions
........
2010-04-11 20:43:16 +00:00
Benjamin Peterson
22005fc5ba
Merged revisions 79279,79284,79293,79373,79376,79379,79876,79888 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79279 | vinay.sajip | 2010-03-22 07:33:08 -0500 (Mon, 22 Mar 2010) | 1 line
Issue #8200 : logging: Handle errors when multiprocessing is not fully loaded when logging occurs.
........
r79284 | vinay.sajip | 2010-03-22 08:02:28 -0500 (Mon, 22 Mar 2010) | 1 line
Issue #8201 : logging: Handle config errors when non-ASCII and Unicode logger names exist at the same time.
........
r79293 | vinay.sajip | 2010-03-22 10:29:01 -0500 (Mon, 22 Mar 2010) | 1 line
logging: Added getChild utility method to Logger and added isEnabledFor method to LoggerAdapter.
........
r79373 | vinay.sajip | 2010-03-24 09:31:21 -0500 (Wed, 24 Mar 2010) | 1 line
logging: Added LOG_FTP for SysLogHandler and updated documentation.
........
r79376 | vinay.sajip | 2010-03-24 10:10:40 -0500 (Wed, 24 Mar 2010) | 1 line
logging: Documentation tweak.
........
r79379 | vinay.sajip | 2010-03-24 12:36:35 -0500 (Wed, 24 Mar 2010) | 1 line
logging: Updated SysLogHandler documentation.
........
r79876 | vinay.sajip | 2010-04-06 17:32:37 -0500 (Tue, 06 Apr 2010) | 1 line
Issue #8327 : logging: Clarification of propagation functionality in documentation.
........
r79888 | vinay.sajip | 2010-04-07 04:40:52 -0500 (Wed, 07 Apr 2010) | 1 line
Issue #8331 : logging: fixed some grammatical errors in documentation.
........
2010-04-11 16:25:06 +00:00
Benjamin Peterson
08bf91c041
Merged revisions 79307,79408,79430,79533,79542,79579-79580,79585-79587,79607-79608,79622,79717,79820,79822,79828,79862,79875,79923-79924,79941-79943,79945,79947,79951-79952 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79307 | florent.xicluna | 2010-03-22 17:45:50 -0500 (Mon, 22 Mar 2010) | 2 lines
#7667 : Fix doctest failures with non-ASCII paths.
........
r79408 | victor.stinner | 2010-03-24 20:18:38 -0500 (Wed, 24 Mar 2010) | 2 lines
Fix a gcc warning introduced by r79397.
........
r79430 | brian.curtin | 2010-03-25 18:48:54 -0500 (Thu, 25 Mar 2010) | 2 lines
Fix #6538 . Markup RegexObject and MatchObject as classes. Patch by Ryan Arana.
........
r79533 | barry.warsaw | 2010-03-31 16:07:16 -0500 (Wed, 31 Mar 2010) | 6 lines
- Issue #8233 : When run as a script, py_compile.py optionally takes a single
argument `-` which tells it to read files to compile from stdin. Each line
is read on demand and the named file is compiled immediately. (Original
patch by Piotr O?\197?\188arowski).
........
r79542 | r.david.murray | 2010-03-31 20:28:39 -0500 (Wed, 31 Mar 2010) | 3 lines
A couple small grammar fixes in test.rst, and rewrite the
check_warnings docs to be clearer.
........
r79579 | georg.brandl | 2010-04-02 03:34:41 -0500 (Fri, 02 Apr 2010) | 1 line
Add 2.6.5.
........
r79580 | georg.brandl | 2010-04-02 03:39:09 -0500 (Fri, 02 Apr 2010) | 1 line
#2768 : add a note on how to get a file descriptor.
........
r79585 | georg.brandl | 2010-04-02 04:03:18 -0500 (Fri, 02 Apr 2010) | 1 line
Remove col-spanning cells in logging docs.
........
r79586 | georg.brandl | 2010-04-02 04:07:42 -0500 (Fri, 02 Apr 2010) | 1 line
Document PyImport_ExecCodeModuleEx().
........
r79587 | georg.brandl | 2010-04-02 04:11:49 -0500 (Fri, 02 Apr 2010) | 1 line
#8012 : clarification in generator glossary entry.
........
r79607 | andrew.kuchling | 2010-04-02 12:48:23 -0500 (Fri, 02 Apr 2010) | 1 line
#6647 : document that catch_warnings is not thread-safe
........
r79608 | andrew.kuchling | 2010-04-02 12:54:26 -0500 (Fri, 02 Apr 2010) | 1 line
#6647 : add note to two examples
........
r79622 | tarek.ziade | 2010-04-02 16:34:19 -0500 (Fri, 02 Apr 2010) | 1 line
removed documentation on code that was reverted and pushed into distutils2
........
r79717 | antoine.pitrou | 2010-04-03 16:22:38 -0500 (Sat, 03 Apr 2010) | 4 lines
Fix wording / typography, and a slightly misleading statement
(memoryviews don't support complex structures right now)
........
r79820 | benjamin.peterson | 2010-04-05 22:34:09 -0500 (Mon, 05 Apr 2010) | 1 line
ready _sre types
........
r79822 | georg.brandl | 2010-04-06 03:18:15 -0500 (Tue, 06 Apr 2010) | 1 line
#8320 : document return value of recv_into().
........
r79828 | georg.brandl | 2010-04-06 09:33:44 -0500 (Tue, 06 Apr 2010) | 1 line
Add JP.
........
r79862 | georg.brandl | 2010-04-06 15:27:59 -0500 (Tue, 06 Apr 2010) | 1 line
Fix syntax.
........
r79875 | mark.dickinson | 2010-04-06 17:18:23 -0500 (Tue, 06 Apr 2010) | 1 line
More NaN consistency doc fixes.
........
r79923 | georg.brandl | 2010-04-10 06:15:24 -0500 (Sat, 10 Apr 2010) | 1 line
#8360 : skipTest was added in 2.7.
........
r79924 | georg.brandl | 2010-04-10 06:16:59 -0500 (Sat, 10 Apr 2010) | 1 line
#8346 : update version.
........
r79941 | andrew.kuchling | 2010-04-10 20:39:36 -0500 (Sat, 10 Apr 2010) | 1 line
Two grammar fixes
........
r79942 | andrew.kuchling | 2010-04-10 20:40:06 -0500 (Sat, 10 Apr 2010) | 1 line
Punctuation fix
........
r79943 | andrew.kuchling | 2010-04-10 20:40:30 -0500 (Sat, 10 Apr 2010) | 1 line
Add various items
........
r79945 | andrew.kuchling | 2010-04-10 20:40:49 -0500 (Sat, 10 Apr 2010) | 1 line
name correct
........
r79947 | andrew.kuchling | 2010-04-10 20:44:13 -0500 (Sat, 10 Apr 2010) | 1 line
Remove distutils section
........
r79951 | andrew.kuchling | 2010-04-11 07:48:08 -0500 (Sun, 11 Apr 2010) | 1 line
Two typo fixes
........
r79952 | andrew.kuchling | 2010-04-11 07:49:37 -0500 (Sun, 11 Apr 2010) | 1 line
Add two items
........
2010-04-11 16:12:57 +00:00
Raymond Hettinger
c075f07a97
Fixup new itertools recipes.
2010-04-10 07:09:53 +00:00
Brian Curtin
48f16f9297
Add MatchObject.groups which got messed up during a merge.
2010-04-08 13:55:29 +00:00