Serhiy Storchaka storch...@gmail.com added the comment:
I'm not sure about new tests, but the changes in the docstring and old tests
look necessary.
--
Added file: http://bugs.python.org/file25402/testzip-patch4.patch
___
Python tracker
Serhiy Storchaka storch...@gmail.com added the comment:
Anyone can look at the patch? This same problem reported in
http://bugs.python.org/msg73317 .
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14315
Nick Coghlan ncogh...@gmail.com added the comment:
Uploaded new bootstrapping patch that handles the fully explicit import
machinery.
I also tweaked a couple of things so it plays nicely in terms of building an
initial version with the checked in importlib.h. Specifically: pythonrun still
py.user bugzilla-mail-...@yandex.ru added the comment:
\S is equivalent to [^\s]
like \d with \D
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14236
___
Ezio Melotti ezio.melo...@gmail.com added the comment:
Here's a patch.
--
assignee: docs@python - ezio.melotti
keywords: +patch
stage: needs patch - commit review
Added file: http://bugs.python.org/file25404/issue14558.diff
___
Python tracker
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset b26471a2a115 by Ezio Melotti in branch '2.7':
#14519: fix the regex used in the scanf example.
http://hg.python.org/cpython/rev/b26471a2a115
New changeset e317d651ccf8 by Ezio Melotti in branch '3.2':
#14519: fix
Ezio Melotti ezio.melo...@gmail.com added the comment:
Fixed, thanks for the report and the suggestions!
--
assignee: docs@python - ezio.melotti
resolution: - fixed
stage: needs patch - committed/rejected
status: open - closed
type: - enhancement
New submission from Ramchandra Apte maniandra...@gmail.com:
A code example is not highlighted in the 3.3 docs for memoryview
(http://docs.python.org/dev/library/stdtypes.html#memoryview)
Only 3.3 is affected by this bug as the code example is for a feature in 3.3.
--
assignee:
Charles-François Natali neolo...@free.fr added the comment:
test_process_time_threads is failing on one of the buildbots:
==
FAIL: test_process_time_threads (test.test_time.TimeTestCase)
Charles-François Natali neolo...@free.fr added the comment:
LGTM.
Juste one nitpick: why do you sometimes import the clock source as get_time()
and others _time()? _time() looks fine to me.
--
___
Python tracker rep...@bugs.python.org
Ezio Melotti ezio.melo...@gmail.com added the comment:
Is there a way to add a :keep-doctest-flags: options to literal blocks?
--
stage: test needed - needs patch
type: - enhancement
___
Python tracker rep...@bugs.python.org
Serhiy Storchaka storch...@gmail.com added the comment:
Support lines in zipfile looks contradictory and buggy. This complicates the
code and makes the behavior of zipfile.ZipExtFile incompatible with the
interface of other file-like objects. For example, the behavior of the read,
read1 and
Hynek Schlawack h...@ox.cx added the comment:
What is the reason for this one to languish for over a year now? Lack of proper
patch? It’s marked “high priority”, so let’s get moving.
--
nosy: +hynek, sandro.tosi
___
Python tracker
New submission from Jakob Simon-Gaarde jako...@gmail.com:
Hi
It seems like the parse_constant keyword parameter for registering a callback
function is no longer called in Python 2.7.
http://docs.python.org/library/json.html#json.load
I am using Python 2.7.3 on Ubuntu 12.04
I have created and
Ezio Melotti ezio.melo...@gmail.com added the comment:
Good point.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14236
___
___
Python-bugs-list
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 23d5b457dc71 by Ezio Melotti in branch '3.2':
#14236: fix docs for \S.
http://hg.python.org/cpython/rev/23d5b457dc71
New changeset 9165774a8055 by Ezio Melotti in branch 'default':
#14236: merge with 3.2.
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
stage: - needs patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14692
___
Q abon...@gmail.com added the comment:
thanks, that's rather convenient
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14671
___
___
Serhiy Storchaka storch...@gmail.com added the comment:
This behavior was changed in changeset f686aced02a3 three year ago. If this
change is intentional, then you need edit documentation.
--
nosy: +storchaka
___
Python tracker
Hynek Schlawack h...@ox.cx added the comment:
Hi Jakob,
parse_constant has been changed as of d95e5add3ca4 to be called only on
-Infinity, Infinity, NaN:
``parse_constant``, if specified, will be called with one of the
following strings: -Infinity, Infinity, NaN.
This
Changes by Serhiy Storchaka storch...@gmail.com:
--
keywords: +patch
Added file: http://bugs.python.org/file25406/json_parse_constant_doc.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14692
Yuval Greenfield ubershme...@gmail.com added the comment:
If we're modifying zipfile, please consider adding the reviewed patch for
ZipFile.remove at http://bugs.python.org/issue6818
--
nosy: +ubershmekel
___
Python tracker rep...@bugs.python.org
Serhiy Storchaka storch...@gmail.com added the comment:
Actually reading from the zip file is buffered (at least 4 KiB of uncompressed
data at a time).
Can you give tests, scripts and data, which show the problem?
--
___
Python tracker
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14671
___
___
Ezio Melotti ezio.melo...@gmail.com added the comment:
The original changeset is at [0], and the commit message just says even more
decoder optimizations. The official website[1] and the RFC[2] don't list any
constant, so I guess the definition of what a constant is is not well defined.
[0]:
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8767
___
___
Python-bugs-list
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14643
___
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
keywords: +patch
Added file:
http://bugs.python.org/file25407/zipfile_unsupported_compression.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14313
Daniel Swanson popcorn.tomato.d...@gmail.com added the comment:
Never mind. I think I used the start menu to do it myself.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14672
___
New submission from Dov Feldstern dfeldst...@nds.com:
Python has its own implementations of various hash functions, that can be used
as fallbacks when openssl is not available. However, if openssl *is* available
at build time, then these fallbacks don't get built.
It would be nice if they
Changes by Mark Dickinson dicki...@gmail.com:
--
nosy: -mark.dickinson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4653
___
___
Antoine Pitrou pit...@free.fr added the comment:
that message requests that a bug be opened about this, but I wasn't able to
find it?
Probably because no-one opened an issue.
build onto portable or shared storage, and run on multiple machines,
even if openssl happens not to be available
Antoine Pitrou pit...@free.fr added the comment:
Deprecate universal newline support in zipfile. zipfile.ZipExtFile
should always work with non-modified bytes, and who need the text, let
wraps zipfile.ZipExtFile with io.TextIOWrapper.
This would be fine with me.
--
nosy: +pitrou
Changes by Antoine Pitrou pit...@free.fr:
--
stage: - needs patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14693
___
___
Python-bugs-list
Guido van Rossum gu...@python.org added the comment:
I could check it in, but I probably would mess up something (which branches are
affected?). Let me know if you want me to.
The priorities after that would be:
1) update docs (the warning about RuntimeError needs to be moderated)
2) convert
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset c468511fc887 by Mark Dickinson in branch 'default':
Issue #14521: Make result of float('nan') and float('-nan') more consistent
across platforms. Further, don't rely on Py_HUGE_VAL for float('inf').
Mark Dickinson dicki...@gmail.com added the comment:
Now fixed.
--
resolution: - fixed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14521
___
Guido van Rossum gu...@python.org added the comment:
Actually my patch doesn't even apply cleanly. I suspect the dict refactoring
for shared keys interfered. Someone please help!
--
___
Python tracker rep...@bugs.python.org
Serhiy Storchaka storch...@gmail.com added the comment:
This would be fine with me.
It may be worth to deprecate PEP 278? Oh, only ten years have passed
since 2.3, but it seems it was so long ago.
--
___
Python tracker rep...@bugs.python.org
Antoine Pitrou pit...@free.fr added the comment:
It may be worth to deprecate PEP 278? Oh, only ten years have passed
since 2.3, but it seems it was so long ago.
Well, I don't know if PEPs ever get deprecated. In this case, PEP 3116
is probably the superseder.
--
Senthil Kumaran sent...@uthcode.com added the comment:
Is it a sphinx version problem? I could not figure out why that particular code
is not highlighted. The syntax looks correct.
--
nosy: +orsenthil
___
Python tracker rep...@bugs.python.org
Changes by Senthil Kumaran sent...@uthcode.com:
--
assignee: docs@python - orsenthil
nosy: +orsenthil
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11352
___
Matthew Barnett pyt...@mrabarnett.plus.com added the comment:
It doesn't work in regex, but it probably should. IMHO, if it's a valid
identifier, then it should be allowed.
--
___
Python tracker rep...@bugs.python.org
Antoine Pitrou pit...@free.fr added the comment:
Actually, the modules are always compiled when in debug mode. Here is a patch
to always compile them.
--
keywords: +patch
Added file: http://bugs.python.org/file25408/hashlibfallbacks.patch
___
Python
Changes by Hynek Schlawack h...@ox.cx:
--
keywords: +needs review
stage: needs patch - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14157
___
Changes by Hynek Schlawack h...@ox.cx:
--
stage: - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14082
___
___
Python-bugs-list
Changes by Hynek Schlawack h...@ox.cx:
--
components: +Library (Lib) -None
stage: needs patch - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14662
___
Mark Dickinson dicki...@gmail.com added the comment:
Dropping this due to lack of time; unless anyone else wants to pick it up, it
should probably be closed as won't fix.
--
assignee: mark.dickinson -
priority: normal - low
___
Python tracker
Changes by Mark Dickinson dicki...@gmail.com:
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14521
___
___
Mark Dickinson dicki...@gmail.com added the comment:
Unassigning. I'm not planning to work on this in the forseeable future, though
I'd be happy to review patches.
--
assignee: mark.dickinson -
___
Python tracker rep...@bugs.python.org
Hynek Schlawack h...@ox.cx added the comment:
This one LGTM, still applies cleanly against current tip and is languishing for
a way to long time.
Commit close?
--
nosy: +hynek
versions: +Python 3.3
___
Python tracker rep...@bugs.python.org
Charles-François Natali neolo...@free.fr added the comment:
I'm closing as invalid.
If you decide to fill a bug report to your distribution (or directly to the
libc in this case), it'd be interesting to post a link to the bug report here.
Thanks.
--
resolution: - invalid
stage: -
Charles-François Natali neolo...@free.fr added the comment:
Anybody working on this one? I’d give it a shot otherwise.
Go ahead.
You could - should? - probably use the new os.fwalk() to walk
directories in a safe maner.
--
___
Python tracker
New submission from endolith endol...@gmail.com:
Suggestion: Add an option to bin/hex/oct functions to format binary output with
a minimum fixed width, including leading zeros. Also might be useful for hex
and oct.
Currently, bin(18) produces '0b10010'
with this change, something like
Mark Dickinson dicki...@gmail.com added the comment:
-1. str.format already does this quite effectively; I don't see a real need to
complicate the bin, hex and oct signatures.
'{:016b}'.format(324)
'000101000100'
'{:016o}'.format(324)
'0504'
'{:016x}'.format(324)
Changes by Mark Dickinson dicki...@gmail.com:
--
versions: +Python 3.3 -Python 2.7
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14694
___
___
endolith endol...@gmail.com added the comment:
Ok. I'm not sure what backwards compatibility issues would exist, though.
The only difference is that mboxrd converts
\nFrom → \nFrom
\nFrom → \nFrom
making the conversion reversible, while mboxo does
\nFrom → \nFrom
\nFrom → \nFrom
Changes by Mark Dickinson dicki...@gmail.com:
--
stage: - needs patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14694
___
___
Charles-François Natali neolo...@free.fr added the comment:
Well, it always boils down to the same problem: should we offer thin wrappers
around underlying syscalls or offer higher-level functions?
I personally think that offering mere wrappers around syscalls doesn't make
much sense: Python
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 295fec2cd5ed by Raymond Hettinger in branch '3.2':
Issue 14688: Fix typo
http://hg.python.org/cpython/rev/295fec2cd5ed
--
nosy: +python-dev
___
Python tracker
Changes by Raymond Hettinger raymond.hettin...@gmail.com:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14688
___
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset eb5c5c23ca9b by Brett Cannon in branch 'default':
Issue #13959: Re-implement imp.NullImporter in Lib/imp.py.
http://hg.python.org/cpython/rev/eb5c5c23ca9b
--
___
Python
R. David Murray rdmur...@bitdance.com added the comment:
If that's really the only difference we might indeed be able to treat it as a
bug fix. I'd have to look at a proposed patch to be sure.
--
___
Python tracker rep...@bugs.python.org
Brett Cannon br...@python.org added the comment:
Update time!
With NullImporter dealt with, that leaves get_magic(), get_tag(), reload(), and
get_suffixes() as things to potentially move to Lib/imp.py. I would also like
to re-implement PyImport_ExecCodeModuleObject() as it's keeping a lot of
Éric Araujo mer...@netwok.org added the comment:
1659 lines less than 3.2’s import.c so far!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13959
___
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 9f57d66689ca by Mark Dickinson in branch '3.2':
Issue #9154: Fix parser module to understand function annotations.
http://hg.python.org/cpython/rev/9f57d66689ca
New changeset cee5cb877631 by Mark Dickinson in
Tshepang Lekhonkhobe tshep...@gmail.com added the comment:
addressing the bulk of your comments
this does not address last message, where you want the lines highlighted; it
will be rather tedious; to me the code snippets are short enough, removing the
need for highlighting
--
Added
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 1255cac63dfc by Victor Stinner in branch 'default':
Issue #14428: Rewrite test_process_time_threads() test
http://hg.python.org/cpython/rev/1255cac63dfc
--
___
Python
STINNER Victor victor.stin...@gmail.com added the comment:
The test is a bit too optimistic: a thread is looping for 0.2s, and the test
checks that the process time (user + system) increased of at least 0.1s. If the
thread is preempted, there's a high chance you won't get even as low as 0.1s.
Charles-François Natali neolo...@free.fr added the comment:
Martin, is there any reason not to commit your patch?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14433
___
STINNER Victor victor.stin...@gmail.com added the comment:
Failure on x86 OpenIndiana 3.x:
FAIL: test_stat_attributes (test.test_os.StatAttributeTests)
--
Traceback (most recent call last):
File
Changes by Mark Dickinson dicki...@gmail.com:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9154
___
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 925fbcfbbc45 by Sandro Tosi in branch 'default':
Issue #14691: indent the traceback so the example is highlighted
http://hg.python.org/cpython/rev/925fbcfbbc45
--
nosy: +python-dev
Charles-François Natali neolo...@free.fr added the comment:
Hum, the problem is maybe that the thread is preempted, but the first
problem is that the test considers that time.process_time() uses seconds.
Hum, what?
You mean that process_time() doesn't return seconds?
--
Sandro Tosi sandro.t...@gmail.com added the comment:
It's seems like a deja-vu: I thought I saw this problem once, and was already
fixed - bah, it was tricky (traceback needs to be indented for the code to be
highlighted), that's why I remember it
--
nosy: +sandro.tosi
resolution: -
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset eb68502731dd by Brett Cannon in branch 'default':
Issues #13959, 14647: Re-implement imp.reload() in Lib/imp.py.
http://hg.python.org/cpython/rev/eb68502731dd
--
___
Brett Cannon br...@python.org added the comment:
Fixed by http://hg.python.org/cpython/rev/eb68502731dd
--
assignee: - brett.cannon
resolution: - fixed
stage: test needed -
status: open - closed
___
Python tracker rep...@bugs.python.org
Dov Feldstern dfeldst...@nds.com added the comment:
Thanks for the prompt response!
Yes, this looks good, I made a very similar patch myself and it seemed to work
correctly (but that was on 2.7, and I didn't know how exactly to fix up the
tests...).
Thanks again!
--
Brett Cannon br...@python.org added the comment:
So here is the deal with PyImport_ExecCodeModuleObject(): bootstrapping and
Barry has made this a little annoying. =)
First off, PyImport_ImportFrozenModuleObject() uses
PyImport_ExecCodeModuleObject(), so that precludes just directly importing
New submission from Mark Dickinson dicki...@gmail.com:
Here's a patch that makes all tests in Tools/parser/test_unparse.py pass on the
default branch. (The 'yield from' bits would have to be removed for 3.2.)
--
components: Demos and Tools
files: unparse.patch
keywords: patch
Martin v. Löwis mar...@v.loewis.de added the comment:
The official way for building certain modules despite auto-configuration is to
edit Modules/Setup, or Modules/Setup.local. This already supports the exact use
case, so I'm closing this as works for me.
--
nosy: +loewis
resolution:
Changes by Antoine Pitrou pit...@free.fr:
--
resolution: works for me -
stage: needs patch - patch review
status: closed - open
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14693
___
Martin v. Löwis mar...@v.loewis.de added the comment:
Antoine: why did you reopen it? Leave *at least* an explanation please.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14693
___
Antoine Pitrou pit...@free.fr added the comment:
Antoine: why did you reopen it? Leave *at least* an explanation please.
Ah, sorry. I think it's a reasonable enhancement request, and
furthermore the patch simplifies the setup code.
Also, it allows us to test the _md5 (etc.) modules in
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 90b9781ccb5f by Alexander Belopolsky in branch '3.2':
Issue #10941: Fix imaplib.Internaldate2tuple to produce correct result near
http://hg.python.org/cpython/rev/90b9781ccb5f
New changeset 6e029b6c142a by Alexander
Martin v. Löwis mar...@v.loewis.de added the comment:
If it's an official feature that these modules are always built, the patch is
insufficient: it then also needs to adjust the build environment for Windows,
and the packaging. It potentially also affects packaging for OSX and Linux.
I still
New submission from Mark Dickinson dicki...@gmail.com:
Here's a patch.
--
files: parser_nonlocal.patch
keywords: patch
messages: 159651
nosy: mark.dickinson
priority: normal
severity: normal
stage: patch review
status: open
title: parser module doesn't support nonlocal statement
type:
Mark Dickinson dicki...@gmail.com added the comment:
Better test: the nonlocal statements should be in a nested scope.
--
Added file: http://bugs.python.org/file25412/parser_nonlocal.patch
___
Python tracker rep...@bugs.python.org
Changes by Mark Dickinson dicki...@gmail.com:
Removed file: http://bugs.python.org/file25411/parser_nonlocal.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14696
___
Antoine Pitrou pit...@free.fr added the comment:
There are many sporadic failures on the buildbots:
==
FAIL: test_process_time_threads (test.test_time.TimeTestCase)
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset b7e491b9094f by Mark Dickinson in branch '3.2':
Issue #14696: Fix parser module to understand 'nonlocal' declarations.
http://hg.python.org/cpython/rev/b7e491b9094f
New changeset 5acddc7c666d by Mark Dickinson in
Changes by Mark Dickinson dicki...@gmail.com:
--
assignee: - mark.dickinson
components: +Library (Lib)
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14696
Gregory P. Smith g...@krypto.org added the comment:
I don't have a problem with always compiling them.
Distro packagers should see that the stand alone versions are not distributed
with their package that has a dependency on openssl as they'll just be a waste
of space. But that is up to the
New submission from Mark Dickinson dicki...@gmail.com:
parser.tuple2st(parser.expr('{2}').totuple())
Traceback (most recent call last):
File stdin, line 1, in module
parser.ParserError: could not validate expression tuple
[70677 refs]
parser.tuple2st(parser.expr('{x**2 for x in [1, 2,
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 0bdf0727ee29 by Victor Stinner in branch 'default':
Issue #14428: Make test_process_time_threads() less strict
http://hg.python.org/cpython/rev/0bdf0727ee29
--
___
Python
STINNER Victor victor.stin...@gmail.com added the comment:
What is the reason for this one to languish for over a year now?
Maybe because few people are concerned by the cgi module?
Lack of proper patch?
It would help to have a patch attached to the issue, and a review of the patch.
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset ad3d6010379b by Victor Stinner in branch 'default':
Issue #14428: Remove test_process_time_threads() from test_time
http://hg.python.org/cpython/rev/ad3d6010379b
--
___
Éric Araujo mer...@netwok.org added the comment:
We had a look at this bug during a sprint last week. First, it is reasonable
to use --sign without --identity, as gpg will fall back to a default identity
(see the description of --local-user and --default-key in the gpg man page).
Second, it
Changes by Éric Araujo mer...@netwok.org:
--
title: improve error message for setup.py upload --sign without --identity -
upload: improve display for error messages from gpg
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7677
Éric Araujo mer...@netwok.org added the comment:
Two people started working on this during the first Montreal sprint.
--
versions: +Python 3.3 -Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6114
1 - 100 of 107 matches
Mail list logo