New submission from Guillaume Desforges :
## Description
Libraries such as oscrypto will use `ctypes.utils.find_library` to look for
libraries, which in turns uses ``.
However, on Linux, if the system does not have the objdump command, the
function fails silently.
https://github.com/python
Guillaume added the comment:
Hi Eric,
I'm not aware of a practical problem caused by this.
This was discovered via fuzzing. I reported it because the unexpected error
suggest an internal issue within the pickle library.
Just before reporting this, I browsed the bug tracker and noti
Guillaume added the comment:
Updated Components. I believe pickle fit in the Library category.
Note this was discovered with python 3.8.5
--
components: +Library (Lib) -Argument Clinic
___
Python tracker
<https://bugs.python.org/issue41
New submission from Guillaume :
pickle.load() raises a criptic SystemError with malformed input, whereas I
would have expected an UnpicklingError.
"SystemError: deallocated bytearray object has exported buffers"
Because pickle is not meant for use on untrusted input, this likely
New submission from Guillaume Gauvrit :
I am currently refactoring code and use the EmailMessage api
to build message.
I encountered weird behavior while building an email.
The `as_string()` method is fixing the `make_alternative` method.
So, to me their is two bug here: a `as_string` method
New submission from Guillaume Dominici :
The super proxy does not seem to forward call to .__str__() when the call
occurs via str() function.
It may be an expected behavior, but it looks unexpected to me.
Minimal reproduction (tested on Python 3.6, but I believe may newer versions
have
New submission from Guillaume Ayoub :
urlopen includes query strings in the filename with "file"-scheme URLs.
>>> from urllib.request import urlopen
>>> urlopen('file:///tmp/test')
>
>>> urlopen('file:///tmp/test?q')
Tracebac
Guillaume Perrault-Archambault added the comment:
A friend of mine has suggested a fix that seems to work for now (upgrade numpy
from 1.14.3 to 1.14.5). This makes no sense at all but it does seem to work for
now. I have a strong suspicion that this is just masking the problem and that
it
Guillaume Perrault-Archambault added the comment:
Hi Victor and Yang,
Thanks for your fast replies.
I did initially think it could be a torch issue. Indeed, I have an
equivalent numpy testcase that does not deadlock. However, the fact that it
gets stuck inside a multiprocessing wait
New submission from Guillaume Perrault-Archambault :
The simple code attached causes a deadlock in Linux.
Problem is I have to slightly muck around with it depending on the distro and
python version to get it to deadlock.
On the cluster I use the most (python 3.6.3, CentOS Linux release
Change by Guillaume :
--
keywords: +patch
pull_requests: +6702
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue29427>
___
___
Python-
Guillaume Carre added the comment:
Yes these were pretty large zip 30 to 60Gb with thousands of small files in
them I've fixed locally on our servers and we've been happy even after
accepting similar sized files from linux machine.
I'm also quite surprised about this not be
Guillaume Carre added the comment:
Hi,
In my case the zip file was created from windows 7 context menu (send to)
Regards,
Guillaume
On Mon, Mar 12, 2018 at 5:08 AM, Thomas Kluyver
wrote:
>
> Thomas Kluyver added the comment:
>
> I found source code for some other projects handl
Guillaume Boily added the comment:
As pointed here: https://github.com/testing-cabal/mock/issues/353,
this issue is related to the method assert_has_calls or probably any calls that
use the method _call_matcher to match calls. Given that you mock a class and
spec it, since we always bind to
New submission from Guillaume Aldebert :
noticed on windows10, 3.6.3-64 and 3.7.0a2-64:
using this test.py file:
#!/usr/bin/env python3
print('hello\n', end='', flush=True)
and running it in unbuffered mode:
C:\Dev>py -u test.py
hello
Traceback (most recent call last):
Guillaume Sanchez added the comment:
> I don't think unicodedata is the right place
I do agree with that. A new module sounds good, would it be a problem if that
module would contain very few functions at first?
> Can we mark this as having a Provisional API to give us time to de
Guillaume Sanchez added the comment:
I have a few criticism to do against that proto-PEP
http://mail.python.org/pipermail/python-dev/2001-July/015938.html
In particular, the fact that all those functions return an index prevents any
state keeping.
That's a problem because:
> next_(
Guillaume Sanchez added the comment:
Thanks for your consideration. I'm currently fixing what's been asked in the
reviews.
> But it would be useful to provide also word and sentence iterators.
I'll gladly do that as well!
> I think emitting a pair (pos, substring) would
Guillaume Sanchez added the comment:
Hi,
Are you guys still interested? I haven't heard from you in a while
--
___
Python tracker
<http://bugs.python.org/is
Guillaume Sanchez added the comment:
Hello Steven!
Thanks for your reactivity!
unicodedata.grapheme_cluster_break() takes a unicode code point as an argument
and return its GraphemeBreakProperty as a string. Possible values are listed
here: http://www.unicode.org/reports/tr29/#CR
help
Guillaume Sanchez added the comment:
Hello,
I come from bugs.python.org/issue30717 . I have a pending PR that needs review
( https://github.com/python/cpython/pull/2673 ) adding a function that breaks
unicode strings into grapheme clusters (aka what one would intuitively call "a
char
Guillaume Sanchez added the comment:
Hello,
I implemented unicodedata.break_graphemes() that returns an iterators that
spits consecutive graphemes.
This is a "test" implementation meant to see what doesn't fits Python's style
and design, to discuss naming and implementa
Guillaume Sanchez added the comment:
Hello to all of you, sorry for the delay. Been busy.
I added the base code needed to built the grapheme cluster break algorithm. We
now have the GraphemeBreakProperty available via
unicodedata.grapheme_cluster_break()
Can you check that the implementation
Guillaume Sanchez added the comment:
Thanks for all those interesting cases you brought here! I didn't think of that
at all!
I'm using the word "grapheme" as per the definition given in UAX TR29 which is
*not* language/locale dependant [1].
This annex is very specific and
Guillaume Sanchez added the comment:
Obviously, I'm talking about str.center() but all functions needing a count of
graphemes are then not totally correct.
I can fix that and add the corresponding function, or an iterator over
graphemes, or whatever seems
New submission from Guillaume Sanchez:
"a⃑".center(width=5, fillchar=".")
produces
'..a⃑.' instead of '..a⃑..'
The reason is that "a⃑" is composed of two code points (2 UCS4 chars), one 'a'
and one combining code point "above
Guillaume Boudreau added the comment:
Any chance this could get reviewed and merged soon? I got hit by a similar
issue (see #29445) where the server, which I don't control, sends me invalid
HTTP headers, and the prevents all the headers that follow it to not be parsed.
The latest att
Guillaume Boudreau added the comment:
Yes, indeed. The latest patch in 24363 resolves this issue.
Sorry for the duplicate.
--
___
Python tracker
<http://bugs.python.org/issue29
New submission from Guillaume Boudreau:
Tested using urllib3 1.20
```
>>> import urllib3
>>> http = urllib3.PoolManager()
>>> r = http.request('GET',
>>> 'https://online.chasecanada.ca/ChaseCanada_Consumer/Login.do')
>>> r.stat
New submission from Guillaume Pasquet (Etenil):
This issue was originally reported on Fedora's Bugzilla:
https://bugzilla.redhat.com/show_bug.cgi?id=1391280
Description of problem:
After switching the monetary locale to en_GB, python then raises an exception
when calling locale.local
Guillaume Chorn added the comment:
If it's true that our ability to accurately deep-copy mutable args makes fixing
this behavior impossible, we should at the very least update the official
unittest.mock documentation to warn users that testing for mock calls with
mutable arguments i
New submission from Guillaume Chorn:
In the unittest.mock library, when a Mock object stores the calls made on it in
its `mock_calls` attribute, it appears to store references to the call
arguments instead of the actual values of the call arguments. In cases where
call args are mutable types
New submission from Guillaume DAVY:
Around line 1455 in setup.py the "libraries" variable is assigned but
seems to be ignored when the Extension object for multiprocessing
is created. This leads to a linking error on my system : "undefined symbol:
clock_gettime"
-
Guillaume added the comment:
Do you mean http://bugs.python.org/issue14894 ?
--
___
Python tracker
<http://bugs.python.org/issue23348>
___
___
Python-bugs-list m
New submission from Guillaume:
$ python2.7 -c "from distutils.version import LooseVersion as V; print
V('3.16.0-0.bpo.4-amd64') > V('3.16-0.bpo.2-amd64')"
False
$ python3.4 -c "from distutils.version import LooseVersion as V;
print(V('3.1
Guillaume Matte added the comment:
It does still cause a Fatal Error in debug build as PyThreadState_GET() error
out if _PyThreadState_Current is NULL
--
nosy: +flex.plexico
___
Python tracker
<http://bugs.python.org/issue17
New submission from Guillaume Carre:
I've got a zip file with a Zip64 end of central directory locator in which:
- total number of disks =
- number of the disk with the start of the zip64 end of central directory =
According to the test line 176 in zipfile.py this fails:
if d
Changes by Guillaume Gelin :
--
nosy: +ramnes
___
Python tracker
<http://bugs.python.org/issue18795>
___
___
Python-bugs-list mailing list
Unsubscribe:
Guillaume Lebourgeois added the comment:
"Also, the usual way to decode by using the .decode method."
The original bug happened using requests library, so I have no leverage on the
used method for decoding.
But if you used the "replace" mode with your methodology, you wo
Guillaume Lebourgeois added the comment:
My fault, bad paste. Should have written :
>>> content = b'+1911\' rel=\'stylesheet\' type=\'text/css\' />\n>> rel="alternate" type="application/rss+xml'
>>> codecs.utf
New submission from Guillaume Lebourgeois:
After the fetch of a webpage with a wrongly declared encoding, the use of
codecs module for a conversion crashes.
The issue is reproducible this way :
>>> content = b"+1911\' rel=\'stylesheet\' type=\'text
Guillaume P added the comment:
Here is a proposed patch to the documentation.
--
keywords: +patch
nosy: +guillaumep
Added file: http://bugs.python.org/file27866/13424.patch
___
Python tracker
<http://bugs.python.org/issue13
New submission from Guillaume :
In the logging module documentation, nothing tells the user how to undo or
reset a call to logging.disable(lvl). From reading the code (python 2.6
version) it seem the correct way to undo disable(lvl) is to call disable(0),
but I think calling disable(NOTSET
Guillaume Bouchard added the comment:
> str always falls back to the repr; in general str(obj) should always return
> some value, otherwise the assumptions of a *lot* of Python code would be
> broken.
Perhaps it may raises a warning ?
ie, the only reason encoding exists i
New submission from Guillaume Bouchard :
The docstring associated with str() says:
str(string[, encoding[, errors]]) -> str
Create a new string object from the given encoded string.
encoding defaults to the current default string encoding.
errors can be 'strict', 'r
Guillaume Delcourt-Petetin added the comment:
Nope.
2009/8/21 Amaury Forgeot d'Arc
>
> Amaury Forgeot d'Arc added the comment:
>
> Does it happen if you build python from a directory with no accented
> letters?
>
> ---
New submission from Guillaume Delcourt-Petetin :
Just what it says on the label :
[...]
Traceback (most recent call last):
File "./Lib/test/regrtest.py", line 618, in runtest_inner
indirect_test()
File
"/home/Pif/Téléchargement/Python-3.1.1/Python-3.1.1/Lib/
Changes by Guillaume Desmottes :
--
nosy: +gdesmott
___
Python tracker
<http://bugs.python.org/issue1194378>
___
___
Python-bugs-list mailing list
Unsubscribe:
Guillaume Desmottes added the comment:
Actually, this bug is present when you try to connect to any URL
containing an IP6 and a port.
So, we have the same problem when using, for example:
http = httplib.HTTPConnection('[2a01:8790:16d:0:218:de87:164:8745]:')
New submission from Guillaume Desmottes :
To reproduce:
- Launch a HTTP server listening on an Inet6 socket on, say, port
- Try to connect using the IPv6 loopback:
http = httplib.HTTPConnection('[::1]:')
http.request('GET', '/foo')
r = http.getresponse(
New submission from Guillaume Coffin <[EMAIL PROTECTED]>:
In idle, the function idle_formatwarning_subproc overrides
warnings.formatwarning, however the latter in Python 2.6 is called from
warnings._show_warning with an additional "line" argument:
line 29, in _show_wa
New submission from Guillaume Knispel <[EMAIL PROTECTED]>:
Some 3rd party tracers rely on frame.f_globals["__name__"] to be set to
the module name that contains the code currently executed.
frame.f_globals["__name__"] is not defined when some code has been
generated w
New submission from Guillaume Nourry-Marquis:
The httplib file wasn'T supporting a timeout feature which was essential
for my load testing application I built. In order to do that, I had to
append a parameter to the connect function, which takes a socket timeout
value integer in se
New submission from Guillaume Girard:
On win32, the following code:
import sys
sys.path.append('../bar/')
import bar
where the file bar.py is present in ../bar/ will return an import error
"No module named bar". Remove the trailing slash and the bar.py is
imported corre
54 matches
Mail list logo