[issue8667] Link to PEP 3147 from importlib docs

2010-05-08 Thread Brett Cannon
New submission from Brett Cannon : In trying to keep importlib's docs THE place to go for links to all relevant import details, a link to PEP 3147 is needed. -- assignee: brett.cannon components: Documentation keywords: easy messages: 105351 nosy: brett.cannon priority: low severity: no

[issue8663] Failed compile in a non-ASCII path

2010-05-08 Thread Antoine Pitrou
Antoine Pitrou added the comment: > If the standard output is not a TTY, Python uses ASCII encoding for > sys.stdout We could perhaps fix this too, if python-dev agrees. -- ___ Python tracker

[issue2090] __import__ with fromlist=

2010-05-08 Thread Brett Cannon
Changes by Brett Cannon : -- resolution: wont fix -> status: closed -> open ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue7397] __import__ docs should reference importlib.import_module

2010-05-08 Thread Brett Cannon
Changes by Brett Cannon : -- assignee: georg.brandl -> brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue8663] Failed compile in a non-ASCII path

2010-05-08 Thread STINNER Victor
STINNER Victor added the comment: Attached patch escapes non-ASCII characters of the log message using ASCII+backslashreplace (but keep unicode type). -- keywords: +patch Added file: http://bugs.python.org/file17268/distutils_spawn_toascii.patch ___

[issue8663] Failed compile in a non-ASCII path

2010-05-08 Thread Éric Araujo
Éric Araujo added the comment: Wasn’t PYTHONIOENCODING added for such cases? -- ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue8663] Failed compile in a non-ASCII path

2010-05-08 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Wasn’t PYTHONIOENCODING added for such cases? Yes, it was, but it's a very bad workaround. In most if not all cases, people will set PYTHONIOENCODING to their system's default encoding. Therefore, they shouldn't have to set an environment variable at all. --

[issue8666] Allow ConfigParser.get*() to take a default value

2010-05-08 Thread Brian Curtin
Changes by Brian Curtin : -- stage: -> unit test needed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://

[issue8663] Failed compile in a non-ASCII path

2010-05-08 Thread STINNER Victor
STINNER Victor added the comment: > > If the standard output is not a TTY, Python uses ASCII encoding > > for sys.stdout > We could perhaps fix this too, if python-dev agrees. Open a new issue please if you consider that as a bug. -- ___ Python tr

[issue8663] Failed compile in a non-ASCII path

2010-05-08 Thread STINNER Victor
STINNER Victor added the comment: I tried to recompile Python with "export PYTHONIOENCODING=ascii" but it doesn't fail. That's because the Makefile calls "./python -E ./setup.py -q build": -E ignores environment variables. -- ___ Python tracker

[issue6526] importlib.import_module affects permissions of .pyc files subsequently created by import

2010-05-08 Thread Brett Cannon
Brett Cannon added the comment: Did this go anywhere, David? Since beta2 just went out now is the time to either revert or enshrine the new behavior. -- ___ Python tracker ___ _

[issue8668] add a 'develop' command

2010-05-08 Thread Dan Buch
New submission from Dan Buch : make a 'develop' command in distutils2 a la setuptools (unless, of course, this has already been unilaterally refused via distutils-sig or other communication) -- assignee: tarek components: Distutils2 messages: 105359 nosy: meatballhat, tarek priority: n

[issue7245] better Ctrl-C support in pdb (program can be resumed) (issue216067)

2010-05-08 Thread Gregory P. Smith
Gregory P. Smith added the comment: And reverted in trunk r81013. Multiple buildbot problems from the initial commit due to the unittest. This is likely to be py3k only at this point. I do believe sig.patch.v3 is fine, but its the test_pdb2 unittest that is difficult to make work well. ---

[issue8669] lack of bdist_rpm module raises error on 'setup.py --help-commands'

2010-05-08 Thread Dan Buch
New submission from Dan Buch : Running 'python setup.py --help-commands' in the distutils2 package raises an error because there is no 'bdist_rpm' module. Should references to 'bdist_rpm' be removed, or should the 'bdist_rpm' module be (re?)introduced? -- assignee: tarek components: D

[issue8669] lack of bdist_rpm module raises error on 'setup.py --help-commands'

2010-05-08 Thread Dan Buch
Changes by Dan Buch : Added file: http://bugs.python.org/file17269/distutils2-bdist-rpm-error.txt ___ Python tracker ___ ___ Python-bugs-list m

[issue8324] add a distutils test command

2010-05-08 Thread Dan Buch
Dan Buch added the comment: For what it's worth, I'm trying to adapt the setuptools command of the same name in a feature branch called "mbh/adding-test-command" --> http://bitbucket.org/meatballhat/distutils2/ Not sure how the roundup/ split is usually handled, so sorry if I'm doin it wrong

[issue8514] Add fsencode() functions to os module

2010-05-08 Thread STINNER Victor
STINNER Victor added the comment: > Why does this have no tests? The function is trivial. Does it really need tests? What kind of tests? fsencode() is already tested indirectly by test_subprocess, and #8513 will add new tests. -- ___ Python tracke

[issue8514] Add fsencode() functions to os module

2010-05-08 Thread Benjamin Peterson
Benjamin Peterson added the comment: 2010/5/8 STINNER Victor : > > STINNER Victor added the comment: > >> Why does this have no tests? > > The function is trivial. Does it really need tests? What kind of tests? Check that it is equivalent to utf-8 with surrogatesescape then. > > fsencode() is

[issue8513] subprocess: support bytes program name (POSIX)

2010-05-08 Thread STINNER Victor
STINNER Victor added the comment: > Build on the os._execvpe unittest I added in py3k r81001. The test fails on Windows. == FAIL: test_internal_execvpe (test.test_os.ExecTests) -

[issue8350] os.mkdir doc comment is incorrect

2010-05-08 Thread John Mark Schofield
John Mark Schofield added the comment: Please don't close this as "invalid." Most (all?) of the functions in the os module have positional-only arguments, which are documented in exactly the same manner as arguments which can be supplied using a keyword. As someone reading the documentation,

[issue8350] os.mkdir doc comment is incorrect

2010-05-08 Thread John Mark Schofield
John Mark Schofield added the comment: I'd also suggest changing the title to "Documentation for many functions in os module is incomplete." I didn't because I don't know if that would be considered rude. (I'm new to the Python community.) -- ___ P

[issue8514] Add fsencode() functions to os module

2010-05-08 Thread STINNER Victor
STINNER Victor added the comment: > Check that it is equivalent to utf-8 with surrogatesescape then. The file system encoding can be anything, not only utf-8. Anyway: r81014. -- ___ Python tracker

[issue8354] siginterrupt with flag=False is reset when signal received

2010-05-08 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: Should be resolved in, oh, let's see, r81007, r81011, r81016, and r81018. Thanks to everyone who helped out. -- resolution: -> fixed status: open -> closed versions: +Python 3.1 ___ Python tracker

[issue8513] subprocess: support bytes program name (POSIX)

2010-05-08 Thread Gregory P. Smith
Gregory P. Smith added the comment: my bad. hopefully r81019 fixes that. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue8618] test_winsound failing on Windows Server 2008

2010-05-08 Thread Brian Curtin
Brian Curtin added the comment: Seems like this happens because there is no playback device installed. Apparently there are audio drivers install but no playback device is configured to use them. I'm looking for a command line tool or some other way to find out details of playback devices an

[issue8618] test_winsound failing on Windows Server 2008

2010-05-08 Thread Brian Curtin
Brian Curtin added the comment: Attached is a patch which uses the multimedia mixer API to find out how many devices are known by the mixer. If none are known, 0 will be returned, and thus tests will be skipped. -- keywords: +patch Added file: http://bugs.python.org/file17270/issue861

[issue1591035] update urlparse to RFC 3986

2010-05-08 Thread Senthil Kumaran
Senthil Kumaran added the comment: This is addressed and tests included as part of issue1462525. -- resolution: -> fixed stage: unit test needed -> committed/rejected status: open -> closed ___ Python tracker _

[issue8670] c_types.c_wchar should not assume that sizeof(wchar_t) == sizeof(Py_UNICODE)

2010-05-08 Thread Daniel Stutzbach
New submission from Daniel Stutzbach : Using a UCS2 Python on a platform with a 32-bit wchar_t, the following code throws an exception (but should not): >>> ctypes.c_wchar('\u1') Traceback (most recent call last): File "", line 1, in TypeError: one character unicode string expected The

<    1   2