Change by Felix Fontein :
--
type: -> crash
___
Python tracker
<https://bugs.python.org/issue46080>
___
___
Python-bugs-list mailing list
Unsubscrib
Change by Felix Fontein :
--
keywords: +patch
pull_requests: +28333
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/30111
___
Python tracker
<https://bugs.python.org/issu
New submission from Felix Fontein :
When argparse.BooleanOptionalAction is used with default=argparse.SUPPRESS and
help is specified, trying to display --help results in a crash.
Reproducer:
import argparse
parser = argparse.ArgumentParser()
parser.add_argument('--test
Change by Felix C. Stegerman :
--
nosy: +obfusk
___
Python tracker
<https://bugs.python.org/issue37596>
___
___
Python-bugs-list mailing list
Unsubscribe:
Felix C. Stegerman added the comment:
https://github.com/obfusk/apksigcopier currently produces reproducible ZIP
files identical to those produced by apksigner using this code:
DATETIMEZERO = (1980, 0, 0, 0, 0, 0)
class ReproducibleZipInfo(zipfile.ZipInfo):
"""Repro
Felix C. Stegerman added the comment:
Hi! I've been working on reproducible builds for python-for-android [1,2,3].
Current issues with .pyc files are:
* .pyc files differ depending on whether Python was compiled w/ liblzma-dev
installed or not;
* many .pyc files include build paths;
*
Change by Felix C. Stegerman :
--
nosy: +obfusk
___
Python tracker
<https://bugs.python.org/issue29708>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Felix C. Stegerman :
--
nosy: +obfusk
___
Python tracker
<https://bugs.python.org/issue2824>
___
___
Python-bugs-list mailing list
Unsubscribe:
Felix C. Stegerman added the comment:
> The __getattr__ hack is not needed. You can reset the flags in a different,
> more straight forward way
As mentioned, ZipFile._open_to_write() will modify the ZipInfo's .external_attr
when it is set to 0.
> I just found another speci
Felix C. Stegerman added the comment:
> external_attr == 0 may cause issues with permissions.
That may be true in some scenarios, but not being able to set it to 0 means you
can't create identical files to those produced by other tools -- like those
used to generate APKs -- which do
Change by Felix C. Stegerman :
--
type: -> enhancement
___
Python tracker
<https://bugs.python.org/issue43547>
___
___
Python-bugs-list mailing list
Un
Change by Felix C. Stegerman :
--
components: +Library (Lib)
___
Python tracker
<https://bugs.python.org/issue43547>
___
___
Python-bugs-list mailing list
Unsub
Change by Felix C. Stegerman :
--
components: -IO, Library (Lib)
versions: -Python 3.6, Python 3.7, Python 3.8, Python 3.9
___
Python tracker
<https://bugs.python.org/issue43
Felix C. Stegerman added the comment:
I've closed the PR for now.
Using a carefully crafted ZipInfo object doesn't work because ZipFile modifies
its .external_attr when set to 0.
Using something like this quickly hacked together ZipInfo subclass does work:
class Zer
Felix C. Stegerman added the comment:
I've created a draft PR; RFC :)
Also:
* setting the date to (1980,0,0,0,0,0) already works;
* the main issue seems to be that external_attr cannot be 0 atm.
--
___
Python tracker
<https://bugs.py
Change by Felix C. Stegerman :
--
keywords: +patch
pull_requests: +23737
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/24979
___
Python tracker
<https://bugs.python.org/issu
Change by Felix C. Stegerman :
--
nosy: +obfusk
___
Python tracker
<https://bugs.python.org/issue43547>
___
___
Python-bugs-list mailing list
Unsubscribe:
Felix Yan added the comment:
It's Arch Linux x86_64 with system tcl/tk. It's build in a clean chroot for
packaging and always reproducible.
--
___
Python tracker
<https://bugs.python.o
New submission from Felix Yan :
==
FAIL: test_compound (tkinter.test.test_ttk.test_widgets.ButtonTest)
--
Traceback (most recent call last):
File
"/
Felix C. Stegerman added the comment:
> specified_attributes = True is also set in xml.dom.expatbuilder.
That's good to know and should perhaps be addressed as well.
> Should not it be set to true in the C implementation of ElementTree?
That would break existing code. Includi
Change by Felix C. Stegerman :
--
keywords: +patch
pull_requests: +21901
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/22987
___
Python tracker
<https://bugs.python.org/issu
New submission from Felix C. Stegerman :
I originally reported this as a bug in PyPy, but it turns out that CPython's C
implementation (_elementtree) behaves differently than the pure Python version
(b/c it sets specified_attributes = 1).
PyPy issue with example code:
Felix Yan added the comment:
I use this in Arch's packaging:
LC_CTYPE=en_US.UTF-8 xvfb-run -s "-screen 0 1920x1080x16 -ac +extension GLX" -a
-n "$servernum" \
"${srcdir}/Python-${pkgver}/python" -m test.regrtest -v -uall -x test_tk
(test_t
New submission from Felix Yan :
I am packaging Python for Arch and the test suite of Python 3.8.6 passes here
without these:
==
FAIL: test_multiple_roots
(test.test_tools.test_c_analyzer.test_common.test_files.IterFilesTests
New submission from Felix Yan :
I am packaging Python for Arch and the tests suite of Python 3.8.6 pass here
without this:
```
0:09:06 load avg: 0.87 [205/424] test_lib2to3
New submission from Felix Yan :
In my riscv64 build, test_thousand
(test.test_multiprocessing_forkserver.WithProcessesTestBarrier) always hangs on
some locking thing, and the compileall part during installation hangs the same
way. I am not sure if it's toolchain related or something
Felix Yan added the comment:
tkinter.TCL_VERSION: 8.6
tkinter.TK_VERSION: 8.6
tkinter.info_patchlevel: 8.6.10
It's always reproducible in either a real desktop or Xvfb with arbitrary
resolution etc as far as I have tested.
--
___
Python tr
New submission from Felix Yan :
test_from (tkinter.test.test_tkinter.test_widgets.ScaleTest) is currently
failing on Arch Linux, and at least another place:
https://python-build-standalone.readthedocs.io/en/latest/status.html
The error looks like
Change by Felix Yan :
--
pull_requests: +20631
status: pending -> open
pull_request: https://github.com/python/cpython/pull/21488
___
Python tracker
<https://bugs.python.org/issu
Felix Yan added the comment:
Yes, I am currently defining it manually as a workaround for building 3.8.4 in
Arch.
Also opened GH-21481 for this :)
--
___
Python tracker
<https://bugs.python.org/issue41
Change by Felix Yan :
--
keywords: +patch
pull_requests: +20624
stage: needs patch -> patch review
pull_request: https://github.com/python/cpython/pull/21481
___
Python tracker
<https://bugs.python.org/issu
New submission from Felix Yan :
In bpo-40874, mpdecimal.h in the vendored libmpdec has defines of UNUSED while
the standalone released version of mpdecimal 2.5.0 doesn't. This breaks
_decimal module build with system libmpdec due to UNUSED is undefined.
Errors are like:
cpython/Mo
Change by Felix Vollmer :
--
nosy: +Felix Vollmer
___
Python tracker
<https://bugs.python.org/issue34144>
___
___
Python-bugs-list mailing list
Unsubscribe:
Felix added the comment:
Thanks for the link! Interesting read.
I have to disagree with the statement that this is something that happens very
rarely. Just have a look at the mess on stackoverflow alone (these are only the
top results I got after a minute of googling):
https
New submission from Felix :
Hi there!
I hope this wasn't suggested before. I couldn't find any issues related to it.
The `get()` function on the dictionary object is such a convenient way for
retrieving items from a dict that might not exists. I always wondered why the
list objec
Changes by Felix Yan :
--
nosy: +felixonmars
___
Python tracker
<http://bugs.python.org/issue27650>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Felix Yan :
--
type: -> behavior
___
Python tracker
<http://bugs.python.org/issue25195>
___
___
Python-bugs-list mailing list
Unsubscrib
New submission from Felix Yan:
Since Python 3.5.0 mock.MagicMock() object seems not matched by mock.ANY. This
behavior looks weird and breaks tests of boto.
Minimized example:
In Python 3.4.3:
>>> from unittest import mock
>>> m = mock.MagicMock()
&g
New submission from Felix Yan:
The regex in test_gdb reads only one digit of gdb's minor version, which would
fail for gdb >= 7.10, and skip the test as 7.1 < 7.4.
Original commit: https://hg.python.org/cpython/rev/b71cda2f48c6#l1.9
Patch attached.
--
components:
Felix Kaiser added the comment:
So do I, but I can live with either way.
Can one of you merge one of these patches?
--
___
Python tracker
<http://bugs.python.org/issue24
Felix Yan added the comment:
btw, there seems to be a relevant failure in test_pathlib as well:
test test_pathlib failed -- Traceback (most recent call last):
File "/build/python/src/Python-3.5.0rc2/Lib/test/test_pathlib.py", line 2015,
in test_expanduser
self.assertEqual(p1.
Changes by Felix Yan :
--
title: FAIL: test_posixpath when $HOME=/ -> FAIL: test_expanduser when $HOME=/
___
Python tracker
<http://bugs.python.org/issu
Changes by Felix Yan :
--
title: FAIL: test_expanduser when $HOME=/ -> FAIL: test_posixpath when $HOME=/
___
Python tracker
<http://bugs.python.org/issu
New submission from Felix Yan:
test_expanduser in test.test_posixpath.PosixPathTest fails when the users $HOME
being exactly "/", after the patch in issue17809 was introduced.
test test_posixpath failed -- Traceback (most recent call last):
File "/build/python/src/Python-3.
Felix Kaiser added the comment:
I'm not sure - that'd be redundant, and I find it harder to read. It also
breaks for badly configured terminals where "("/")" are part of the
select-by-word character set (but thats a very minor issue -- users with
parentheses in
New submission from Felix Kaiser:
http.server: on startup, show host/port as URL
Old:
% python3 -m http.server
Serving HTTP on 0.0.0.0 port 8000 ...
New:
% ./python -m http.server
Serving http://0.0.0.0:8000/ ...
This is useful because (modern) terminals will auto-detect URLs and make
New submission from David Felix:
On longer documentation pages, the sidebar is scrolling out of view and in an
unexpected manner when the main page is scrolled. Seems to only affect 3.4
docs, but I'm not positive.
http://docs.python.org/3.4/whatsnew/3.4.html is a good example. Using Fi
Felix Crux added the comment:
Working with wolever on the process, generated the attached patch.
--
keywords: +patch
nosy: +felixc, wolever
Added file: http://bugs.python.org/file31263/18680.patch
___
Python tracker
<http://bugs.python.
New submission from Felix Matenaar:
We're getting the following exception in a custom testing framework using
sqlalchemy. Our process is running several days and the exception seems to
occurs unproducably during runtime, sometimes after a day and sometimes after a
couple of hours. The
Felix Steffenhagen added the comment:
The problem I have with the solution that is currently implemented is that
subprocess is waiting for the spawned child although the child is not running
anymore.
In my case this issue occured when invoking samba or the small sample daemon
(see attached
Felix Steffenhagen added the comment:
The behavior that the daemon is not closing stderr is intentional to reproduce
the issue. This problem occured to me when I was invoking the samba init script
on a Gentoo system.
Invoked from a bash, the initscript was terminating fine. But when I invoked
Changes by Felix Steffenhagen :
--
type: -> behavior
___
Python tracker
<http://bugs.python.org/issue13422>
___
___
Python-bugs-list mailing list
Unsubscri
New submission from Felix Steffenhagen :
subprocess.Popen.communicate() hangs for daemonized subprocesses that leave a
pipe open. The python caller, invoking the daemon subprocess, runs as long as
the daemon process. This happens on POSIX platforms with python 2.7 as well as
3.2.
Please
Felix Gröbert added the comment:
If the spec forbids control characters in headers, the module should
enforce that.
The most frequent example of header injection is the redirect-case: an
application is forwarding using the Location header to a user-supplied
URL.
http://google.com/codesearch
New submission from Felix Gröbert :
As noted by secur...@python.org's response I'm filing this bug here.
In wsgiref.headers.Headers it is possible to include headers which
contain a newline (i.e. \n or \r) either through add_header or
__init__. It is not uncommon that developers p
Changes by Felix Schwarz :
--
nosy: +Felix Schwarz
___
Python tracker
<http://bugs.python.org/issue2504>
___
___
Python-bugs-list mailing list
Unsubscribe:
Felix Laurie von Massenbach added the comment:
Ok, so I understand the issue, but why doesn't the set method simply convert to
a string?
>>> from ConfigParser import RawConfigParser
>>> from StringIO import StringIO
>>> parser = RawConfigParser()
>&g
Felix Laurie von Massenbach added the comment:
Perhaps I don't understand fully, but I am reading, for example, "option =
True" from a config file. When doing this getboolean raises:
AttributeError: 'bool' object has no attribute 'lower'
Is it intended that
Felix Laurie von Massenbach added the comment:
Oops, that was the broken first version. Let's try again:
class MyConfigParser(ConfigParser.RawConfigParser):
def getboolean(self, section, option):
result = self.get(section, option)
try:
trues = ["1"
New submission from Felix Laurie von Massenbach :
If the config file has a boolean formatted as either True or False, python
raises an attribute error when doing str.lower() on it. In my code I've worked
around this in the following way:
class MyConfigParser(ConfigParser.RawConfigP
Changes by Felix Schwarz :
--
versions: +Python 2.5, Python 2.6, Python 2.7, Python 3.0
___
Python tracker
<http://bugs.python.org/issue4142>
___
___
Python-bug
Changes by Felix Schwarz :
--
keywords: +patch
Added file: http://bugs.python.org/file13100/helo.patch
___
Python tracker
<http://bugs.python.org/issue4
Felix Schwarz added the comment:
I can confirm that this issue is still present in Python 2.5.2, 2.6.1
and 3.0.1.
The current behavior of smtplib is a clear violation of the SMTP
specification. The problem can be reproduced with code like that (stub,
pseudo code-like):
smtp = smtplib.SMTP
Felix Benner <[EMAIL PROTECTED]> added the comment:
The test uses StringIO. I don't understand the test enough to change
that. If I understand the WSGI spec correctly then it would be the test
that's wrong.
___
Python tracker <[EMAI
New submission from Felix Benner <[EMAIL PROTECTED]>:
wsgiref.handlers.py tries to send strings where bytes is necessary in
accordance with PEP333 the attached patch encodes everything with
ISO-8859-1.
Additionally the patch from Issue 3348 has to be applied.
--
components: L
Paul Felix added the comment:
Maybe not. With the addition of thread.stack_size([size]), it's fairly
easy to get around the problem by bumping up the stack size. It would be
nice if PyMarshal_ReadLastObjectFromFile didn't allocate a small file
buffer on the stack (think of the i
66 matches
Mail list logo