[issue8663] Failed compile in a non-ASCII path

2010-05-08 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: If the standard output is not a TTY, Python uses ASCII encoding for sys.stdout: ./python -c import sys;print(sys.stdout.encoding)|cat = ascii. This issue remembers me: #8533 (regrtest: use backslashreplace error handler for

[issue8667] Link to PEP 3147 from importlib docs

2010-05-08 Thread Brett Cannon
New submission from Brett Cannon br...@python.org: 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:

[issue8663] Failed compile in a non-ASCII path

2010-05-08 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr 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 rep...@bugs.python.org

[issue2090] __import__ with fromlist=

2010-05-08 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- resolution: wont fix - status: closed - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2090 ___

[issue7397] __import__ docs should reference importlib.import_module

2010-05-08 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- assignee: georg.brandl - brett.cannon ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7397 ___ ___

[issue8663] Failed compile in a non-ASCII path

2010-05-08 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com 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 mer...@netwok.org added the comment: Wasn’t PYTHONIOENCODING added for such cases? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8663 ___

[issue8663] Failed compile in a non-ASCII path

2010-05-08 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr 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

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

2010-05-08 Thread Brian Curtin
Changes by Brian Curtin cur...@acm.org: -- stage: - unit test needed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8666 ___ ___ Python-bugs-list

[issue8663] Failed compile in a non-ASCII path

2010-05-08 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com 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. --

[issue8663] Failed compile in a non-ASCII path

2010-05-08 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com 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. --

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

2010-05-08 Thread Brett Cannon
Brett Cannon br...@python.org 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 rep...@bugs.python.org http://bugs.python.org/issue6526

[issue8668] add a 'develop' command

2010-05-08 Thread Dan Buch
New submission from Dan Buch daniel.b...@gmail.com: 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:

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

2010-05-08 Thread Gregory P. Smith
Gregory P. Smith g...@krypto.org 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

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

2010-05-08 Thread Dan Buch
New submission from Dan Buch daniel.b...@gmail.com: 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? --

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

2010-05-08 Thread Dan Buch
Changes by Dan Buch daniel.b...@gmail.com: Added file: http://bugs.python.org/file17269/distutils2-bdist-rpm-error.txt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8669 ___

[issue8324] add a distutils test command

2010-05-08 Thread Dan Buch
Dan Buch daniel.b...@gmail.com 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/external tracker split is usually

[issue8514] Add fsencode() functions to os module

2010-05-08 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com 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. --

[issue8514] Add fsencode() functions to os module

2010-05-08 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: 2010/5/8 STINNER Victor rep...@bugs.python.org: STINNER Victor victor.stin...@haypocalc.com 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

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

2010-05-08 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com 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 jschofi...@gmail.com 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

[issue8350] os.mkdir doc comment is incorrect

2010-05-08 Thread John Mark Schofield
John Mark Schofield j...@schof.org 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.) --

[issue8514] Add fsencode() functions to os module

2010-05-08 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com 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 rep...@bugs.python.org

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

2010-05-08 Thread Jean-Paul Calderone
Jean-Paul Calderone exar...@twistedmatrix.com 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 ___

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

2010-05-08 Thread Gregory P. Smith
Gregory P. Smith g...@krypto.org added the comment: my bad. hopefully r81019 fixes that. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8513 ___

[issue8618] test_winsound failing on Windows Server 2008

2010-05-08 Thread Brian Curtin
Brian Curtin cur...@acm.org 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

[issue8618] test_winsound failing on Windows Server 2008

2010-05-08 Thread Brian Curtin
Brian Curtin cur...@acm.org 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:

[issue1591035] update urlparse to RFC 3986

2010-05-08 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com 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 rep...@bugs.python.org

<    1   2   3