Changes by matteo :
--
nosy: +matteo
___
Python tracker
<http://bugs.python.org/issue25084>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.pyth
New submission from Matteo Bertini <[EMAIL PROTECTED]>:
Playing with PyInstaller I have found that the final part of
_elementtree.c:
Index: Modules/_elementtree.c
===
--- Modules/_elementtree.c (revisione 59540)
+++ M
Matteo Bertini <[EMAIL PROTECTED]> added the comment:
I'd like to suggest to rise the priority of this bug.
Till this bus is around, no way using any module using subprocess.Popen
form a PyQt app (and I suppose PyGtk and wxPython too).
--
nosy:
Matteo Bertini <[EMAIL PROTECTED]> added the comment:
Upgrade subprocess.py patch to 25-maint r65475
(apply cleanly with http://bugs.python.org/issue2113 fixed)
--
keywords: +patch
Added file:
http://bugs.python.org/file11511/subprocess-eintr-safety-25maint-r65475
Matteo Bertini <[EMAIL PROTECTED]> added the comment:
I have the same error as in msg74221
RuntimeError: tk.h version (8.4) doesn't match libtk.a version (8.5)
Some workaround not involving a full rebuild?
--
nosy: +naufraghi
___
Pyt
Matteo Bertini <[EMAIL PROTECTED]> added the comment:
Factorized try-except code, merged r65475 from 25-maint.
Protetect std[in|out|err] read and write too.
Added file:
http://bugs.python.org/file11818/subprocess-retry-on-EINTR-std-in-out-er
Matteo Bertini <[EMAIL PROTECTED]> added the comment:
Ups, forgot a _no_intr around select.select
Index: subprocess.py
===
--- subprocess.py (revisione 19645)
+++ subprocess.py (copia locale)
@@ -1178,7 +
Matteo Bertini <[EMAIL PROTECTED]> added the comment:
I confirm this issue, some handy workaround available?
--
nosy: +naufraghi
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.pytho
Matteo Bertini <[EMAIL PROTECTED]> added the comment:
The solution I found is:
LINKFORSHARED = -u _PyMac_Error -framework Python
as in the Apple included Python Makefile
and
LDFLAGS += -F$(PYTHONFRAMEWORKPREFIX)
that makes linker use the right framework (not sure, but works with
Mac
Matteo Bertini <[EMAIL PROTECTED]> added the comment:
I can add that providing the option:
-mmacosx-version-min=10.4
or setting the anv var
MACOSX_DEPLOYMENT_TARGET=10.4
is it possible to build an extension in MacPython.org too
(without that option there was a problem with some 10.
Matteo Bertini added the comment:
Python 2.5.3 is near but the I think the fix in
http://svn.python.org/view?rev=65475&view=rev
is not enough, there are a lot of other places where EINTR can cause and
error.
--
versions: +Python 2.5.3
___
Py
Matteo Bertini added the comment:
Please have a look at the proposed patch:
http://bugs.python.org/file11511/subprocess-eintr-safety-25maint-
r65475.patch
the list is more or less the patch itself.
___
Python tracker
<http://bugs.python.org/issue1068
Changes by Matteo Bertini :
Removed file:
http://bugs.python.org/file11818/subprocess-retry-on-EINTR-std-in-out-err.diff
___
Python tracker
<http://bugs.python.org/issue1068
Changes by Matteo Bertini :
Removed file:
http://bugs.python.org/file11511/subprocess-eintr-safety-25maint-r65475.patch
___
Python tracker
<http://bugs.python.org/issue1068
Matteo Bertini added the comment:
no EINTR patch upgraded to 25-maint r65475 that protects:
*) all direct calls
*) all returned fd
I hope :P
Added file:
http://bugs.python.org/file12438/no-EINTR-subprocess.py-25-maint-r65475.patch
___
Python tracker
New submission from Matteo Dell'Amico :
I use itertools.pairwise all the time and I wonder if the same happens to
others. I'm thinking that others may be in the same situation, and having this
simple recipe already included in the library would be definitely more
convenient than co
Matteo Dell'Amico added the comment:
Sorry for taking so long to answer, I didn't see notifications somehow.
Raymond, my use case is in general something that happens when I'm doing
analytics on sequences of events (e.g., URLs visited by a browser) or paths in
a graph. I lo
New submission from Matteo Bertucci :
Hello!
The current documentation for random.shuffle reads:
> The optional argument random is a 0-argument function returning a random
> float in [0.0, 1.0); by default, this is the function random().
I believe the range here should use matching s
Change by Matteo Bertucci :
--
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.org/issue43653>
___
___
Python-bugs-list
Matteo Bertucci added the comment:
Oh I see, I was used to seeing open intervals using ]a, b[. All good then!
--
___
Python tracker
<https://bugs.python.org/issue43
New submission from Matteo Bertucci :
Sphinx generates a quite useful inventory file, listing all the different
symbols available inside the documentation. You can find the docs.python.org
inventory over at https://docs.python.org/objects.inv. The syntax of this file
can be found here https
Change by Matteo Bertucci :
--
keywords: +patch
nosy: +Akarys
nosy_count: 4.0 -> 5.0
pull_requests: +19485
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/20184
___
Python tracker
<https://bugs.python.org/i
Matteo Dell'Amico added the comment:
Personally, I'd find a maxheap in the standard library helpful, and a quick
Google search tells me I'm not alone.
I generally have to deal with numeric values, so I have these choices:
- ugly code (e.g., `minus_distance, elem = heappop(he
Matteo Bertini added the comment:
Bumped in this bug yesterday, sadly a script working (by chance) in Python2
doesn't work in Python3 because of this bug.
--
nosy: +naufraghi
___
Python tracker
<http://bugs.python.org/is
New submission from Matteo Parrucci:
RFC 3986 (http://www.ietf.org/rfc/rfc3986.txt) says:
For consistency, percent-encoded octets in the ranges of ALPHA
(%41-%5A and %61-%7A), DIGIT (%30-%39), hyphen (%2D), period (%2E),
underscore (%5F), or tilde (%7E) should not be created by URI
producers
New submission from Matteo Cafasso:
This patch allows the pool initializer function to return the initialized
values. The returned values will be passed to the called function as first
positional argument.
Previously the common pattern was to store the initialized objects into global
Matteo Cafasso added the comment:
I agree with your point, I've probably made my considerations too quickly.
The consideration was based on the fact that returning any value previously was
a misuse (without consequences) of the initializer itself.
Now the misuse would be exposed by th
Matteo Cafasso added the comment:
On 07/10/13 13:32, Richard Oudkerk wrote:
> Richard Oudkerk added the comment:
>
> I think "misuse" is an exageration. Various functions change some state and
> return a value that is usually ignored, e.g. os.umask(), signal.signal(
Matteo Cafasso added the comment:
On 09/10/13 22:59, Richard Oudkerk wrote:
> Yes. But my point was that somebody might have used such a function as the
> initializer argument. The proposed change would break a program which does
>
> with Pool(initializer=os.nice, initargs=(
Changes by Matteo Bertini :
--
nosy: +naufraghi
___
Python tracker
<http://bugs.python.org/issue7111>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Matteo Bertini :
--
title: core dump when stderr is moved -> stdout closed
___
Python tracker
<http://bugs.python.org/issue7111>
___
___
Python-
Matteo Bertini added the comment:
sorry, title restored!
--
title: stdout closed -> core dump when stderr is moved
___
Python tracker
<http://bugs.python.org/iss
Changes by Matteo Bertini :
--
nosy: +naufraghi
type: -> behavior
___
Python tracker
<http://bugs.python.org/issue1488934>
___
___
Python-bugs-list mai
Changes by Matteo Bertini :
--
nosy: +naufraghi
___
Python tracker
<http://bugs.python.org/issue1596>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Matteo Dell'Amico :
I feel that the "pairwise" recipe could be slightly more elegant if "for
elem in b: break" became a simpler next(b) (or b.next() for Python 2.x).
It is also more natural to modify the recipes to suit one's needs (e.g.,
re
Matteo Dell'Amico added the comment:
Georg, you're right, there's a StopIteration to catch. My thinko was
mistaking the function for a generator where the exception propagation
would have done the right thing. The amended version now becomes
next(b)
for x, y in zip(a, b): yield
New submission from Matteo Dell'Amico :
The str.count (http://docs.python.org/dev/py3k/library/stdtypes.html)
documentation does not report that it returns the number of
*non-overlapping* instances. For example, I expected 'aaa'.count('aa')
to be 2 and not 1. Compare th
Matteo Dell'Amico added the comment:
great Raymond! :)
___
Python tracker
<http://bugs.python.org/issue5350>
___
___
Python-bugs-list mailing list
Unsubsc
New submission from Matteo Dell'Amico :
The current MutableSet.__iand__ implementation calls self.discard while
iterating on self. This creates strange problems while implementing
MutableSet with simple choices. For example, consider the attached file
which implements set by delegating eith
Matteo Dell'Amico added the comment:
I suggest solving the problem by changing the implementation to:
def __iand__(self, c):
self -= self - c:
or to
def __iand__(self, c):
for item in self - c:
self.discard(item)
--
___
P
New submission from Matteo Bertini :
(the patch is old, I forwarded it to Fredrik but I forgot to open the bug)
Playing with PyInstaller I have found that the final part of _elementtree.c:
Index: Modules/_elementtree.c
Matteo Bertini added the comment:
Ups, I duplicated myself... issue3475
--
status: open -> closed
___
Python tracker
<http://bugs.python.org/issue5779>
___
_
New submission from Matteo Dell'Amico :
Is there a way to define an abstract classmethod? The two obvious ways
don't seem to work properly.
Python 3.0.1+ (r301:69556, Apr 15 2009, 17:25:52)
[GCC 4.3.3] on linux2
Type "help", "copyright", "credits" or &q
New submission from Matteo Vescovi :
Hi,
It seems like distutils passes an invalid "-Wstrict-prototypes" flag when
compiling a C++ extension module on Linux (tested on Debian lenny and sid).
running build
running build_py
creating build
creating build/lib.linux-i686-2.6
copying
Matteo Bertini added the comment:
I'm back on this issue with a minimal patch, and a longer motivation.
Distutils does not support Visual C++ for Python compiler, but it could, with a
one-line patch.
The proposed workaround is to use `setuptools`. But, we are not alone in this
World,
New submission from Matteo Cafasso:
The following code snippet:
--
#include
#include
int main()
{
char *broken_string[8];
char broken_char = 4294967252;
sprintf(broken_string, "%c", broken_char);
PyUnicode_FromString(bro
Changes by Matteo Dell'Amico :
--
nosy: +della
___
Python tracker
<http://bugs.python.org/issue24068>
___
___
Python-bugs-list mailing list
Unsubscr
Mauro Matteo Cascella added the comment:
Hello,
CVE-2020-26116 has been requested/assigned for this flaw via MITRE form:
https://cveform.mitre.org/
I suggest mentioning it in the related vulnerability page:
https://python-security.readthedocs.io/vuln/http-header-injection-method.html
Also
48 matches
Mail list logo