Andrea Giudiceandrea added the comment:
I submitted more than a month ago a PR that adds support for Unicode Path Extra
Field in ZipFile.
The PR https://github.com/python/cpython/pull/23736 is awaiting a review in
order to be merged
Change by Andrea Giudiceandrea :
--
keywords: +patch
pull_requests: +22595
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/23736
___
Python tracker
<https://bugs.python.org/issu
Change by Andrea Giudiceandrea :
--
nosy: +andreaerdna
___
Python tracker
<https://bugs.python.org/issue41928>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Andrea Tuccia :
I'm noticing some floating point representation precision issues that occurs on
all versions and platforms:
>>> 277*0.1
27.703
>>> 1.2-1.0
0.19996
>>> import numpy as np
>>> np.double(277*0.1)
Change by Andrea Bergonzo :
--
nosy: +andybergon
___
Python tracker
<https://bugs.python.org/issue38246>
___
___
Python-bugs-list mailing list
Unsubscribe:
Andrea added the comment:
Actually, the virtual_info appears to be a function within the theme, that does
the following
function virtualenv_info {
[ $VIRTUAL_ENV ] && echo '('%F{blue}`basename $VIRTUAL_ENV`%f') '
}
So, eventually the problems is in the funct
Andrea added the comment:
Hi,
Apologies for the delays in returning to you.
I have been using ZSH and Oh My ZSH on top. The prompt variable, which I have
customised, looks like the following:
%
$(virtualenv_info)$fg[magenta]%}%n%{$reset_color%}@%{$fg[yellow]%}$(box_name)%{$reset_color
Andrea added the comment:
Operative system is OS X 10.15.3 (19D76) Catalina
Python 3.7.4 installed via HomeBrew
If I do this python -m venv ciao --prompt NewOne by the time I activate the
environment, the prompt looks like (ciao) andreamoro@MacBookAir:~/Python
Am I misunderstanding the
New submission from Andrea :
In creating a new virtual environment, the help suggest a --prompt argument to
specify a different name by the time the environment is active.
https://docs.python.org/3/library/venv.html
The argument is apparently ignored as the folder name always appears instead
Change by Andrea Moro :
--
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.org/issue37255>
___
___
Python-bugs-list
Andrea Moro added the comment:
I have completely missed it. Thanks for flagging it.
--
___
Python tracker
<https://bugs.python.org/issue37255>
___
___
Python-bug
New submission from Andrea Moro :
Assuming the given path contains a '~' character, it would be nice to have a
function to expand the given path so any further calls to an .exists doesn't
fail.
A prototype of the function could be
# Expand the home path in *ix based
andrea crotti added the comment:
It has been a long time but if it's still useful sure.
I can see some tests have been added in commit
863b1e4d0e95036bca4e97c1b8b2ca72c19790fb
but if these are still relevant I'm happy to go ahead.
--
Andrea Celletti added the comment:
I am currently working on a patch for this.
When done can I try pushing this in 3.7 rather than 3.8?
It is not much of an enhancement but rather fixing the code that raises an
error for a perfectly valid PCM wave file (bugfix).
--
versions
New submission from Andrea Celletti :
The wave.Wave_read class currently supports 8, 16, 24, and 32 bit PCM files.
Wave files are only supported if the wFormatTag in the format chunk matches the
flag WAVE_FORMAT_PCM, which is correct but incomplete for 24 bit files.
According to the
Changes by Andrea Giovannucci :
--
resolution: -> not a bug
___
Python tracker
<http://bugs.python.org/issue29744>
___
___
Python-bugs-list mailing list
Un
New submission from Andrea Giovannucci:
The previous version 2.7.12 was returning a memmap file when slicing with a
list of integers, now it returns an array. This affects the behaviour of
several functions in my package. Is that an aware choice or a side product of
some other change
Andrea Grandi added the comment:
What about using OPENSSL_init_crypto(OPENSSL_INIT_LOAD_CONFIG, NULL) instead of
OPENSSL_config()?
--
nosy: +Andrea Grandi
___
Python tracker
<http://bugs.python.org/issue28
Andrea De Pasquale added the comment:
To provide additional context, Microsoft has patched his Outlook client to be
RFC2046-compliant. More details below:
http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-3366
https://technet.microsoft.com/library/security/MS16-107
http
Andrea De Pasquale added the comment:
Yes you are right, my patch produces an RFC2046-compliant output and also
registers the "not-unique-boundary" defect.
--
___
Python tracker
<http://bugs.python.o
Andrea De Pasquale added the comment:
Ok thanks, please kindly let me know.
--
___
Python tracker
<http://bugs.python.org/issue27010>
___
___
Python-bugs-list m
Andrea De Pasquale added the comment:
Hello,
did you have a chance to look at my patch?
--
___
Python tracker
<http://bugs.python.org/issue27010>
___
___
Pytho
Andrea De Pasquale added the comment:
How about the following patch? If it's different from what you had in mind,
please let me know.
--
keywords: +patch
Added file: http://bugs.python.org/file43016/issue27010-notuniqueboundary.patch
___
P
Andrea De Pasquale added the comment:
Isn't this covered by the following test case?
Lib/test/test_email/test_defect_handling.py:18
--
___
Python tracker
<http://bugs.python.org/is
Changes by Andrea De Pasquale :
--
nosy: +adepasquale
___
Python tracker
<http://bugs.python.org/issue27010>
___
___
Python-bugs-list mailing list
Unsubscribe:
Andrea Torre added the comment:
Ubuntu 12.04 64-bit
Python 2.7.3 (virtualenv)
Hi, just adding a few info, hope not completely useless, that seem related to
the issue. I got the same message when running nosetests against my source.
It's an application using Tkinter as frontend. All tests
Changes by Andrea Corbellini :
--
versions: +Python 3.1, Python 3.2, Python 3.3, Python 3.4
___
Python tracker
<http://bugs.python.org/issue18454>
___
___
Pytho
New submission from Andrea Corbellini:
I'd really appreciate if `venv` could create environments without symlinks.
Working on many Python projects, each one with different requirements, I prefer
to keep everything I need in a single virtualenv directory, rather than two
(one fo
Andrea Griffini added the comment:
The error cannot be reproduced on 2.7, 3.3 or 3.4 because the problem has been
fixed with 1e5e497ee33b (issue 17614)
--
nosy: +ag6502
___
Python tracker
<http://bugs.python.org/issue16
Andrea Griffini added the comment:
Even porting to the new wonderful 'attr' field is not going to make the code
correct... (the exception could be bubbling up from code down ten frames about
a different unrelated attribute that happens to have the same name in a
different object). B
Andrea Griffini added the comment:
On Mon, Aug 20, 2012 at 12:27 AM, Antoine Pitrou wrote:
> Indeed I don't like the introduction of COMPILER_STACK_FRAME_SCALE.
> Re-using the existing infrastructure would be much easier to maintain.
> The default recursion limit is 1000, which sh
Andrea Griffini added the comment:
I missed all the macrology present :-( ... the following is a patch that takes
it into account (also defines a VISIT_QUIT macro to make more visible the exit
points). The handling has been also extended to visit_stmt because the macros
are shared.
Of course
andrea bergamini added the comment:
Ok guys, ticket closed, but I'm still confused: I'm not a Python expert, I've
understood that math is a sort of wrapper of C math.h or something like this,
but:
- I can't find any reason in using math.pow if I can get errors like the on
andrea bergamini added the comment:
Well, from a library I'm used to expect a good result or an exception. Not a
value that differs from the correct of one unit! I agree with Antoine, the doc
should warn about this behavior. I've lost a lot of time before discovering my
applica
andrea bergamini added the comment:
Ok, but math.pow IMPO has to be aligned to pow and built-in pow (**), otherwise
this kind of "inaccuracies" can compromise the application behavior. I was
using this funcion in a cryptographic mechanisms, and this issue resulted in a
failure.
New submission from andrea bergamini :
math.pow(43, 10) gives the wrong result: 21611482313284248.0
Instead, the build-in function 43**10 and pow(43, 10) give the correct result:
21611482313284249L.
This bug has been seen on ActivePython 2.5.1.1. Sorry no tests on recent
versions
Andrea Griffini added the comment:
Closing as it was a partial implementation of a bad idea with questionable
gains.
--
resolution: -> invalid
status: open -> closed
___
Python tracker
<http://bugs.python.org/iss
Andrea Griffini added the comment:
I sent an email because I was not able to log in. The patch has been submitted
to the correct issue (6765).
--
resolution: -> duplicate
status: open -> closed
___
Python tracker
<http://bugs.p
Andrea Griffini added the comment:
This is a fix for this issue.
The solution was to add two fields (recursion_depth and
recursion_limit) to the symbol table object and just increment and
check the depth in symtable_visit_expr raising a RuntimeError in case
the limit is exceeded.
The test
New submission from Andrea Griffini :
This is a fix for issue #5765: stack overflow evaluating eval("()" * 3)
The solution was to add two fields (recursion_depth and
recursion_limit) to the symbol table object and just increment and
check the depth in symtable_visit_expr
Changes by andrea crotti :
--
resolution: invalid ->
___
Python tracker
<http://bugs.python.org/issue13991>
___
___
Python-bugs-list mailing list
Unsubscri
andrea crotti added the comment:
I reopen the ticket because I'm still not convinced..
I tried to substitute the setuptools namespace declaration with the more
standard python:
from pkgutil import extend_path
__path__ = extend_path(__path__, __name__)
It behaves exactly in the sam
andrea crotti added the comment:
About the binary file, in theory I agree with you, but that archive contains 5
or 6 subdirectories with a few almost empty files.
Of course I can write a script that recreates that situation, but does it make
sense when I can just tar and untar it?
And what
andrea crotti added the comment:
There is nothing binary in the archive, just a simple example of namespace
packages, which was the minimal example that I could create to make things fail.
I use the standard pkg_resources way to do things:
__import__('pkg_resources').declare
New submission from andrea crotti :
I am not really sure that it is a bug, but for me it's at least not the
expected behaviour.
In short supposing I have two namespace packages ab and ac (as seen in the tar
file), this works perfectly:
import sys
from os import path
sys.path.a
andrea crotti added the comment:
It's really hard to understand true, and if should not go in the patch in
general of course.
The sense was that the only test I added is trivial, but I haven't produced
something better yet.
And ok I will remove the docstrings, I was actually d
New submission from andrea crotti :
This patch increases test coverage for pstats.py from 25 to 36%.
It's my first proposed patch so sorry in advance if there are problems. Much
more can be done for pstats.py (which is also not much commented) but I want to
get some feedback on this
New submission from Andrea Trasatti :
We found a problem with SSL certificates, when they are larger than 1024 bits
and you need to check Alternative Subject Names.
In our case we have a 2048 bit certificate, issued by Verisign for the domain
developer.nokia.com. The certificate also covers
Andrea Colangelo added the comment:
I can confirm this bug should be addressed some way. On my high-traffic server,
keeping GC enabled causes performance issues due to this bug, and disabling it
causes an out-of-memory within hours.
--
nosy: +warp10
Changes by Andrea Corbellini :
--
nosy: +candrea
___
Python tracker
<http://bugs.python.org/issue812369>
___
___
Python-bugs-list mailing list
Unsubscribe:
Andrea Corbellini added the comment:
This is an unwanted an unexpected behavior, so this is a bug by definition. If
it's not easy to fix, it's a different matter.
However here's a proposed solution:
* for the __mro__: instead of using a tuple, use a new object that inherits
Andrea Corbellini added the comment:
Having a __del__ inside a metaclass is strange, I know... but probably there
are situations where you need to do so. Why shouldn't a developer be able to
add a __del__ to a metaclass without creating uncollectable objects? I don't
think this b
Andrea Corbellini added the comment:
Disabling the GC can increase performances (although not significantly). But
this bug is the cause of other problems too: what if the metaclass contains a
__del__() method?
An another issue that I've found is that debugging is harder. I always t
New submission from Andrea Corbellini :
Creating a class (either using the 'class' statement or using type()) creates a
circular reference.
I've attached a script that simply demonstrates this. The problem is caused by
the fact that MyClass.__dict__['__dict__'
Andrea Corbellini added the comment:
Well, writing every time 'from X import Y' looks to me uncomfortable.
But of course what I'm asking is not essential :-)
___
Python tracker
<http://bugs.py
Changes by Andrea Corbellini :
--
type: -> feature request
___
Python tracker
<http://bugs.python.org/issue5082>
___
___
Python-bugs-list mailing list
Un
New submission from Andrea Corbellini :
Most of the Python frameworks have some functions and classes that are
widely used. For example a 'log.debug' function will be used in almost
all modules. It is inconvenient to write 'import log' every time.
It would be useful to hav
Andrea Griffini added the comment:
I thougt it was a bug because when calling close() handlers are removed
from some data structure (the global dictionary and the global list) but
they're left inside the loggers they're attached to. Now I understand
that this is a responsibility of wh
New submission from Andrea Griffini:
I'm not a user of idle, but when asked about a strange behaviour of the
logging module I digged a bit and found what I think is indeed a problem
in the module itself.
The problem is visible if the module is used from idle (or any other IDE
that keeps the
59 matches
Mail list logo