New submission from Andrew Dalke:
The unittest assertRaises/assertRaisesRegex implementation calls
traceback.clear_frames() because of issue9815 ("assertRaises as a context
manager keeps tracebacks and frames alive").
However, if the traceback is from an exception created in a
Andrew Dunai added the comment:
Isn't this intended? According to https://docs.python.org/2/library/glob.html
and wiki, typical UNIX glob pattern does not have the reqursive matching
operator (`**`).
--
nosy: +Andrew Dunai
___
Python tracker
Andrew Nester added the comment:
I've just added PR for this issue.
--
nosy: +andrewnester
pull_requests: +51
___
Python tracker
<http://bugs.python.org/is
Andrew Nester added the comment:
actually, it's more related to subclassing, because the problem comes from the
fact that before the fix __init__ method receives value as int not Decimal if
int passed to from_float call.
That's why only subclasses of Decimal can see difference in
Andrew Nester added the comment:
Agree about surprising behaviour but I guess it's better to fix it as other
issue because it could break BC in some cases. At least it needs to be
investigated.
For now I would like to stick with same behaviour for _decimal and _pyde
Andrew Nester added the comment:
thanks for your notes, it's absolutely fine and I agree with you :)
--
___
Python tracker
<http://bugs.python.org/is
Andrew Nester added the comment:
I've just added PR implementing alternative version provided by R. David Murray
as more simple and straight-forward one.
--
nosy: +andrewnester
pull_requests: +53
___
Python tracker
<http://bugs.py
Changes by Andrew Nester :
--
pull_requests: +76
___
Python tracker
<http://bugs.python.org/issue29553>
___
___
Python-bugs-list mailing list
Unsubscribe:
Andrew Nester added the comment:
I've just added PR fixing this.
--
nosy: +andrewnester
___
Python tracker
<http://bugs.python.org/issue29553>
___
___
Pytho
Changes by Andrew Nester :
--
pull_requests: +80
___
Python tracker
<http://bugs.python.org/issue29553>
___
___
Python-bugs-list mailing list
Unsubscribe:
Andrew Nester added the comment:
Ive just added alternative PR that drops inner brackets. So we've got options
to choose!
--
___
Python tracker
<http://bugs.python.org/is
Andrew Nester added the comment:
any updates on this?
--
___
Python tracker
<http://bugs.python.org/issue29553>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Andrew Nester :
--
pull_requests: +96
___
Python tracker
<http://bugs.python.org/issue29573>
___
___
Python-bugs-list mailing list
Unsubscribe:
Andrew Nester added the comment:
I've just added PR fixing this issue.
--
nosy: +andrewnester
___
Python tracker
<http://bugs.python.org/issue29573>
___
___
Andrew Nester added the comment:
any updates on this? :)
--
___
Python tracker
<http://bugs.python.org/issue29573>
___
___
Python-bugs-list mailing list
Unsub
Andrew Nester added the comment:
Adding new argument sucs as format= or compact= will make API more complicated.
In addition it's not easy and has obvious how to handle situations wheb we have
both separatots= and format= argument
Andrew Nester added the comment:
some updates?
--
___
Python tracker
<http://bugs.python.org/issue29573>
___
___
Python-bugs-list mailing list
Unsubscribe:
Andrew Nester added the comment:
JFYI, from my perspective as a developer PR 120 is more preferred one.
--
___
Python tracker
<http://bugs.python.org/issue29
Changes by Andrew Nester :
--
pull_requests: +326
___
Python tracker
<http://bugs.python.org/issue29678>
___
___
Python-bugs-list mailing list
Unsubscribe:
Andrew Nester added the comment:
Thanks for reporting! Just added PR fixing this.
--
nosy: +andrewnester
___
Python tracker
<http://bugs.python.org/issue29
New submission from Andrew Lyasoff:
A particular numerical expression involving mpmath produces the wrong result
when evaluated with Python 3.5 and produces the correct result when evaluated
with Python 2.7. The expression involves the commonly used erf (error) function.
--
components
New submission from Andrew Cameron:
The documentation for Mutable Sequence Types states that, for operation:
s.extend(x) or s += t
the expected result is:
for the most part the same as s[len(s):len(s)] = x
Note that if you perform operation 's += t' the result is not the same as
New submission from Andrew Svetlov:
Hi.
On reading the doc for pathlib I've stuck with `.rename()` and `.replace()`
(https://docs.python.org/3/library/pathlib.html#pathlib.Path.rename).
What's the difference?
Going to pathlib's source code I've figured out that metho
Andrew Svetlov added the comment:
Just keeping the reference to `os.rename()`:
https://docs.python.org/3/library/os.html#os.rename
Aha, `os.rename` says: "On Unix, if dst exists and is a file, it will be
replaced silently if the user has permission." and "On Windows, if dst
Changes by Andrew McNabb :
--
nosy: +amcnabb
___
Python tracker
<http://bugs.python.org/issue14191>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Andrew McNabb :
--
nosy: +amcnabb
___
Python tracker
<http://bugs.python.org/issue15258>
___
___
Python-bugs-list mailing list
Unsubscribe:
Andrew Svetlov added the comment:
Fixed. July, would you fill Licence agreement
http://www.python.org/psf/contrib/?
--
nosy: +asvetlov
resolution: -> fixed
stage: -> committed/rejected
status: open -> closed
___
Python track
New submission from Andrew Lutomirski:
inspect.formatargvalues assumes (incorrectly) that every argument in args is a
key in values. This isn't very hard to break -- see the attachment for a
complete example.
--
components: Library (Lib)
files: test_cgitb.py
messages: 182446
Andrew Jaffe added the comment:
Was this actually fixed? As per <http://bugs.python.org/issue16848> it affects
"python-config --ldflags" which is used by various build systems.
--
nosy: +Andrew.Jaffe
___
Python tracker
<htt
Andrew Jaffe added the comment:
Will this be fixed? I note that the related LINKFORSHARED bug (which causes
this, I think) is marked as resolved.
--
nosy: +Andrew.Jaffe
___
Python tracker
<http://bugs.python.org/issue16
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue17338>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue17330>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue17351>
___
___
Python-bugs-list mailing list
Unsubscribe:
Andrew Svetlov added the comment:
Agree with Terry.
The patch LGTM except unicode literals part.
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue17
Andrew Svetlov added the comment:
Agree in general, but you need to update the docs also.
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue17
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue17385>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue17423>
___
___
Python-bugs-list mailing list
Unsubscribe:
Andrew Svetlov added the comment:
The patch is welcome
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue17462>
___
___
Python-bugs-list mailin
Changes by Andrew Svetlov :
--
nosy: asvetlov
priority: normal
severity: normal
status: open
title: Fix test discovery for test_pdb.py
versions: Python 3.3, Python 3.4
___
Python tracker
<http://bugs.python.org/issue17
Changes by Andrew Svetlov :
--
resolution: -> fixed
stage: -> committed/rejected
status: open -> closed
___
Python tracker
<http://bugs.python.or
Andrew Gorcester added the comment:
Product of the #pycon 2013 sprint with r.david.murray's assistance. This
implements the list of results as per tarek's suggested 1/ behavior in cases
where ignore_errors=True. Parameters accepted are not changed; return value is
changed from
Andrew Gorcester added the comment:
I was able to reproduce on Ubuntu with Python 3.4 compiled from trunk
2013-03-17, but only with Firefox and not with Chrome.
--
nosy: +andrewsg
___
Python tracker
<http://bugs.python.org/issue5
andrew cooke added the comment:
what is rietveld?
and why is this marked as "easy"? it seems like it involves issues that aren't
described well in the spec - it requires some kind of canonical way to describe
urls with (and without) parameters to solve completely.
-
andrew cooke added the comment:
thanks (only subscribed to this now, so no previous email).
my guess is that google are assuming a dumb regexp so
http://example.com/foo?
in a rule does not match
http://example.com/foo
and also i realised that http://google.com/robots.txt doesn
Andrew Svetlov added the comment:
Fixed.
Thanks, Berker
--
resolution: -> fixed
stage: patch review -> committed/rejected
status: open -> closed
___
Python tracker
<http://bugs.python.or
Changes by Andrew Gorcester :
--
resolution: -> wont fix
status: open -> closed
___
Python tracker
<http://bugs.python.org/issue16432>
___
___
Python-bugs-
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue17206>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue1521051>
___
___
Python-bugs-list mailing list
Unsubscribe:
Andrew Svetlov added the comment:
Fixed in 4712f9f8a90d, 5e5081cdc086, e4beda7cca2f.
Thanks.
--
resolution: -> fixed
stage: needs patch -> committed/rejected
status: open -> closed
___
Python tracker
<http://bugs.python.or
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue17552>
___
___
Python-bugs-list mailing list
Unsubscribe:
Andrew Svetlov added the comment:
Fixed. Thanks
--
resolution: -> fixed
stage: needs patch -> committed/rejected
status: open -> closed
___
Python tracker
<http://bugs.python.or
Changes by Andrew Svetlov :
--
dependencies: +Errno checking replaced by concrete classes inherited from
OSError
___
Python tracker
<http://bugs.python.org/issue16
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue17650>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Andrew Svetlov :
--
dependencies: +There is no exception correspond to errno EROFS
___
Python tracker
<http://bugs.python.org/issue16705>
___
___
Pytho
Andrew Svetlov added the comment:
NEWS updated, thanks.
--
___
Python tracker
<http://bugs.python.org/issue17502>
___
___
Python-bugs-list mailing list
Unsub
Andrew Svetlov added the comment:
I've asked atykhonov for that because we have two sets:
1. Can be done with current exception classes
2. errno values doesn't have concrete OSError inherited exception and we have
to make decision: add new exceptions or use errno check.
This i
Andrew Svetlov added the comment:
Sorry for reopening.
Do you really sure that ENOTCONN and EINVAL doesn't worth to have separate
sublasses?
The same question about Not Supported family.
I don't force to make new exception classes, just like to figure out the status
quo.
If we
Andrew Svetlov added the comment:
Sorry, but you cannot just rewrite ./python.exe to just python.exe
At least in http://docs.python.org/devguide/buildbots you have to make probably
three sections:
1. for linux users to use just ./python
2. for Mac ./python.exe
3. for Windows /PCBuild
Andrew Svetlov added the comment:
Ok. Antoine's comment is clean.
Let's close the issue.
--
status: pending -> closed
___
Python tracker
<http://bugs.pytho
Andrew Svetlov added the comment:
Looks like the patch is out-of-date and tests doesn't pass.
Would you push updated version?
--
___
Python tracker
<http://bugs.python.org/is
Changes by Andrew Svetlov :
--
versions: -Python 3.2
___
Python tracker
<http://bugs.python.org/issue13355>
___
___
Python-bugs-list mailing list
Unsubscribe:
Andrew Svetlov added the comment:
Test for the issue_13355.patch is incorrect, please fix.
--
___
Python tracker
<http://bugs.python.org/issue13355>
___
___
Pytho
Andrew Svetlov added the comment:
I've found the stable link to CGI 1.1 spec at
http://tools.ietf.org/html/draft-robinson-www-interface-00
Links to spec from the issue looks like broken.
Please, can you describe why we need to convert, say, HTTP_USER_AGENT to
user-agent?
I see in the
Andrew Svetlov added the comment:
I like the patch but please add tests also.
We need to put new behavior in stone :)
Take a look on comments to the patch also.
--
___
Python tracker
<http://bugs.python.org/issue1521
Andrew Svetlov added the comment:
LGTM, will commit if no objects.
Let's leave encoding problems for upcoming issue.
Please file new one if needed.
--
___
Python tracker
<http://bugs.python.org/is
Andrew Svetlov added the comment:
Agree with Sentil
--
___
Python tracker
<http://bugs.python.org/issue900112>
___
___
Python-bugs-list mailing list
Unsubscribe:
Andrew Svetlov added the comment:
Fixed. Thanks.
--
nosy: +asvetlov
resolution: -> fixed
stage: -> committed/rejected
status: open -> closed
versions: +Python 3.4
___
Python tracker
<http://bugs.python.or
Andrew Svetlov added the comment:
Cool! Thanks.
--
___
Python tracker
<http://bugs.python.org/issue6696>
___
___
Python-bugs-list mailing list
Unsubscribe:
Andrew Svetlov added the comment:
Pushed for 3.3 and 3.4.
As I see 2.7 has no this problem.
Close the issue.
Thanks for all.
--
resolution: -> fixed
stage: -> committed/rejected
status: open -> closed
___
Python tracker
<http://bug
Andrew Svetlov added the comment:
Pushed.
Yuriy Senko, thanks for patch.
But, please, be more accurate with tests for another one.
--
resolution: -> fixed
stage: patch review -> committed/rejected
status: open -> closed
___
Python track
Andrew Svetlov added the comment:
Reverted. Sorry.
--
___
Python tracker
<http://bugs.python.org/issue13355>
___
___
Python-bugs-list mailing list
Unsubscribe:
Andrew Svetlov added the comment:
Agree with Serhiy. Better to direcly use OSError than IOError alias.
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue2
Andrew Svetlov added the comment:
No, PEP3121 patch is not ready yet but PEP384 has been applied.
--
___
Python tracker
<http://bugs.python.org/issue15
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue17810>
___
___
Python-bugs-list mailing list
Unsubscribe:
Andrew Svetlov added the comment:
Actually stdin/stdout/stderr are string streams if universal_newline is True
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue17
Andrew Barnert added the comment:
It may be pretty hard to come up with a good example for closing in the stdlib
that shouldn't just be turned into a context manager…
There are some types where using it in a with statement is sensible, but
unusual enough that you might want to ma
Andrew Svetlov added the comment:
For Ubuntu/debian you can just run:
$ sudo apt-get build-dep python3
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue22
New submission from Andrew Burrows:
I have flask webservice running on windows, run up with `app.run()` which works
fine from Chrome but when accessed with IE it sometimes fails with a timeout
error. I've managed to reproduce the problem without flask which suggests there
is (maybe?)
New submission from Andrew Svetlov:
See
http://stackoverflow.com/questions/27480967/why-does-the-asyncios-event-loop-suppress-the-keyboardinterrupt-on-windows
for details
--
components: asyncio
messages: 232678
nosy: asvetlov, gvanrossum, haypo, yselivanov
priority: normal
severity
Andrew Svetlov added the comment:
Closed
--
nosy: +asvetlov
resolution: -> duplicate
stage: -> resolved
superseder: -> operator.setitem example no longer works in Python 3 due to
lazy map
___
Python tracker
<http://bugs.python.or
Changes by Andrew Svetlov :
--
versions: +Python 3.4, Python 3.5 -Python 3.2, Python 3.3
___
Python tracker
<http://bugs.python.org/issue4395>
___
___
Python-bug
Changes by Andrew Svetlov :
--
stage: needs patch -> patch review
___
Python tracker
<http://bugs.python.org/issue4395>
___
___
Python-bugs-list mailing list
Un
New submission from Andrew Barnert:
In a recent thread on python-ideas
(https://mail.python.org/pipermail/python-ideas/2015-January/030817.html), it
was concluded that Python should not have a range-like type for floats in the
stdlib, but there should be some simple discussion of the
Andrew Svetlov added the comment:
-1.
Sorry, I don't see the reason for making custom `Future` class.
Can you elaborate?
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/is
Andrew Barnert added the comment:
As suggested by the review: removing unnecessary parenthetical, changing "ulp"
to "digit", and fixing the recipe link.
--
Added file: http://bugs.python.org/file37685/stdtypes.rst.diff
___
P
Andrew Barnert added the comment:
So something like the first version below? Or should even the example be
inline, as in the second version below? (Apologies if the formatting gets
screwed up pasting from docs to bugs.)
---
Range objects are inappropriate for non-integral types, especially
Andrew Svetlov added the comment:
I guess R. David Murray asked you to make the least minimal change,
even it breaks the formatting rules.
Paragraph reflow is safe when it's done by the Core Developer but it
requires additional check (and probably mercurial conflict errors on
merging the c
Andrew Svetlov added the comment:
I'm with Antoine.
Yes, GIL is extremely important but please don't put GIL mentions everywhere.
On Sun, Jan 18, 2015 at 4:39 PM, Antoine Pitrou wrote:
>
> Antoine Pitrou added the comment:
>
> Please let's stop it. Mentioning th
Andrew Svetlov added the comment:
I'm sorry.
The patch is correct from my perspective if we want to make bdist_install just
working.
Or as an option I can restore PyCFunction_New function declaration.
What do you prefer?
--
___
Python tr
New submission from Andrew Dalke:
The file iterator is "deemed broken". As I don't think it should be made
non-broken, I suggest the documentation should be changed to point out when
file iteration is broken. I also think the term 'broken' is a label with
needless
Andrew Stormont added the comment:
The -z ignore option is actually exposing issues that could cause a problem at
runtime. If the socket module were imported and libsocket/libnsl hadn't
already been loaded (i.e pulled in by the loader as a dependency of another
module) the loader would
Changes by Andrew Svetlov :
--
type: -> enhancement
___
Python tracker
<http://bugs.python.org/issue24411>
___
___
Python-bugs-list mailing list
Unsubscrib
New submission from Andrew Svetlov:
Now those methods use lock for querying queue size, like
def qsize(self):
with self.mutex:
return self._qsize()
The lock is not necessary because thread context switch may be done *after*
returning from mutex protected code but
Andrew Svetlov added the comment:
Raymond, is there known custom third-party queue class derived from
queue.Queue? I believe all those are in stdlib only.
Also locking guarantee is promised by comment in source code only,
documentation says nothing about it.
I believe proposed change will
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue24400>
___
___
Python-bugs-list mailing list
Unsubscribe:
Andrew Stormont added the comment:
Bump.
--
___
Python tracker
<http://bugs.python.org/issue23895>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Andrew Turner:
The attached patch moves to use the fenv functions on FreeBSD to control the
floating-point environment. This will be needed as I don't expect FreeBSD will
have these functions on arm64.
I would expect a similar change should be applied to any supp
New submission from Andrew Svetlov:
See https://github.com/KeepSafe/aiohttp/issues/497 for the reason.
Desctructors and descendant code (`loop.call_exception_handler()`) can be
called on interpreter shutdown stage, which leads to printouts like 'None
object has no attribute &q
Andrew Svetlov added the comment:
> You should try to implement something in aiohttp or even in the application
> to cleanup objects at exit. For example, it's probably wrong if you still
> have tasks when the event loop is closed. Especially if tasks are still
> pending.
T
Changes by Andrew Svetlov :
--
nosy: +asvetlov
___
Python tracker
<http://bugs.python.org/issue24598>
___
___
Python-bugs-list mailing list
Unsubscribe:
2901 - 3000 of 3170 matches
Mail list logo