]> granicus.if.org Git - python/log
python
14 years agoMore issue #10624: Add requires_IEEE_754 to __all__.
Eric Smith [Sat, 4 Dec 2010 17:12:41 +0000 (17:12 +0000)]
More issue #10624: Add requires_IEEE_754 to __all__.

14 years agoFix test suite to not activate new sigint behavior in pdb.
Georg Brandl [Sat, 4 Dec 2010 17:11:36 +0000 (17:11 +0000)]
Fix test suite to not activate new sigint behavior in pdb.

14 years agoFix typo.
Georg Brandl [Sat, 4 Dec 2010 17:09:30 +0000 (17:09 +0000)]
Fix typo.

14 years agoFix accidental checkin.
Georg Brandl [Sat, 4 Dec 2010 16:22:44 +0000 (16:22 +0000)]
Fix accidental checkin.

14 years agoAdd display/undisplay pdb commands.
Georg Brandl [Sat, 4 Dec 2010 16:21:42 +0000 (16:21 +0000)]
Add display/undisplay pdb commands.

14 years ago#7245: Add a SIGINT handler on continue in pdb that allows to break a program again...
Georg Brandl [Sat, 4 Dec 2010 16:00:47 +0000 (16:00 +0000)]
#7245: Add a SIGINT handler on continue in pdb that allows to break a program again by pressing Ctrl-C.

14 years agoIssue 10625: Add tests for negative zeros in complex str and repr.
Eric Smith [Sat, 4 Dec 2010 15:26:13 +0000 (15:26 +0000)]
Issue 10625: Add tests for negative zeros in complex str and repr.

14 years agoIssue #10624: Use support.requires_IEEE_754 in all appropriate tests.
Eric Smith [Sat, 4 Dec 2010 15:17:38 +0000 (15:17 +0000)]
Issue #10624: Use support.requires_IEEE_754 in all appropriate tests.

14 years agoFix PEP number.
Martin v. Löwis [Sat, 4 Dec 2010 13:49:32 +0000 (13:49 +0000)]
Fix PEP number.

14 years agosupport for checking test coverage added.
Łukasz Langa [Sat, 4 Dec 2010 13:48:13 +0000 (13:48 +0000)]
support for checking test coverage added.
70% coverage at the moment (not tragic but needs work).

14 years agoIssue #10624: Move requires_IEEE_754 into test.support. I'll fix up other uses of...
Eric Smith [Sat, 4 Dec 2010 13:32:18 +0000 (13:32 +0000)]
Issue #10624: Move requires_IEEE_754 into test.support. I'll fix up other uses of it shortly.

14 years agoRemoved static function complex_format, moved it into complex_repr. Modified tests...
Eric Smith [Sat, 4 Dec 2010 13:27:34 +0000 (13:27 +0000)]
Removed static function complex_format, moved it into complex_repr. Modified tests to check both str and repr, which are the same for complex.

14 years agoUse copysign to produce appropriately signed zeros instead of trying to worm around...
Mark Dickinson [Sat, 4 Dec 2010 13:14:29 +0000 (13:14 +0000)]
Use copysign to produce appropriately signed zeros instead of trying to worm around possible compiler optimizations.

14 years agoconfigparser: fixed inconsistency where in SafeConfigParser option values
Łukasz Langa [Sat, 4 Dec 2010 12:46:01 +0000 (12:46 +0000)]
configparser: fixed inconsistency where in SafeConfigParser option values
 were ensured to be strings but section names and option keys were not.
 Behaviour unchanged for RawConfigParser and ConfigParser.

14 years agoIssue #10596: Fix float.__mod__ to have the same behaviour as
Mark Dickinson [Sat, 4 Dec 2010 12:25:30 +0000 (12:25 +0000)]
Issue #10596: Fix float.__mod__ to have the same behaviour as
float.__divmod__ with respect to signed zeros.

14 years agoI hope this will fix Win2008(x64) buildbot error.
Hirokazu Yamamoto [Sat, 4 Dec 2010 12:20:57 +0000 (12:20 +0000)]
I hope this will fix Win2008(x64) buildbot error.

14 years agoExpose CompileString, not CompileStringFlags under the
Martin v. Löwis [Sat, 4 Dec 2010 12:00:49 +0000 (12:00 +0000)]
Expose CompileString, not CompileStringFlags under the
limited API.

14 years agoRemove some unecessary '#ifdef Py_NAN's from floatobject.c
Mark Dickinson [Sat, 4 Dec 2010 11:52:58 +0000 (11:52 +0000)]
Remove some unecessary '#ifdef Py_NAN's from floatobject.c

14 years agoconfigparser: minute refactoring of RawConfigParser.items()
Łukasz Langa [Sat, 4 Dec 2010 11:48:11 +0000 (11:48 +0000)]
configparser: minute refactoring of RawConfigParser.items()

14 years agoissue10622: fix superflous scrollbar on the right side of <pre> boxes in the
Gregory P. Smith [Sat, 4 Dec 2010 11:36:58 +0000 (11:36 +0000)]
issue10622: fix superflous scrollbar on the right side of <pre> boxes in the
generated html docs.  visible in chrome, possibly other webkit browsers.

14 years agoissue6559: Adds a pass_fds parameter to subprocess.Popen that allows the caller
Gregory P. Smith [Sat, 4 Dec 2010 11:22:11 +0000 (11:22 +0000)]
issue6559: Adds a pass_fds parameter to subprocess.Popen that allows the caller
to list exactly which file descriptors should be kept open.

14 years agoAdd the "interact" pdb command from pdb++.
Georg Brandl [Sat, 4 Dec 2010 11:20:26 +0000 (11:20 +0000)]
Add the "interact" pdb command from pdb++.

14 years ago#7905: Actually respect the keyencoding parameter to shelve.Shelf.
Georg Brandl [Sat, 4 Dec 2010 11:12:43 +0000 (11:12 +0000)]
#7905: Actually respect the keyencoding parameter to shelve.Shelf.

14 years agoFix indentation in Objects/longobject.c
Mark Dickinson [Sat, 4 Dec 2010 11:06:25 +0000 (11:06 +0000)]
Fix indentation in Objects/longobject.c

14 years ago#1569291: speed up array.repeat() by making only O(log n) memcpy() calls; the code...
Georg Brandl [Sat, 4 Dec 2010 11:02:04 +0000 (11:02 +0000)]
#1569291: speed up array.repeat() by making only O(log n) memcpy() calls; the code follows unicode_repeat.

14 years ago#1772833: add -q command line option.
Georg Brandl [Sat, 4 Dec 2010 10:47:18 +0000 (10:47 +0000)]
#1772833: add -q command line option.

14 years ago#1513299: cleanup some map() uses where a comprehension works better.
Georg Brandl [Sat, 4 Dec 2010 10:39:14 +0000 (10:39 +0000)]
#1513299: cleanup some map() uses where a comprehension works better.

14 years agoAdd an "optimize" parameter to compile() to control the optimization level, and provi...
Georg Brandl [Sat, 4 Dec 2010 10:26:46 +0000 (10:26 +0000)]
Add an "optimize" parameter to compile() to control the optimization level, and provide an interface to it in py_compile, compileall and PyZipFile.

14 years agoFixed several corner case issues on os.stat/os.lstat related to reparse
Hirokazu Yamamoto [Sat, 4 Dec 2010 10:16:05 +0000 (10:16 +0000)]
Fixed several corner case issues on os.stat/os.lstat related to reparse
points. (Windows)

- Set S_IEXEC via final path name not link name.
- Set S_IFLNK also via FindFirstFile (when CreateFile fails)

14 years agorefactor the warning test.
Gregory P. Smith [Sat, 4 Dec 2010 09:59:52 +0000 (09:59 +0000)]
refactor the warning test.

14 years agoAdd the NEWS entry for issue7904
Senthil Kumaran [Sat, 4 Dec 2010 09:44:30 +0000 (09:44 +0000)]
Add the NEWS entry for issue7904

14 years ago#6045: provide at least get() and setdefault() for all dbm modules.
Georg Brandl [Sat, 4 Dec 2010 09:14:36 +0000 (09:14 +0000)]
#6045: provide at least get() and setdefault() for all dbm modules.

14 years agoRegenerate.
Martin v. Löwis [Sat, 4 Dec 2010 09:12:14 +0000 (09:12 +0000)]
Regenerate.

14 years agoAdd Revision keyword.
Martin v. Löwis [Sat, 4 Dec 2010 09:11:41 +0000 (09:11 +0000)]
Add Revision keyword.

14 years agoissue7213 + issue2320: Cause a DeprecationWarning if the close_fds argument is
Gregory P. Smith [Sat, 4 Dec 2010 09:10:44 +0000 (09:10 +0000)]
issue7213 + issue2320: Cause a DeprecationWarning if the close_fds argument is
not passed to subprocess.Popen as the default value will be changing in a
future Python to the safer and more often desired value of True.

DeprecationWarnings that show up in a lot of existing code are controversial
and have caused pain in the past.  I'd like to leave this on for 3.2 beta1 and
see how things go.  We can remove the warning if it is deemed too noisy during
any betas.  (case study: the md5 and sha module DeprecationWarnings are loathed
around the world as those modules were never going to be removed in 2.x and
2to3 has a fixer for code that uses them)

14 years agoMake script 2-vs-3-agnostic.
Martin v. Löwis [Sat, 4 Dec 2010 09:08:10 +0000 (09:08 +0000)]
Make script 2-vs-3-agnostic.

14 years agoFix typo.
Georg Brandl [Sat, 4 Dec 2010 09:04:04 +0000 (09:04 +0000)]
Fix typo.

14 years agoIssue #10557: Fixed error messages from float() and other numeric
Alexander Belopolsky [Sat, 4 Dec 2010 03:38:46 +0000 (03:38 +0000)]
Issue #10557: Fixed error messages from float() and other numeric
types.  Added a new API function, PyUnicode_TransformDecimalToASCII(),
which transforms non-ASCII decimal digits in a Unicode string to their
ASCII equivalents.

14 years agoCorrect comment in unittest test
Michael Foord [Sat, 4 Dec 2010 01:43:59 +0000 (01:43 +0000)]
Correct comment in unittest test

14 years agoIssue 10620: Specifying test modules by path instead of module name to 'python -m...
Michael Foord [Sat, 4 Dec 2010 01:11:21 +0000 (01:11 +0000)]
Issue 10620: Specifying test modules by path instead of module name to 'python -m unittest'

14 years agoMerged revisions 85551,86156-86157,86464 via svnmerge from
Martin v. Löwis [Fri, 3 Dec 2010 23:11:07 +0000 (23:11 +0000)]
Merged revisions 85551,86156-86157,86464 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3

........
  r85551 | benjamin.peterson | 2010-10-15 23:57:29 +0200 (Fr, 15 Okt 2010) | 1 line

  escape() is now in the html module
........
  r86156 | georg.brandl | 2010-11-04 09:34:57 +0100 (Do, 04 Nov 2010) | 1 line

  Consistency fixes in option parser help texts.
........
  r86157 | georg.brandl | 2010-11-04 09:35:30 +0100 (Do, 04 Nov 2010) | 1 line

  #10286: fix urllib class names.
........
  r86464 | benjamin.peterson | 2010-11-14 16:28:52 +0100 (So, 14 Nov 2010) | 1 line

  match only .py files #10416
........

14 years agoIssue #10534: add NEWS entry for r86983 and r87000.
Terry Reedy [Fri, 3 Dec 2010 22:50:06 +0000 (22:50 +0000)]
Issue #10534: add NEWS entry for r86983 and  r87000.

14 years agoIssue 10534 deprecate isbjunk and isbpopular methods.
Terry Reedy [Fri, 3 Dec 2010 22:29:40 +0000 (22:29 +0000)]
Issue 10534 deprecate isbjunk and isbpopular methods.
Will add gone in 3.3 test later.

14 years ago%s -> %r correction after review by Éric Araujo
Łukasz Langa [Fri, 3 Dec 2010 22:15:19 +0000 (22:15 +0000)]
%s -> %r correction after review by Éric Araujo

14 years agoMerge branches/pep-0384.
Martin v. Löwis [Fri, 3 Dec 2010 20:14:31 +0000 (20:14 +0000)]
Merge branches/pep-0384.

14 years agoIssue #10272: The ssl module now raises socket.timeout instead of a generic
Antoine Pitrou [Fri, 3 Dec 2010 19:59:41 +0000 (19:59 +0000)]
Issue #10272: The ssl module now raises socket.timeout instead of a generic
SSLError on socket timeouts.

14 years agoFix indentation.
Georg Brandl [Fri, 3 Dec 2010 19:56:42 +0000 (19:56 +0000)]
Fix indentation.

14 years agoAllow translators to reorder placeholders in localizable messages from
Éric Araujo [Fri, 3 Dec 2010 19:41:00 +0000 (19:41 +0000)]
Allow translators to reorder placeholders in localizable messages from
argparse (#10528).

There is no unit test; I checked with xgettext that no more warnings
were emitted.  Steven approved the change.

14 years agoFix so that test.test_unittest can be executed by unittest and not just regrtest
Michael Foord [Fri, 3 Dec 2010 19:20:44 +0000 (19:20 +0000)]
Fix so that test.test_unittest can be executed by unittest and not just regrtest

14 years agoFix incorrect use of gettext in argparse (#10497).
Éric Araujo [Fri, 3 Dec 2010 19:19:17 +0000 (19:19 +0000)]
Fix incorrect use of gettext in argparse (#10497).

Steven, the maintainer of argparse, agreed to have this committed
without tests for now, since the fix is obvious.  See the bug log.

14 years agoAdd an "advanced topics" section to the io doc.
Antoine Pitrou [Fri, 3 Dec 2010 19:14:17 +0000 (19:14 +0000)]
Add an "advanced topics" section to the io doc.

14 years ago(no commit message)
Terry Reedy [Fri, 3 Dec 2010 18:57:42 +0000 (18:57 +0000)]

14 years agoIssue #10478: Reentrant calls inside buffered IO objects (for example by
Antoine Pitrou [Fri, 3 Dec 2010 18:41:39 +0000 (18:41 +0000)]
Issue #10478: Reentrant calls inside buffered IO objects (for example by
way of a signal handler) now raise a RuntimeError instead of freezing the
current process.

14 years agoFix punctuation.
Georg Brandl [Fri, 3 Dec 2010 17:19:27 +0000 (17:19 +0000)]
Fix punctuation.

14 years agoimport: use PyUnicode_FSConverter to support bytes path and PEP 383
Victor Stinner [Fri, 3 Dec 2010 17:06:43 +0000 (17:06 +0000)]
import: use PyUnicode_FSConverter to support bytes path and PEP 383

(instead of PyArg_Parse*() with "es" format and Py_FileSystemDefaultEncoding)

14 years ago#6780: fix complex() constructor TypeError message
Victor Stinner [Fri, 3 Dec 2010 16:51:33 +0000 (16:51 +0000)]
#6780: fix complex() constructor TypeError message

14 years agoIssue 10499: Modular interpolation in configparser
Łukasz Langa [Fri, 3 Dec 2010 16:28:00 +0000 (16:28 +0000)]
Issue 10499: Modular interpolation in configparser

14 years agoHandle Windows paths and don't double up on HTML header sections in new pydoc URL...
Nick Coghlan [Fri, 3 Dec 2010 16:08:46 +0000 (16:08 +0000)]
Handle Windows paths and don't double up on HTML header sections in new pydoc URL handler

14 years agoMarkup consistency fixes.
Georg Brandl [Fri, 3 Dec 2010 15:30:09 +0000 (15:30 +0000)]
Markup consistency fixes.

14 years agoAdd missing CSS file from r86962
Nick Coghlan [Fri, 3 Dec 2010 14:30:41 +0000 (14:30 +0000)]
Add missing CSS file from r86962

14 years agoIssue 2690: Add support for slicing and negative indices to range objects (includes...
Nick Coghlan [Fri, 3 Dec 2010 14:26:13 +0000 (14:26 +0000)]
Issue 2690: Add support for slicing and negative indices to range objects (includes precalculation and storage of the range length).

Refer to the tracker issue for the language moratorium implications of this change

14 years agologging: tidied up some docstrings.
Vinay Sajip [Fri, 3 Dec 2010 13:01:11 +0000 (13:01 +0000)]
logging: tidied up some docstrings.

14 years agoFactor out common code from lib/test/__main__.py and lib/test/regrtest.py into a...
Michael Foord [Fri, 3 Dec 2010 12:27:40 +0000 (12:27 +0000)]
Factor out common code from lib/test/__main__.py and lib/test/regrtest.py into a function.

14 years agologging: Added getLogRecordFactory/setLogRecordFactory with docs and tests.
Vinay Sajip [Fri, 3 Dec 2010 11:50:38 +0000 (11:50 +0000)]
logging: Added getLogRecordFactory/setLogRecordFactory with docs and tests.

14 years agoFix lib/test/__main__.py to work even outside a Python build.
Michael Foord [Fri, 3 Dec 2010 10:59:15 +0000 (10:59 +0000)]
Fix lib/test/__main__.py to work even outside a Python build.

14 years agoAdding lib/test/__main__.py for running tests with 'python -m test'
Michael Foord [Fri, 3 Dec 2010 10:42:03 +0000 (10:42 +0000)]
Adding lib/test/__main__.py for running tests with 'python -m test'

14 years ago#10549: fix interface of docclass() for text documenter.
Georg Brandl [Fri, 3 Dec 2010 09:58:38 +0000 (09:58 +0000)]
#10549: fix interface of docclass() for text documenter.

14 years agoAdd a line with the actual changes.
Georg Brandl [Fri, 3 Dec 2010 09:45:33 +0000 (09:45 +0000)]
Add a line with the actual changes.

14 years agoImprove Pydoc interactive browsing (#2001). Patch by Ron Adam.
Nick Coghlan [Fri, 3 Dec 2010 09:29:11 +0000 (09:29 +0000)]
Improve Pydoc interactive browsing (#2001).  Patch by Ron Adam.

* A -b option to start an enhanced browsing session.
* Allow -b and -p options to be used together.
* Specifying port 0 will pick an arbitrary unused socket port.
* A new browse() function to start the new server and browser.
* Show Python version information in the header.
* A *Get* field which takes the same input as the help() function.
* A *Search* field which replaces the Tkinter search box.
* Links to *Module Index*, *Topics*, and *Keywords*.
* Improved source file viewing.
* An HTMLDoc.filelink() method.
* The -g option and the gui() and serve() functions are deprecated.

14 years agoRewrap NEWS (Builbot test commit.)
Georg Brandl [Fri, 3 Dec 2010 09:18:37 +0000 (09:18 +0000)]
Rewrap NEWS (Builbot test commit.)

14 years ago#10360: catch TypeError in WeakSet.__contains__, just like WeakKeyDictionary does.
Georg Brandl [Fri, 3 Dec 2010 07:55:44 +0000 (07:55 +0000)]
#10360: catch TypeError in WeakSet.__contains__, just like WeakKeyDictionary does.

14 years agoRemove redundant check for PyBytes in unicode_encode.
Georg Brandl [Fri, 3 Dec 2010 07:54:09 +0000 (07:54 +0000)]
Remove redundant check for PyBytes in unicode_encode.

14 years agoUse booleans.
Georg Brandl [Fri, 3 Dec 2010 07:49:09 +0000 (07:49 +0000)]
Use booleans.

14 years ago#940286: pydoc.Helper.help() ignores input/output init parameters.
Georg Brandl [Fri, 3 Dec 2010 07:47:22 +0000 (07:47 +0000)]
#940286: pydoc.Helper.help() ignores input/output init parameters.

14 years agoPartially revert r78719 - it removed a check that is still needed in some cases ...
Nick Coghlan [Fri, 3 Dec 2010 07:44:33 +0000 (07:44 +0000)]
Partially revert r78719 - it removed a check that is still needed in some cases (i.e. this will allow Michael to add the test.__main__ support that broke the buildbots previously)

14 years ago#1745035: add limits for command and data size to smtpd; patch by Savio Sena.
Georg Brandl [Fri, 3 Dec 2010 07:38:22 +0000 (07:38 +0000)]
#1745035: add limits for command and data size to smtpd; patch by Savio Sena.

14 years agoMove entries from "core" section to where they belong.
Georg Brandl [Fri, 3 Dec 2010 07:37:16 +0000 (07:37 +0000)]
Move entries from "core" section to where they belong.

14 years agoAdd missing versionchanged, correct 'throw' wording to 'raise'.
R. David Murray [Fri, 3 Dec 2010 04:26:18 +0000 (04:26 +0000)]
Add missing versionchanged, correct 'throw' wording to 'raise'.

14 years ago#1486713: Add a tolerant mode to HTMLParser.
R. David Murray [Fri, 3 Dec 2010 04:06:39 +0000 (04:06 +0000)]
#1486713: Add a tolerant mode to HTMLParser.

The motivation for adding this option is that the the functionality it
provides used to be provided by sgmllib in Python2, and was used by,
for example, BeautifulSoup.  Without this option, the Python3 version
of BeautifulSoup and the many programs that use it are crippled.

The original patch was by 'kxroberto'.  I modified it heavily but kept his
heuristics and test.  I also added additional heuristics to fix #975556,
#1046092, and part of #6191.  This patch should be completely backward
compatible:  the behavior with the default strict=True is unchanged.

14 years agoFix #10554. Added context manager support to Popen objects.
Brian Curtin [Fri, 3 Dec 2010 02:46:02 +0000 (02:46 +0000)]
Fix #10554. Added context manager support to Popen objects.

Added a few common Popen uses to the tests like we've done for a few other
instances of adding context managers. Eventually the entire test suite
could be converted to use the context manager format.

14 years agoUpdate the itertools.accumulate() docs.
Raymond Hettinger [Fri, 3 Dec 2010 02:33:53 +0000 (02:33 +0000)]
Update the itertools.accumulate() docs.

14 years agoRemove test/__main__.py until runpy tests can be fixed
Michael Foord [Fri, 3 Dec 2010 02:27:44 +0000 (02:27 +0000)]
Remove test/__main__.py until runpy tests can be fixed

14 years agoSimplify the signature for itertools.accumulate() to match numpy. Handle one item...
Raymond Hettinger [Fri, 3 Dec 2010 02:09:34 +0000 (02:09 +0000)]
Simplify the signature for itertools.accumulate() to match numpy.  Handle one item iterable the same way as min()/max().

14 years agoSet test.regrtest.TEMPDIR correctly when run with 'python -m test'
Michael Foord [Fri, 3 Dec 2010 02:03:30 +0000 (02:03 +0000)]
Set test.regrtest.TEMPDIR correctly when run with 'python -m test'

14 years agocode style
Benjamin Peterson [Fri, 3 Dec 2010 01:44:10 +0000 (01:44 +0000)]
code style

14 years agoInitial implementation of Lib/test/__main__.py so we can run tests with 'python ...
Michael Foord [Fri, 3 Dec 2010 01:34:01 +0000 (01:34 +0000)]
Initial implementation of Lib/test/__main__.py so we can run tests with 'python -m test'

14 years agoIssue 7911: unittest.TestCase.longMessage defaults to True for improved failure messa...
Michael Foord [Fri, 3 Dec 2010 00:53:09 +0000 (00:53 +0000)]
Issue 7911: unittest.TestCase.longMessage defaults to True for improved failure messages by default

14 years agoRe-add accidentally removed line.
Georg Brandl [Thu, 2 Dec 2010 22:35:25 +0000 (22:35 +0000)]
Re-add accidentally removed line.

14 years agoFix wrong test code in test_csv (#10602)
Éric Araujo [Thu, 2 Dec 2010 22:16:19 +0000 (22:16 +0000)]
Fix wrong test code in test_csv (#10602)

14 years agoIssue9915: speeding up sorting with a key
Daniel Stutzbach [Thu, 2 Dec 2010 21:55:33 +0000 (21:55 +0000)]
Issue9915: speeding up sorting with a key

14 years ago#8989: add 'domain' keyword to make_msgid.
R. David Murray [Thu, 2 Dec 2010 21:47:19 +0000 (21:47 +0000)]
#8989: add 'domain' keyword to make_msgid.

Patch by Adrian von Bidder.

14 years agoFix #9333. Expose os.symlink on Windows only when usable.
Brian Curtin [Thu, 2 Dec 2010 18:29:18 +0000 (18:29 +0000)]
Fix #9333. Expose os.symlink on Windows only when usable.

In order to create symlinks on Windows, SeCreateSymbolicLinkPrivilege
is an account privilege that is required to be held by the user. Not only
must the privilege be enabled for the account, the activated privileges for
the currently running application must be adjusted to enable the requested
privilege.

Rather than exposing an additional function to be called prior to the user's
first os.symlink call, we handle the AdjustTokenPrivileges Windows API call
internally and only expose os.symlink when the privilege escalation was
successful.

Due to the change of only exposing os.symlink when it's available, we can
go back to the original test skipping methods of checking via `hasattr`.

14 years ago#7475: add (un)transform method to bytes/bytearray and str, add back codecs that...
Georg Brandl [Thu, 2 Dec 2010 18:06:51 +0000 (18:06 +0000)]
#7475: add (un)transform method to bytes/bytearray and str, add back codecs that can be used with them from Python 2.

14 years ago#10597: fix Py_SetPythonHome docs by pointing to where the meaning of PYTHONHOME...
Georg Brandl [Thu, 2 Dec 2010 18:02:01 +0000 (18:02 +0000)]
#10597: fix Py_SetPythonHome docs by pointing to where the meaning of PYTHONHOME is already documented.

14 years agoFix spelling of Jamie Zawinski's surname in urllib.parse docstring (issue 10606)
David Malcolm [Thu, 2 Dec 2010 16:41:00 +0000 (16:41 +0000)]
Fix spelling of Jamie Zawinski's surname in urllib.parse docstring (issue 10606)

14 years agoFix-up documentation of makedirs().
Georg Brandl [Thu, 2 Dec 2010 09:06:12 +0000 (09:06 +0000)]
Fix-up documentation of makedirs().

14 years agoIssue 9299 Add exist_ok parameter to os.makedirs to suppress 'File exists' exception...
Terry Reedy [Thu, 2 Dec 2010 07:05:56 +0000 (07:05 +0000)]
Issue 9299 Add exist_ok parameter to os.makedirs to suppress 'File exists' exception. Patch by Ray Allen.

14 years agoNeaten-up random module docs.
Raymond Hettinger [Thu, 2 Dec 2010 05:35:35 +0000 (05:35 +0000)]
Neaten-up random module docs.

14 years agoIssue #9573: os.fork now works when triggered as a side effect of import (the wisdom...
Nick Coghlan [Thu, 2 Dec 2010 04:11:46 +0000 (04:11 +0000)]
Issue #9573: os.fork now works when triggered as a side effect of import (the wisdom of actually relying on this remains questionable!)

14 years ago#10464: fix netrc handling of lines with embedded '#" characters.
R. David Murray [Thu, 2 Dec 2010 02:58:07 +0000 (02:58 +0000)]
#10464: fix netrc handling of lines with embedded '#" characters.

Patch by Xuanji Li.