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
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:
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
Changes by Brett Cannon br...@python.org:
--
resolution: wont fix -
status: closed - open
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2090
___
Changes by Brett Cannon br...@python.org:
--
assignee: georg.brandl - brett.cannon
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7397
___
___
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
É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
___
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
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
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.
--
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.
--
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
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:
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
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?
--
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
___
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
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.
--
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
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)
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
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.)
--
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
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
___
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
___
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
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:
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
201 - 228 of 228 matches
Mail list logo