Chris Rebert added the comment:
AFAICT, there is currently no entry for WebM in IANA's registry
(http://www.iana.org/assignments/media-types/index.html ).
A bug in WebM's tracker regarding its MIME type(s) was closed over a year ago
as WONTFIX (http://code.google.com/p/webm/issues/detail?id=15
New submission from Mariano Reingart:
I'm opening this ticket to organize patches for a proposal of a GETTEXT-based
message translation for exception/tracebacks as described in:
http://python.org.ar/pyar/TracebackInternationalizationProposal
This requires the patch in issue #16343
Attached
Roundup Robot added the comment:
New changeset 4a17784f2fee by Georg Brandl in branch '2.6':
#8040: port versionswitcher patch to 2.6.
http://hg.python.org/cpython/rev/4a17784f2fee
--
___
Python tracker rep...@bugs.python.org
Roundup Robot added the comment:
New changeset e02d49db3f5b by Georg Brandl in branch '3.2':
#8040: fix jQuery incompatibility
http://hg.python.org/cpython/rev/e02d49db3f5b
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8040
Arfrever Frehtes Taifersar Arahesis added the comment:
The following syntax is broken:
if $PYTHON = not-found; then
...
checking for python3.4... python3.4
python3.4: can't open file '=': [Errno 2] No such file or directory
checking for a BSD-compatible install... /usr/bin/install -c
...
You
Georg Brandl added the comment:
OK, with the latest patch it seems to work fine for me. I've run the autobuild
for 2.7/3.3/3.4 and put custom built versions of 2.6/3.2 on dinsdale, so
everything should look and work fine.
I've also added todo items to PEP 101, in order to make sure the
Georg Brandl added the comment:
Thanks Yury for the work!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8040
___
___
Python-bugs-list mailing
Georg Brandl added the comment:
Has this been discussed on python-dev before? I see that your proposal is in
PEP form; it would be a good idea to post it to python-dev since this is not a
change that can be done without a PEP.
--
nosy: +georg.brandl
Changes by Konstantin Zemlyak z...@zartsoft.ru:
--
title: Decoding error at install time when byte-compiling venv scripts -
Decoding error due to byte-compiling venv scripts at install time
___
Python tracker rep...@bugs.python.org
Ezio Melotti added the comment:
Thanks!
FTR, this is the changeset: http://hg.python.org/peps/rev/16dd63848921
--
stage: patch review - committed/rejected
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16239
Mariano Reingart added the comment:
This has been discussed in python-ideas two years ago (I've resurrected the
thread there)
Sadly I didn't have time for this before, but as in 15 days we have a sprint on
cpython at PyCon Argetina 2012, maybe it would be a good idea discuss this
again.
Mariano Reingart added the comment:
BTW, I'd write a draft PEP for this (attached), the online version is at
http://python.org.ar/pyar/TracebackInternationalizationProposal
Just let me know if it has to be uploaded/discussed elsewere
--
Added file:
New submission from Armin Rigo:
The implementation of dict.fromkeys() assumes that the new dictionary is empty.
That's not the case if we tweak __new__. Attached example shows
'dictresize(mp, 0)' being called with 'mp' being dictionary of 10 items. This
causes an infinite uninterruptible
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +benjamin.peterson, ezio.melotti
stage: - needs patch
type: - behavior
versions: -Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16345
Chris Rebert added the comment:
Per Chris Jerdonek, here's a combined patch that also makes the docs changes
comply with the antiquated line length limit.
--
Added file: http://bugs.python.org/file27759/issue14570.diff
___
Python tracker
Changes by Alex Gaynor alex.gay...@gmail.com:
--
nosy: +alex
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16345
___
___
Python-bugs-list mailing
Chris Rebert added the comment:
Here's a revised patch against the default branch (3.4 I presume?).
--
Added file: http://bugs.python.org/file27760/subprocess.rst-default.diff
___
Python tracker rep...@bugs.python.org
Changes by Chris Rebert pyb...@rebertia.com:
Removed file: http://bugs.python.org/file27197/subprocess.rst-3.3.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14616
___
Chris Rebert added the comment:
Just to keep the ball rolling, in case it ends up being the solution ultimately
chosen, here is a patch against 2.7 to document pipes.quote(). The text is
yanked straight from shlex.quote(), the differences being:
- qualify shlex.split() references
- print
New submission from Mathieu Dutour Sikiric:
Dear all,
I tried to install Python 2.7.3 in a home directory for simplicity. On the
Ubuntu platform that I had, the readline-dev was not installed.
So, I I tried to install the readline package either by pip install readline
or python setup.py
Ezio Melotti added the comment:
I'm -1 on the idea for the following reasons:
* any serious developer is expected to know English, and novice developers
should be encouraged to learn it, rather than being confined to a localized
environment;
* even if the error messages are translated, all
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
assignee: - eric.araujo
components: +Distutils, Distutils2
nosy: +alexis, eric.araujo, tarek
type: compile error - behavior
___
Python tracker rep...@bugs.python.org
Roundup Robot added the comment:
New changeset 06a5fe86d87c by Vinay Sajip in branch '3.3':
Issue #16340: exclude venv/scripts from byte-compilation at installation time
on Windows.
http://hg.python.org/cpython/rev/06a5fe86d87c
New changeset e8619f015ab9 by Vinay Sajip in branch 'default':
Vinay Sajip added the comment:
I've made the msi.py change. Perhaps I should also catch the exception in the
venv script-copying code? Leaving issue open for now.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16340
Chris Rebert added the comment:
Even more libraries in this vein:
http://plumbum.readthedocs.org/en/latest/
http://amoffat.github.com/sh/
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13238
Roundup Robot added the comment:
New changeset f9d11ca3ccd1 by Andrew Svetlov in branch '3.3':
Issue #14616: Mention shlex.quote in subprocess docs.
http://hg.python.org/cpython/rev/f9d11ca3ccd1
New changeset 72672cf5d850 by Andrew Svetlov in branch 'default':
Merge issue #14616: Mention
Roundup Robot added the comment:
New changeset d9ca966cd116 by Andrew Svetlov in branch '2.7':
Issue #14616: Document pipes.quote and mention this one in subprocess docs.
http://hg.python.org/cpython/rev/d9ca966cd116
--
___
Python tracker
Andrew Svetlov added the comment:
I have applied all patches. Thanks, Chris.
--
resolution: - fixed
stage: - committed/rejected
status: open - closed
type: - enhancement
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14616
Roundup Robot added the comment:
New changeset 21fb1767e185 by Mark Dickinson in branch '2.7':
Issue #14700: Fix buggy overflow checks for large precision and width in
new-style and old-style formatting.
http://hg.python.org/cpython/rev/21fb1767e185
--
Chris Jerdonek added the comment:
Shouldn't this patch be attached to the referenced issue 9769 instead of
creating a new issue? Even the issue title is nearly the same:
9769: PyUnicode_FromFormatV() doesn't handle non-ascii text correctly
16343: PyUnicode_FromFormatV() doesn't support utf-8
Roundup Robot added the comment:
New changeset 102df748572d by Mark Dickinson in branch '3.2':
Issue #14700: Fix buggy overflow checks for large precision and width in
new-style and old-style formatting.
http://hg.python.org/cpython/rev/102df748572d
New changeset 79ea0c84152a by Mark Dickinson
Mark Dickinson added the comment:
Fixed in 2.7 and 3.2; extra tests ported to 3.3 and default. Reclosing.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14700
Mark Dickinson added the comment:
Closing as invalid.
--
resolution: - invalid
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7098
___
Mark Dickinson added the comment:
Unassigning.
--
assignee: mark.dickinson -
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8613
___
___
Changes by Mark Dickinson dicki...@gmail.com:
--
assignee: mark.dickinson -
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16096
___
___
Mark Dickinson added the comment:
Okay, I've failed to take this forward. Reclosing as out of date.
--
resolution: - out of date
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2813
New submission from Antonio Cavallo:
I've noticed that linux distros have a set of patch to fix a hardcoded lib in
their makefiles:
eg. Makefile.pre.in:
INCLUDEDIR=¬@includedir@
CONFINCLUDEDIR=¬$(exec_prefix)/include
SCRIPTDIR=¬…$(prefix)/lib== HARDCODED
This is due to the fact
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +loewis
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16347
___
___
Python-bugs-list mailing
Andrew Svetlov added the comment:
+1.
Patch for 2.7 is attached.
--
keywords: +patch
nosy: +asvetlov
Added file: http://bugs.python.org/file27763/issue16341.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16341
Changes by Mark Dickinson dicki...@gmail.com:
--
nosy: +antocuni
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16290
___
___
Python-bugs-list
Changes by Andrew Svetlov andrew.svet...@gmail.com:
--
stage: - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16341
___
___
Mark Dickinson added the comment:
I've been convinced by the python-dev discussion that Antonio was right: it's
complex_new that's in error rather than the cmath functions. Even so, it would
be unsafe to change the behaviour in the maintenance releases.
Attaching a new patch that disallows
Mark Dickinson added the comment:
It looks as though all the issues found by John's tool have now been fixed,
with the exception of the ctypes issue. There's a separate issue open for
that, so I'm closing this issue as fixed.
--
resolution: - fixed
status: open - closed
Mark Dickinson added the comment:
Unassigning, since I don't plan to work on this any time soon.
--
assignee: mark.dickinson -
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9742
___
Stefan Krah added the comment:
FWIW, Solaris 9 has EOL status:
http://www.oracle.com/technetwork/server-storage/solaris10/overview/index-138972.html
I suspect we might as well close this issue, since the motivation to work
on it will be pretty low in general.
--
Changes by Trent Nelson tr...@snakebite.org:
--
nosy: +trent
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9742
___
___
Python-bugs-list mailing
Roundup Robot added the comment:
New changeset 40aedc7da30f by Andrew Svetlov in branch '3.2':
Issue #14570: Document json sort_keys parameter properly.
http://hg.python.org/cpython/rev/40aedc7da30f
New changeset 090484ccba7d by Andrew Svetlov in branch '3.3':
Merge issue #14570: Document json
Andrew Svetlov added the comment:
Thanks, Chris!
I have pushed the patch for 3.2-3.4
It cannot be applied to 2.7, please make separate patch for this version.
--
nosy: +asvetlov
___
Python tracker rep...@bugs.python.org
Mark Dickinson added the comment:
Thanks, Stefan. Closing.
--
resolution: - out of date
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9742
___
Andrew Svetlov added the comment:
Please publish patch for the issue.
--
nosy: +asvetlov
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16298
___
Trent Nelson added the comment:
Snakebite's got a Solaris 9 SPARC instance up and running. It's available via
the s9 alias.
Regarding EOL, this indicates October 2014 for 9:
http://en.wikipedia.org/wiki/Solaris_(operating_system)#Version_history
If it's as simple as suggested, I don't mind
New submission from Mark Dickinson:
The documentation for Decimal.remainder_near is incorrect. It states:
If both are equally close, the one chosen will have the same sign as self.
That's incorrect: instead, the chosen remainder has the property that it makes
the corresponding quotient even
Changes by Andrew Svetlov andrew.svet...@gmail.com:
--
nosy: +asvetlov
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16308
___
___
Changes by Andrew Svetlov andrew.svet...@gmail.com:
--
nosy: +asvetlov
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16310
___
___
Roundup Robot added the comment:
New changeset adefc83c1128 by Vinay Sajip in branch '3.3':
Closes #16340: Handle exception while copying script to venv.
http://hg.python.org/cpython/rev/adefc83c1128
New changeset fb969187ecc2 by Vinay Sajip in branch 'default':
Closes #16340: Merged fix from
Chris Rebert added the comment:
Patch for 2.7. This assumes that changing the parameter notation is permissible.
--
Added file: http://bugs.python.org/file27765/issue14570-2.7.diff
___
Python tracker rep...@bugs.python.org
New submission from Thomas Kluyver:
At least in CPython, format strings can be given as bytes, as an alternative to
str. E.g.
struct.unpack(b'hhl', b'\x00\x01\x00\x02\x00\x00\x00\x03')
(1, 2, 3)
Looking at the source code [1], this appears to be consciously accounted for.
But it doesn't
Mark Dickinson added the comment:
Here's a doc patch.
--
keywords: +patch
Added file: http://bugs.python.org/file27766/issue16348.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16348
Stefan Krah added the comment:
Right, they distinguish between EOL and Extended Support Phase:
http://www.oracle.com/technetwork/server-storage/solaris10/overview/general-137378.html
--
___
Python tracker rep...@bugs.python.org
Roundup Robot added the comment:
New changeset 7784008e9ade by Andrew Svetlov in branch '2.7':
Issue #14570: Document json sort_keys parameter properly.
http://hg.python.org/cpython/rev/7784008e9ade
--
___
Python tracker rep...@bugs.python.org
Andrew Svetlov added the comment:
Fixed, thanks again!
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14570
Roundup Robot added the comment:
New changeset e59e274551e0 by Hynek Schlawack in branch 'default':
#1492704: Ensure and document backward compatibility of the change
http://hg.python.org/cpython/rev/e59e274551e0
--
___
Python tracker
Changes by Andrew Svetlov andrew.svet...@gmail.com:
--
nosy: +asvetlov
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16309
___
___
Andrew Svetlov added the comment:
I would to see some unittest if possible.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16309
___
___
Roundup Robot added the comment:
New changeset a3ba5fe9bfd3 by Nadeem Vawda in branch 'default':
Issue #16316: mimetypes now recognizes the .xz and .txz (.tar.xz) extensions.
http://hg.python.org/cpython/rev/a3ba5fe9bfd3
--
nosy: +python-dev
___
Changes by Nadeem Vawda nadeem.va...@gmail.com:
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16316
___
Andy Salnikov added the comment:
I never submitted any patch to Python, but unless somebody more
experienced wants to contribute I can try.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16326
Brett Cannon added the comment:
Just to double-check I didn't screw up, I ran ``make distclean; ./configure;
make -j8`` and the problem persists.
It is *only* files compiled through setup.py and not by the Makefile. I do not
have OPT set, but I do have CFLAGS defined. But even if I explicitly
Brett Cannon added the comment:
I managed to fix it, but I did such a large swath of fixes that I need a little
time to narrow down what did it. Report back later.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16342
Roundup Robot added the comment:
New changeset a2b7a3e1ce66 by Brett Cannon in branch '3.3':
Issue #16342: Lib/_sysconfigdata.py is no longer put into Lib, so
http://hg.python.org/cpython/rev/a2b7a3e1ce66
--
nosy: +python-dev
___
Python tracker
Brett Cannon added the comment:
Well that was extremely frustrating to find out. Turns out a copy of
Lib/_sysconfigdata.py was lingering in my checkout and .hgignore was hiding
that fact from me. Fixed .hgignore, deleted the wayward file, and everything is
now fine.
--
resolution: -
R. David Murray added the comment:
Interesting. So we have two choices: leave it to the platform mime types file
to define because it is not even on track to be an official IANA standard, or
include it with a comment that it is a de-facto standard.
The question, I guess, is how fluid the
New submission from Nadeem Vawda:
From issue 5210:
amaury.forgeotdarc wrote:
Hm, I tried a modified version of your first test, and I found another
problem with the current zlib library;
starting with the input:
x = x1 + x2 + HAMLET_SCENE# both compressed and uncompressed data
The
Nadeem Vawda added the comment:
This bug (zlib not providing a way to detect end-of-stream) has already
been fixed - see issue 12646.
I've opened issue 16350 for the unused_data problem.
--
resolution: - out of date
stage: test needed - committed/rejected
status: open - closed
Serhiy Storchaka added the comment:
Yes, accumulating the data will be backward-compatible.
But what if add a special flag for zlib.decompress, which makes bz2 and lzma
compatible decoder? I.e.:
1) unconsumed_tail is always empty (the unconsumed data accumulated in internal
buffer, no need
Nadeem Vawda added the comment:
Interesting idea, but I'm not sure it would be worth the effort. It would
make the code and API more complicated, so it wouldn't really help users,
and would be an added maintenance burden.
--
___
Python tracker
New submission from Antoine Pitrou:
This patch adds a function named gc.get_stats() which returns a list of
dictionaries containing per-generation statistics:
import pprint, gc
pprint.pprint(gc.get_stats())
[{'collected': 0, 'collections': 12, 'uncollectable': 0},
{'collected': 0,
Mark Dickinson added the comment:
I created http://projects.scipy.org/numpy/ticket/2235 to track this. Closing
this issue.
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5476
Christian Heimes added the comment:
What are the possible performance implications of the statistics?
--
nosy: +christian.heimes
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16351
___
Antoine Pitrou added the comment:
You mean negative implications? None :-)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16351
___
___
Serhiy Storchaka added the comment:
Here is a patch for your suggestion.
--
keywords: +patch
Added file: http://bugs.python.org/file27769/zlib_accum_unused_data.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16350
Changes by Serhiy Storchaka storch...@gmail.com:
--
stage: needs patch - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16350
___
___
Serhiy Storchaka added the comment:
Actually the current code contains a bug. If memory allocation for unused_data
fails then unused_data will become NULL and using this properties can crash.
The patch fixes this.
--
___
Python tracker
Berker Peksag added the comment:
Hum, this is not correct. There are three valid values:
- NULL: strict
- strict: strict
- surrogateescape: use PEP 383
Thanks for the correction, Victor. Here's the updated patch.
--
Added file:
Serhiy Storchaka added the comment:
Why dictionaries and not struct sequences?
--
nosy: +serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16351
___
Serhiy Storchaka added the comment:
Oh, I understand. GC callbacks receive a dict.
For avoid confusion with gc.DEBUG_STATS and to conform with callbacks argument
name, may be better to name this function as gc.get_infos([generation])?
--
___
Python
Serhiy Storchaka added the comment:
I.e. gc.get_info([generation]). Returns the info for specified generation or
total if the parameter omitted.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16351
Antoine Pitrou added the comment:
Why dictionaries and not struct sequences?
Because it's much simpler like that.
For avoid confusion with gc.DEBUG_STATS and to conform with callbacks
argument name, may be better to name this function as
gc.get_infos([generation])?
Well, this is really
Vinay Sajip added the comment:
Is there any common use case other than logging? For example, logging could be
covered by an additional command-line argument for unittest.main(), e.g.
--logconfig /path/to/logging-config.json
which would cause unittest.main() to load the JSON in the specified
Mariano Reingart added the comment:
I thought #9769 was closed (in fact, that patch was already applied).
Now, PyUnicode_FromFormatV() doesn't handle non-ascii text at all.
Maybe I misread the part telling to open a new issue in the comments, sorry for
that.
--
Chris Jerdonek added the comment:
Issue 9769 is still open. It looks like there was some disagreement in the
comments between Alexander and Victor as to whether a new issue should be
created (since Victor had a different idea when first opening the issue), but
it looks like Victor deferred
Changes by Chris Jerdonek chris.jerdo...@gmail.com:
--
versions: +Python 3.4 -Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9769
___
Éric Araujo added the comment:
Thank you!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1492704
___
___
Python-bugs-list mailing list
Éric Araujo added the comment:
I’m of two minds about this. On one hand this syntax avoids silent bugs and is
compatible with 3.x, on the other hand if people use the 2.7 docs and use
Python 2.4 or 2.5 the examples won’t work. Raymond, what’s your opinion?
--
nosy: +eric.araujo,
Éric Araujo added the comment:
One idiom is not covered by the examples: value = seq[something+1]
IMO it feels weird to put spaces in an index/slice notation.
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
Guido van Rossum added the comment:
That example doesn't feel strong enough to me to include in the style guide. I
am fine with leaving that up to the individual contributor to decide.
--
___
Python tracker rep...@bugs.python.org
Ezio Melotti added the comment:
The patch LGTM, and there are only 21 changes.
--
nosy: +ezio.melotti
type: - enhancement
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16341
___
Changes by Catalin Iacob iacobcata...@gmail.com:
--
versions: +Python 3.4 -Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8745
___
___
Piotr Dobrogost added the comment:
@Vinay
I don't see other use cases but maybe guys behind py.test, where there is such
a feature could come up with other use cases.
The solution with passing config dict in a new command line parameter seems to
be enough as long as logging is concerned.
Mariano Reingart added the comment:
(moved from issue #16343)
Working in an internationalization proposal
http://python.org.ar/pyar/TracebackInternationalizationProposal (issue #16344)
I've stopped at this problem (#9769) where multi byte encodings (like utf-8) is
not supported by
1 - 100 of 125 matches
Mail list logo