]> granicus.if.org Git - python/log
python
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.

14 years agoAdd an example to the random docs.
Raymond Hettinger [Thu, 2 Dec 2010 02:41:33 +0000 (02:41 +0000)]
Add an example to the random docs.

14 years agoFix markup
Raymond Hettinger [Thu, 2 Dec 2010 01:38:25 +0000 (01:38 +0000)]
Fix markup

14 years agoIssue4335: Added a test for inspect.getsourcelines with a module without EOL at EOF.
Alexander Belopolsky [Thu, 2 Dec 2010 00:10:11 +0000 (00:10 +0000)]
Issue4335: Added a test for inspect.getsourcelines with a module without EOL at EOF.

14 years agoWith Raymond's approval added a paragraph describing Unicode 6.0.0 changes. Not...
Alexander Belopolsky [Thu, 2 Dec 2010 00:05:57 +0000 (00:05 +0000)]
With Raymond's approval added a paragraph describing Unicode 6.0.0 changes.  Not reST formatted.

14 years agoClean-up last update (missing comma, unnecessary spacing change, spurious backtick).
Raymond Hettinger [Wed, 1 Dec 2010 23:45:20 +0000 (23:45 +0000)]
Clean-up last update (missing comma, unnecessary spacing change, spurious backtick).

14 years agoAdd itertools.accumulate().
Raymond Hettinger [Wed, 1 Dec 2010 22:50:36 +0000 (22:50 +0000)]
Add itertools.accumulate().

14 years agoAdd itertools.accumulate().
Raymond Hettinger [Wed, 1 Dec 2010 22:48:00 +0000 (22:48 +0000)]
Add itertools.accumulate().

14 years agoReverted unintended change from r86916
Alexander Belopolsky [Wed, 1 Dec 2010 21:55:40 +0000 (21:55 +0000)]
Reverted unintended change from r86916

14 years agoIssue #4113: Added custom __repr__ method to functools.partial.
Alexander Belopolsky [Wed, 1 Dec 2010 20:05:49 +0000 (20:05 +0000)]
Issue #4113: Added custom __repr__ method to functools.partial.

14 years agoFix some markup and style in the unittest docs.
Georg Brandl [Wed, 1 Dec 2010 15:44:25 +0000 (15:44 +0000)]
Fix some markup and style in the unittest docs.

14 years ago#10594: fix parameter names in PyList API docs.
Georg Brandl [Wed, 1 Dec 2010 15:36:33 +0000 (15:36 +0000)]
#10594: fix parameter names in PyList API docs.

14 years agoAdd missing word, and add a better reference to the actual function.
Georg Brandl [Wed, 1 Dec 2010 15:32:43 +0000 (15:32 +0000)]
Add missing word, and add a better reference to the actual function.

14 years agoAdd recipe to itertools doc.
Raymond Hettinger [Wed, 1 Dec 2010 10:49:19 +0000 (10:49 +0000)]
Add recipe to itertools doc.

14 years agoIssue 10593: Adopt Nick's suggestion for an lru_cache with maxsize=None.
Raymond Hettinger [Wed, 1 Dec 2010 03:45:41 +0000 (03:45 +0000)]
Issue 10593:  Adopt Nick's suggestion for an lru_cache with maxsize=None.

14 years ago#10273: Rename assertRegexpMatches and assertRaisesRegexp to assertRegex and assertRa...
Ezio Melotti [Wed, 1 Dec 2010 02:32:32 +0000 (02:32 +0000)]
#10273: Rename assertRegexpMatches and assertRaisesRegexp to assertRegex and assertRaisesRegex.

14 years agoFix test failure in debug builds and add NEWS entry for r86908
Ezio Melotti [Wed, 1 Dec 2010 01:45:53 +0000 (01:45 +0000)]
Fix test failure in debug builds and add NEWS entry for r86908

14 years ago#10535: Enable silenced warnings in unittest by default
Ezio Melotti [Wed, 1 Dec 2010 00:56:10 +0000 (00:56 +0000)]
#10535: Enable silenced warnings in unittest by default

14 years agoDoc and docstring nits.
Raymond Hettinger [Wed, 1 Dec 2010 00:47:56 +0000 (00:47 +0000)]
Doc and docstring nits.

14 years agoFix #10591. Fix test_os for refleak runs.
Brian Curtin [Tue, 30 Nov 2010 23:46:54 +0000 (23:46 +0000)]
Fix #10591. Fix test_os for refleak runs.
Split a common setUp/tearDown into the appropriate parts.

14 years agoIssue #8685: Speed up set difference `a - b` when source set `a` is
Antoine Pitrou [Tue, 30 Nov 2010 22:23:20 +0000 (22:23 +0000)]
Issue #8685: Speed up set difference `a - b` when source set `a` is
much larger than operand `b`.  Patch by Andrew Bennetts.

14 years agoAdd link to specification.
Raymond Hettinger [Tue, 30 Nov 2010 20:32:59 +0000 (20:32 +0000)]
Add link to specification.

14 years agoDocumentation nits.
Raymond Hettinger [Tue, 30 Nov 2010 20:02:57 +0000 (20:02 +0000)]
Documentation nits.

14 years agoAdd example, tighten text, and minor clean-ups.
Raymond Hettinger [Tue, 30 Nov 2010 19:15:45 +0000 (19:15 +0000)]
Add example, tighten text, and minor clean-ups.

14 years agoFix typo: "ofbytes" should be "of bytes"
Daniel Stutzbach [Tue, 30 Nov 2010 17:49:53 +0000 (17:49 +0000)]
Fix typo: "ofbytes" should be "of bytes"

14 years agoAdd some internal links.
Raymond Hettinger [Tue, 30 Nov 2010 17:45:41 +0000 (17:45 +0000)]
Add some internal links.

14 years agoIssue #9598: untabify.py will now respect encoding cookie in the files it processes
Alexander Belopolsky [Tue, 30 Nov 2010 17:30:43 +0000 (17:30 +0000)]
Issue #9598: untabify.py will now respect encoding cookie in the files it processes

14 years agoLet’s keep “throw” for the generator method and use “raise” elsewhere.
Éric Araujo [Tue, 30 Nov 2010 17:20:31 +0000 (17:20 +0000)]
Let’s keep “throw” for the generator method and use “raise” elsewhere.

14 years agoIssue #10552: Partially fixed a sort error in Tools/unicode/gencodec.py
Alexander Belopolsky [Tue, 30 Nov 2010 16:56:15 +0000 (16:56 +0000)]
Issue #10552: Partially fixed a sort error in Tools/unicode/gencodec.py

14 years agoActually fix what I attempted to fix in r86888...
Brian Curtin [Tue, 30 Nov 2010 15:54:04 +0000 (15:54 +0000)]
Actually fix what I attempted to fix in r86888...

14 years agoIssue 9873: the URL parsing functions now accept ASCII encoded byte sequences in...
Nick Coghlan [Tue, 30 Nov 2010 15:48:08 +0000 (15:48 +0000)]
Issue 9873: the URL parsing functions now accept ASCII encoded byte sequences in addition to character strings

14 years agoTry to fix failures on platforms that can't encode the test characters.
Brian Curtin [Tue, 30 Nov 2010 15:40:04 +0000 (15:40 +0000)]
Try to fix failures on platforms that can't encode the test characters.
Skip the test if encoding fails.

14 years agoFix typo.
Georg Brandl [Tue, 30 Nov 2010 14:57:54 +0000 (14:57 +0000)]
Fix typo.