New submission from Aaron Michaux:
The file "Misc/valgrind-python.supp" doesn't work on Linux x64, running
Python3.5.2, when configured as such:
--with-pydebug --with-valgrind --without-pymalloc
Running the interpreter
echo "x = 1; print(x)" | valgrind --tool=memche
Aaron Hall added the comment:
I like this idea too, but perhaps it should just be a multi-column bulleted
list (under the -m flag at
https://docs.python.org/3/using/cmdline.html#interface-options) with links to
the respective Standard Library doc?
Then we just ensure the documentation
Aaron Hall added the comment:
Serhiy,
Not sure what else needs to be done to wrap this up. All checks are passing on
the pull request.
Thoughts?
--
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/i
Changes by Aaron Hall <aaronch...@yahoo.com>:
--
nosy: +Aaron Hall
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue31319>
___
_
Changes by Aaron Hall <aaronch...@yahoo.com>:
--
nosy: +Aaron Hall
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue31333>
___
_
Aaron Hall added the comment:
It seems that this issue is still properly open. (Another open issue seems be
related: http://bugs.python.org/issue30129)
In the docs on partial, we have:
>>> from functools import partial
>>> basetwo = partial(int, base=2)
>>> basetw
Aaron Hall added the comment:
I tweaked the docs a little more this morning, but I believe I am done making
any further changes unless so requested.
This issue doesn't say it's assigned to anyone. Is there anything else that
needs to happen here
Aaron Hall added the comment:
> Please also add yourself to Misc/ACKS.
Done!
--
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.or
Aaron Hall added the comment:
Added news, working on tests
--
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue26103>
___
___
Pyth
Changes by Aaron Hall <aaronch...@yahoo.com>:
--
pull_requests: +2030
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue26103>
___
_
Aaron Hall added the comment:
Bumping this - I intend to work on this next, if no objections.
--
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/i
Changes by Aaron Hall <aaronch...@yahoo.com>:
--
pull_requests: +1908
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue30463>
___
_
Aaron Hall added the comment:
I created a new PR based on rhettinger's feedback (which on consideration was
quite correct) with a fresh branch from master.
Terseness is retained, and I think this revision makes the documentation more
correct and complete. The rewording makes the behavior
Changes by Aaron Hall <aaronch...@yahoo.com>:
--
pull_requests: +1905
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue30449>
___
_
New submission from Aaron Hall:
We have __slots__ with other ABC's, see http://bugs.python.org/issue11333 and
http://bugs.python.org/issue21421.
There are no downsides to having empty slots on a non-instantiable class, but
it does give the option of denying __dict__ creation for subclassers
Aaron Hall added the comment:
I've been working on this section quite a lot, trying to improve the flow of
content (which in the prior revision is a bit of a mish-mash of information in
the "Notes on using __slots__ section") - I intend to move some of that
information into the
New submission from Aaron Hall:
The __slots__ documentation in the datamodel needs improvement.
For example:
> When inheriting from a class without __slots__, the __dict__ attribute of
> that class will always be accessible, so a __slots__ definition in the
> subclass is me
New submission from Aaron Meurer:
I'm trying to completely hide an exception from the traceback module. From
reading the source, it looks like the only way to do this is to set
__traceback__ to None (I can also set __suppress_context__ to True, but that
only works if I have another exception
Aaron Whitehouse added the comment:
Posted to the [Python-ideas] mailing list, as it is proposing a change to a
standard library:
https://mail.python.org/pipermail/python-ideas/2017-February/044880.html
Nobody has responded so far, however. I take this as at least no vehement
objection
Changes by Aaron Meurer <asmeu...@gmail.com>:
--
nosy: +Aaron.Meurer
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue6028>
___
_
Aaron Whitehouse added the comment:
Note that somebody has forked the standard library to implement this:
https://github.com/kianxineki/python-wildcard
This shows that the actual changes would be pretty small (though pywildcard is
based on 2.x code and does not handle the cross-platform slashes
Changes by Aaron Gallagher <habna...@google.com>:
--
pull_requests: +193
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue29403>
___
Aaron Gallagher added the comment:
Patch adapted from https://github.com/testing-cabal/mock/pull/389
--
keywords: +patch
Added file: http://bugs.python.org/file46468/mock.patch
___
Python tracker <rep...@bugs.python.org>
<http://bugs.p
New submission from Aaron Gallagher:
Cython will, in the right circumstances, offer a MethodType instance where
im_func is a builtin function. Any instance of MethodType is automatically
assumed to be a python-defined function (more specifically, a function that has
an inspectable signature
Aaron Hill added the comment:
I've upload a patch which should address the issue in both the lzma and bz2
modules.
--
keywords: +patch
nosy: +Aaron1011
Added file: http://bugs.python.org/file45730/fix-lzma-bz2-segfaults.patch
___
Python tracker <
Aaron Gallagher added the comment:
Definitely not interested in pickle at all anymore.
--
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/
Changes by Aaron Gallagher <_...@habnab.it>:
--
nosy: -habnabit
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue3119>
___
__
Aaron Gallagher added the comment:
I'm not sure why one would pick and choose here—SHAKE is part of the NIST
SHA-3 standard.
--
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/i
Aaron Meurer added the comment:
Emanuel Barry, that is both untrue and irrelevant (sorry to be blunt, but
that's a total straw man on my and I believe other's argument). The fact that
the only mathematical constants in math are pi and e (nan and inf aren't really
"mathematical"
Aaron Meurer added the comment:
I also wonder, if math will be gaining constants that no one uses like tau, if
it will also gain constants that people actually do use (currently math just
has pi, e, inf, and nan). [i for i in dir(numpy) if isinstance(getattr(numpy,
i), float)] reveals
Aaron Meurer added the comment:
If this is implemented, it would be (as far as I can tell) the only thing in
the math module that isn't also implemented in any of the standard external
math libraries. None of numpy, scipy, sympy, or mpmath implement tau (if I'm
missing one that others think
Changes by Aaron Meurer <asmeu...@gmail.com>:
--
nosy: +Aaron.Meurer
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue12345>
___
_
Aaron Sokoloski added the comment:
I've run into this bug too. Took a while to track down the cause :)
--
nosy: +Aaron Sokoloski
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/i
Changes by Aaron Meurer <asmeu...@gmail.com>:
--
nosy: +Aaron.Meurer
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue24294>
___
_
Changes by Aaron Meurer <asmeu...@gmail.com>:
--
nosy: +Aaron.Meurer
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue25453>
___
_
New submission from Aaron Halfaker:
multiprocessing.imap will hang and not raise an error if an error occurs in the
generator that is being mapped over. I'd expect the error to be raised and/or
the process to fail.
For example, run the following code in python 2.7 or 3.4:
from
New submission from Aaron Hall:
Based on the data-model documentation
(https://docs.python.org/2/reference/datamodel.html#invoking-descriptors) and
the dotted lookup behavior, the follow definitions are correct:
"If the descriptor defines __set__() and/or __delete__(), it is a
Aaron Meurer added the comment:
I can't believe this issue was closed. Why can't Counter.__lt__(self, other)
just be all(self[i] < other[i] for i in self)?
Just because Counter supports weird stuff shouldn't bill it out. To follow that
logic, we should also remove Counter.subtr
Aaron Meurer added the comment:
Does this mean that some SymPy object is giving different hash values on
successive calls to hash()? We definitely need to look into this on the SymPy
side.
--
___
Python tracker <rep...@bugs.python.org>
Changes by Aaron Meurer <asmeu...@gmail.com>:
--
nosy: +Aaron.Meurer
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue25117>
___
_
Aaron Hill added the comment:
I've added a test case to exercise reset()
--
Added file:
http://bugs.python.org/file39934/fix-multibytecodec-segfault-with-test.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23247
Changes by Aaron Meurer aaron.meu...@continuum.io:
--
nosy: +Aaron Meurer
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19918
___
___
Python-bugs
Aaron Hill added the comment:
The patch didn't get attached for some reason. It's attached now.
--
Added file: http://bugs.python.org/file39933/fix-multibytecodec-segfault.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org
Aaron Hill added the comment:
The included patch fixes the issue, and modifies the existing unittest to
prevent a future regression.
The patch corrects an issue where the 'pending' struct field was NULL, but was
used as the input to multibytecodec_encode anyay
Aaron Hill added the comment:
This is also present in the latest Python 3.6.
I'm going to work on providing a patch for this, unless someone else already is
--
nosy: +Aaron1011
versions: +Python 3.6
___
Python tracker rep...@bugs.python.org
http
Changes by Aaron Meurer asmeu...@gmail.com:
--
nosy: +Aaron.Meurer
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24418
___
___
Python-bugs-list
Changes by Aaron Meurer asmeu...@gmail.com:
--
nosy: +Aaron.Meurer
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17697
___
___
Python-bugs-list
Changes by Aaron Meurer asmeu...@gmail.com:
--
nosy: +Aaron.Meurer
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16482
___
___
Python-bugs-list
Changes by Aaron Meurer asmeu...@gmail.com:
--
nosy: +Aaron.Meurer
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18199
___
___
Python-bugs-list
Changes by Aaron Meurer asmeu...@gmail.com:
--
nosy: +Aaron.Meurer
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23476
___
___
Python-bugs-list
Aaron Hill added the comment:
I've fixed the formatting issues.
--
Added file:
http://bugs.python.org/file37510/mock-open-allow-binary-data-fix-formatting.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23004
Aaron Hill added the comment:
I've fixed the issues you pointed out.
Is there a better way than uploading a new patch file to make changes?
--
Added file:
http://bugs.python.org/file37458/mock-open-allow-binary-without-coerce-fixup.patch
___
Python
Aaron Hill added the comment:
Thanks, I've fixed that. Not sure why I thought decoding and re-encoding would
work with any binary data.
I've also updated one of the tests to use non-utf8-decodeable binary data, to
prevent a future regression.
--
Added file:
http://bugs.python.org
Aaron Hill added the comment:
I've created a new patch, which addresses the problem. Your example now
currently returns [b'foo\n', b'bar\n']
--
Added file:
http://bugs.python.org/file37440/mock-open-allow-binary-data-updated.patch
___
Python
Aaron Hill added the comment:
I've created a patch that fixes this, and added an accompanying unit test
(which fails without the change).
--
keywords: +patch
nosy: +Aaron1011
Added file: http://bugs.python.org/file37435/mock-open-allow-binary-data.patch
Aaron added the comment:
Python 3.3.0, Windows 7, both 64 bit.
Has it been resolved with the newer version, then?
On Mon, Nov 3, 2014 at 11:15 PM, Zachary Ware rep...@bugs.python.org
wrote:
Zachary Ware added the comment:
Aaron, what version of Python are you using on what version
New submission from Aaron Klish:
Implicit string literal concatenation where
string1 string2
becomes
string1string2
should be a language syntax error - not a feature.
This creates a silent error whenever someone builds a list of strings and
forgets a comma.
I can't think of any good reason
Aaron Hill added the comment:
Awesome! Thanks!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18216
___
___
Python-bugs-list mailing list
Aaron Hill added the comment:
Is there anything that needs to be changed?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18216
___
___
Python
New submission from Aaron:
When using os.path.isfile() and os.path.exists() in a while loop under certain
conditions, os.path.isfile() returns True for paths that do not actually exist.
Conditions:
The folder C:\Users\EAARHOS\Desktop\Python Review exists, as do the files
C:\Users\EAARHOS
Changes by Aaron hosfor...@gmail.com:
--
title: os.path.isfile os.path.exists but in while loop - os.path.isfile
os.path.exists bug in while loop
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22719
Aaron added the comment:
Interesting. It continues to reuse the last one's stats once the path is no
longer valid.
bak_path = rC:\Users\EAARHOS\Desktop\Python Review\baseExcel.py
print(os.stat(bak_path))
nt.stat_result(st_mode=33206, st_ino=8162774324652726, st_dev=0,
st_nlink=1, st_uid=0
Aaron added the comment:
If I use a separate temp variable, the bug doesn't show, but if I use the
same variable, even with + instead of +=, it still happens.
bak_path = rC:\Users\EAARHOS\Desktop\Python Review\baseExcel.py
print(os.stat(bak_path))
nt.stat_result(st_mode=33206, st_ino
New submission from Aaron Myles Landwehr:
If I execute the following code, the file descriptor for CONOUT$ has a fileno
!= 1. With CONIN$ the fileno != 0. Similar code in another language such as
perl produces the desired results.
sys.stdout.close();
sys.stdout = open(CONOUT$, w
Aaron Myles Landwehr added the comment:
Yeah, it is windows specific. The problem is that if you open conout$ and the
descriptor isn't 1, the buffer doesn't flush normally so the console won't
display anything unless you manually flush it.
Now, why would you want to redirect STDOUT
Aaron Myles Landwehr added the comment:
Note, I just read eryksun's response. That does indeed fix the issues without
API changes.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22673
Aaron Hill added the comment:
Does anyone have any thoughts about throwing a warning for an unexpected minor
revision?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18216
Aaron Hill added the comment:
Okay, then. I'll just leave it out.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18216
___
___
Python-bugs-list
Changes by Aaron Hill aa1ron...@gmail.com:
Added file: http://bugs.python.org/file36957/gettext-mo-fix-minor-version.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18216
Changes by Aaron Hill aa1ron...@gmail.com:
Removed file:
http://bugs.python.org/file36957/gettext-mo-fix-minor-version.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18216
Changes by Aaron Hill aa1ron...@gmail.com:
Added file: http://bugs.python.org/file36958/gettext-mo-fixup.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18216
Aaron Hill added the comment:
I've added a second patch, which properly distinguishes between major and minor
revisions, and updates the docs to account for the new behavior.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org
Changes by Aaron Meurer asmeu...@gmail.com:
--
nosy: +Aaron.Meurer
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14102
___
___
Python-bugs-list
Aaron Meurer added the comment:
The OP describes how to get the original code. Anyway, the issue was definitely
fixed.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14537
Aaron Meurer added the comment:
Or do you mean the code in CPython doesn't exist any more?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14537
Aaron Hill added the comment:
In order to fix this, I think ParseResult needs to have two additional fields,
indicating with an empty prefix or query string are used.
Both ParseResult.fragment and ParseResult.query omit the leading '#' or '?'
from their value. This makes it impossible
Aaron Hill added the comment:
That sounds good. Should a warning be thrown for an unexpected minor revision?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18216
Changes by Aaron Hill aa1ron...@gmail.com:
--
keywords: +patch
nosy: +Aaron1011
Added file: http://bugs.python.org/file36828/gettext-mo-version.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18216
Aaron Meurer added the comment:
The issue is that that the Anaconda gcc on Windows is a bat file, so it can't
find it. Another fix would be to use find_executable. This is because Anaconda
has patched find_executalbe (which it also would be good to get backported)
diff --git Lib/distutils
Changes by Aaron Meurer asmeu...@gmail.com:
--
nosy: +Aaron.Meurer
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22200
___
___
Python-bugs-list
New submission from Aaron Brady:
Hi, I asked about the inconsistency of the RuntimeError being raised when
mutating a container while iterating over it here [1], set and dict iteration
on Aug 16, 2012.
[1] http://www.gossamer-threads.com/lists/python/python/1004659
I posted a patch on the ML
New submission from Aaron Hill:
The last sentence in the explanation of the TCP echo client currently reads:
At run_until_complete() exit, the loop is no more running, so there is no need
to stop the loop in case of an error.
The grammar should be improved to something like ...the loop
Aaron Swan added the comment:
At any rate, it is a bit of a nuisance that files remain present when the
intent was to move them.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21876
New submission from Aaron Swan:
On Linux Red Hat os.rename(src,dst) does nothing when src and dst files are
hard-linked.
It seems like the expected behavior would be the removal of the src file. This
would be in keeping with the documentation that states: On Unix, if dst exists
and is a file
Aaron Swan added the comment:
Although using the mv command *does* remove the src file on red hat linux, I
can accept that the POSIX requirement that the source *must* be removed might
not apply if source is the same as the destination file.
It would be nice if the behavior was consistent
Changes by Aaron Meurer asmeu...@gmail.com:
--
nosy: +Aaron.Meurer
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14373
___
___
Python-bugs-list
Changes by Aaron Meurer asmeu...@gmail.com:
--
nosy: +Aaron.Meurer
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21821
___
___
Python-bugs-list
Aaron Briel added the comment:
I had a rouge compiled python file named email.pyc. My apologies.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21290
New submission from Aaron Briel:
I see an error when attempting to import the email package on a mac running
Python 2.7.6rc1 (v2.7.6rc1:4913d0e9be30+, Oct 27 2013, 20:52:11) . This does
not occur on another system running Python 2.7.3 (default, Mar 25 2013,
15:56:58)
[GCC 4.4.7 20120313
Aaron Meurer added the comment:
Nowhere at https://docs.python.org/3.5/library/time.html#time.strftime is it
indicated that %z behaves differently on different platforms. What it *does*
say is
%z Time zone offset indicating a positive or negative time difference from
UTC/GMT of the form
Aaron Meurer added the comment:
I also just noticed that the %z entry in the table wasn't added until the
Python 3.3 docs, although it apparently works at least in OS X in Python 2.7 (I
can't test Windows right now). Was it supposed to be one of the additional
directives supported on certain
Aaron Meurer added the comment:
The docs could be much more clear about this in my opinion.
--
nosy: +Aaron.Meurer
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20010
New submission from Aaron Meurer:
I hope it's OK to report documentation issues on this tracker. Reading
http://docs.python.org/3.4/library/argparse.html#prog I had to do a double
take. The documentation states, By default, ArgumentParser objects uses
sys.argv[0] to determine how to display
Aaron Meurer added the comment:
The next sentence further confuses things, This default is almost always
desirable because it will make the help messages match how the program was
invoked on the command line. It makes it sound like it really did intend to
use sys.argv[0] literally
Changes by Aaron Iles aaron.i...@gmail.com:
--
nosy: +aliles
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16500
___
___
Python-bugs-list mailing
Aaron Oakley added the comment:
From memory, the use case at the time was using a custom TreeBuilder sub-class
fed into a builtin XMLParser object. The code would construct a builder
separately and keep a reference to it around. The builder would delegate calls
to start(), data(), end
Aaron Iles added the comment:
My +1 is for the callback based approach. The brevity of the search loop for
finding the innermost function is (in my opinion at least) non-obvious, relying
on for loops not having their own scope as it does.
If a generator based API was adopted instead, I
Changes by Aaron Meurer asmeu...@gmail.com:
--
nosy: +Aaron.Meurer
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12944
___
___
Python-bugs-list
Changes by Aaron Meurer asmeu...@gmail.com:
--
nosy: +Aaron.Meurer
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13340
___
___
Python-bugs-list
Aaron Gallagher added the comment:
https://pypi.python.org/pypi/cykeccak/ is what I've written to do this, for
reference.
Honestly I hope that the Keccak sponge is directly exposed in openssl (or any
other SHA-3 implementation) because of its utility beyond SHA-3. If the source
of some
101 - 200 of 320 matches
Mail list logo