[issue38902] image/webp support in mimetypes

2021-10-06 Thread Leo Antunes
Change by Leo Antunes : -- nosy: +costela ___ Python tracker <https://bugs.python.org/issue38902> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue28874] test_logging fails and freezes

2020-10-08 Thread Leo kirotawa silva
Leo kirotawa silva added the comment: I'm facing similar issue with test_logging in python3.5.2-2ubuntu0~16.04.12. Test just get hangs and so, our builders kill the build process without a successful ending. [1/1] test_locale 1 test OK. [1/1] test_logging E: Build killed with signal TERM

[issue35074] source install [3.7.1] on debian jessie

2018-10-27 Thread Leo Li
Leo Li added the comment: Sure! Yes, Pls close it. -- ___ Python tracker <https://bugs.python.org/issue35074> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35074] source install [3.7.1] on debian jessie

2018-10-26 Thread Leo Li
Leo Li added the comment: I've tested 2 way to solve this: 1. disable --enable-optimizations option. the software can be compile and install successful. 2. upgrade gcc version to 8.2.0. docker ➜ bin gcc --version gcc (Debian 8.2.0-8) 8.2.0 Copyright (C) 2018 Free Software Foundation, Inc

[issue35074] source install [3.7.1] on debian jessie

2018-10-26 Thread Leo Li
New submission from Leo Li : Hi Team, I met the issue consistently on 3.7 and 3.7.1. The configure is well, but when the make will output error messges: step1: [ok] sudo ./configure --prefix=/opt/python3.71 --enable-optimizations step2: make [fail] if test $? -ne 0 ; then \ echo

[issue14156] argparse.FileType for '-' doesn't work for a mode of 'rb'

2018-09-08 Thread Leo Singer
Leo Singer added the comment: I just hit this bug. Would the proposed patch get any more attention if submitted as a pull request? -- nosy: +Leo Singer ___ Python tracker <https://bugs.python.org/issue14

[issue32746] More misspellings, mostly in source code.

2018-02-01 Thread Leo Arias
Change by Leo Arias <y...@elopio.net>: -- keywords: +patch pull_requests: +5323 stage: commit review -> patch review ___ Python tracker <rep...@bugs.python.org> <https://bugs.pyt

[issue30657] Unsafe arithmetic in PyString_DecodeEscape

2017-11-28 Thread Leo kirotawa silva
Leo kirotawa silva <kirot...@gmail.com> added the comment: I re-did the build here for python3.4 and couldn't reach the same test fail. So I'm assuming it was a false alarm. Said that, I believe the same patch that applies to py2.7 also applies to 3.4 and 3.5. I've build them using the

[issue30657] Unsafe arithmetic in PyString_DecodeEscape

2017-11-24 Thread Leo kirotawa silva
Leo kirotawa silva <kirot...@gmail.com> added the comment: Python 3.4 also has the similar code as 3.5, but applying the same patch tests for it results in test

[issue30657] Unsafe arithmetic in PyString_DecodeEscape

2017-11-23 Thread Leo kirotawa silva
Leo kirotawa silva <kirot...@gmail.com> added the comment: I couldn't reproduce using the poc, but seems python3.5 is also vulnerable to this bug. The code from py3.5 are quite similar to 2.7. In py3.5: Objects/bytesobject.c PyBytes_DecodeEscape -- nosy: +Leo kirotawa

[issue30958] Scripts folder is empty

2017-07-18 Thread Leo kerr
Leo kerr added the comment: Nvm turns out the modules in the folder were hidden for some reason. Thanks anyway. Sent from Mail for Windows 10 From: Ned Deily Sent: Wednesday, 19 July 2017 10:08 AM To: leo.kerr...@gmail.com Subject: [issue30958] Scripts folder is empty Ned Deily added

[issue30958] Scripts folder is empty

2017-07-18 Thread Leo kerr
New submission from Leo kerr: The Scripts folder is empty when i installed python. -- components: Installation messages: 298578 nosy: Onixiya priority: normal severity: normal status: open title: Scripts folder is empty type: performance versions: Python 3.6

[issue22563] namedtuple: raise an exception when the given class name would override an existing name

2014-10-06 Thread Leo
Leo added the comment: The idea was based on a misunderstanding of the typename argument. I had erroneously inferred that the namedtuple class object would be bound to some namespace whereas the only binding is achieved by the assignment to a local name which may be different from the typename

[issue22562] Singleton pattern for namedtuple

2014-10-06 Thread Leo
Leo added the comment: A use case for the singleton pattern arises when - field names are known only at runtime, and - you have a large number of instances with the same field names. An example is the storage of metadata for datasets when a hashable type is needed. I agree

[issue21072] Python docs and downloads not available for Egypt

2014-10-06 Thread Leo Butcher
Leo Butcher added the comment: Yes, all subdomains are working now for me -- status: pending - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21072

[issue22562] Singleton pattern for namedtuple

2014-10-05 Thread Leo
New submission from Leo: Each call of namedtuple will create a new class object even if an equal class, i.e. for the same fields has been created before. Applying the singleton pattern would be more efficient at least in two respects: * it would reduce the number of class objects. * checking

[issue22563] namedtuple: raise an exception when the given class name would override an existing name

2014-10-05 Thread Leo
New submission from Leo: The nametuple function creates classes dynamically. The caller must provide the class name thus overriding any existing object name. An overridden object may be garbage-collected or survive depending on its reference count. While this behavior is not new to Python, I

[issue21072] Python docs and downloads not available for Egypt

2014-05-26 Thread Leo Butcher
Leo Butcher added the comment: Still not working, they both timeout also the docs subdomain is the same On Mon, May 26, 2014 at 12:19 PM, Ezio Melotti rep...@bugs.python.orgwrote: Ezio Melotti added the comment: IIUC there was a similar issue from China, and on the old site we fixed

[issue21072] Python docs and downloads not available for Egypt

2014-03-26 Thread Leo Butcher
New submission from Leo Butcher: I can't seem to access docs.python.org, mail.python.org, or even legacy.python.org from my ISP in Egypt LinkDotNet the usual dynamic IP range is 41.130.xx.xx please tell me if you need any further info -- assignee: docs@python components: Documentation

[issue21072] Python docs and downloads not available for Egypt

2014-03-26 Thread Leo Butcher
Leo Butcher added the comment: Here is traceroute docs.python.org output traceroute to docs.python.org (82.94.164.162), 30 hops max, 60 byte packets 1 192.168.1.1 (192.168.1.1) 0.599 ms 0.955 ms 1.306 ms 2 * * * 3 172.18.1.157 (172.18.1.157) 10.235 ms 11.689 ms 12.875 ms 4

[issue21072] Python docs and downloads not available for Egypt

2014-03-26 Thread Leo Butcher
Leo Butcher added the comment: I tried different browsers/systems I can just get in with abroad VPN connection -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21072

[issue16662] load_tests not invoked in package/__init__.py

2013-05-28 Thread Leo Arias
Changes by Leo Arias y...@elopio.net: -- nosy: +elopio ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16662 ___ ___ Python-bugs-list mailing list

[issue16739] texttestresult should decorate the stream with _WritelnDecorator

2013-01-02 Thread Leo Arias
Leo Arias added the comment: What if we check if the stream has the writeln method? -- Added file: http://bugs.python.org/file28536/fix-16739-texttestresult_writeln-v2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16739

[issue16739] texttestresult should decorate the stream with _WritelnDecorator

2012-12-20 Thread Leo Arias
New submission from Leo Arias: Using the unittest's texttestresult with stdout and verbosity 2 will fail because that stream doesn't have a writeln method. File /usr/lib/python2.7/unittest/suite.py, line 108, in run test(result) File /usr/lib/python2.7/unittest/suite.py, line 70

[issue16739] texttestresult should decorate the stream with _WritelnDecorator

2012-12-20 Thread Leo Arias
Leo Arias added the comment: A test with a fix. I'm not sure if this is the way to go, because the stream in TextTestRunner will be decorated twice. -- keywords: +patch Added file: http://bugs.python.org/file28379/fix-16739-texttestresult_writeln.patch

[issue16476] Trailing spaces in pretty-printed JSON

2012-11-15 Thread Leo Liu
New submission from Leo Liu: python -mjson.tool some_file.json x.json x.json will have trailing white spaces. Also reported here: http://thread.gmane.org/gmane.comp.python.devel/135311 -- messages: 175607 nosy: leoliu priority: normal severity: normal status: open title: Trailing

[issue1043134] Add preferred extensions for MIME types

2011-09-07 Thread Leo Shklovskii
Leo Shklovskii l...@thermopylae.net added the comment: I'm running into a similar issue with this function. My bug is that get_type('foo.png') returns image/x-png. This occurs on windows because there are mappings to both image/png and image/x-png in the registry (as there should be, since

[issue10943] abitype: Need better support to port C extension modules to the stable C API

2011-01-19 Thread Leo
New submission from Leo fhaxbo...@googlemail.com: I tried to port the extension module at http://code.google.com/p/pyhyphen/source/browse/3.x/hnjmodule.c to the stable C API using abitype.py. I gave up after the following exceptions: - execption raised for missing PyVarObject_HEAD: this could

[issue10108] ExpatError not property wrapped

2010-10-14 Thread Leo Shklovskii
New submission from Leo Shklovskii l...@thermopylae.net: From my understanding of the documentation, the expected behavior is for xmlrpclib to raise an xmlrpclib.Fault wrapping the original error from whatever parser it chose to use if there's an error in parsing the response. If, however

[issue10108] ExpatError not property wrapped

2010-10-14 Thread Leo Shklovskii
Leo Shklovskii l...@thermopylae.net added the comment: Looking at the docs more closely, you're right, I'm not entirely sure what error should come out in that case but my main point with the bug is that the error should be an xmlrpclib error rather than one from the specific parser that its

[issue10108] ExpatError not property wrapped

2010-10-14 Thread Leo Shklovskii
Leo Shklovskii l...@thermopylae.net added the comment: I'm sorry, I would like to but I don't have the time in the near future. I'm running into this as a secondary symptom of a bigger issue (in our own setup, not in Python) that I'm troubleshooting

[issue8007] conhost.exe crashes when pasting 230 characters into python

2010-02-23 Thread Leo Shklovskii
New submission from Leo Shklovskii l...@thermopylae.net: I just upgraded to Windows 7, reinstalled all of my environment and am running into a completely crazy issue. The repro is: cmd.exe - python.exe - Paste in a string more than 230 chars. conhost.exe crashes and I get an error that ends

[issue8007] conhost.exe crashes when pasting 230 characters into python

2010-02-23 Thread Leo Shklovskii
Leo Shklovskii l...@thermopylae.net added the comment: The only serious tweaking I've done has been to disable cleartype and completely remove Segoe UI. Adobe Photoshop didn't react nicely to that; it is possible that there's something in conhost that's hardcoded to Segoe as well. I'm

[issue8007] conhost.exe crashes when pasting 230 characters into python

2010-02-23 Thread Leo Shklovskii
Leo Shklovskii l...@thermopylae.net added the comment: Ok, I've traced this down to the pyreadline package. Specifically 1.5 - http://pypi.python.org/pypi/pyreadline/1.5 - I really appreciate your help Brian and I'm sorry to have wasted your time. I'm filing a bug with the pyreadline

[issue7555] Wrong return value of isinstance() function

2009-12-21 Thread Leo Spidian
New submission from Leo Spidian zhangdongying1...@gmail.com: isinstance() function returns False while surpposed to return True tt.py = import ss class tt: def __init__(self, s): if not isinstance(s, ss.ss): raise Exception(s

[issue7555] Wrong return value of isinstance() function

2009-12-21 Thread Leo Spidian
Changes by Leo Spidian zhangdongying1...@gmail.com: Removed file: http://bugs.python.org/file15641/ss.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7555

[issue7555] Wrong return value of isinstance() function

2009-12-21 Thread Leo Spidian
Changes by Leo Spidian zhangdongying1...@gmail.com: Added file: http://bugs.python.org/file15642/ss.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7555

[issue7555] Wrong return value of isinstance() function

2009-12-21 Thread Leo Spidian
Changes by Leo Spidian zhangdongying1...@gmail.com: Added file: http://bugs.python.org/file15643/tt.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7555

[issue7555] Wrong return value of isinstance() function

2009-12-21 Thread Leo Spidian
Leo Spidian zhangdongying1...@gmail.com added the comment: Thank you very much! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7555

[issue7522] random.choice should accept a set as input

2009-12-17 Thread Leo
Leo dontsendleos...@gmail.com added the comment: Thanks for the suggestions random.sample(s, 1)[0] and x=next(iter(s)). A counterpoint: isn't this a classic example of where polymorphism enables a more elegant, simple, and clear (dare I say Pythonic) approach? The complexity of allowing

[issue7522] random.choice should accept a set as input

2009-12-15 Thread Leo
New submission from Leo dontsendleos...@gmail.com: The following code should just work: import random random.choice(set(range(5))) instead the output is TypeError: TypeError: 'set' object does not support indexing The algorithm in random.choice requires a sequence, but the semantics

[issue6494] xmlrpc client does not support HTTPS

2009-07-15 Thread Leo
New submission from Leo theli...@optusnet.com.au: I just downloaded and installed V3.1 on Ubuntu and get the following error. File /usr/local/lib/python3.1/xmlrpc/client.py, line 1183, in send_request your version of http.client doesn't support HTTPS) Thanks, Leo -- messages

[issue4017] Tkinter cannot find Tcl/Tk on Mac OS X

2008-12-19 Thread Leo M
Changes by Leo M leoofb...@gmail.com: -- nosy: -leoofborg ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4017 ___ ___ Python-bugs-list mailing

[issue4017] IDLE 2.6 broken on OSX (Leopard)

2008-10-08 Thread Leo M
Leo M [EMAIL PROTECTED] added the comment: Hello. First time here, beginner at Python. I have verified that the Google tip link in the previous to fix IDLE works for me. Post in question: ** [Kevin's post of 6.Oct, 02:58] You can avoid this problem by building Python yourself and putting

[issue2665] unable to launch IDLE on windows XP

2008-04-21 Thread Leo
New submission from Leo [EMAIL PROTECTED]: I recently upgraded from python 2.3 to 2.5. But idle doesn't launch anymore, either with right-clicking a .py program an doing edit with IDLE or with launching the idle.py file itself. When I launch idle with the command line, it gives the following

[issue2665] unable to launch IDLE on windows XP

2008-04-21 Thread Leo
Leo [EMAIL PROTECTED] added the comment: it's not buitlin but builtin of course. idle launches when I use the command line, with or without -n, but I'm still unable to lauch it normally (by the right click or by the windows menu (Démarrer/Programmes/Python25/idle)). Before, I used python 2.3

[issue2665] unable to launch IDLE on windows XP

2008-04-21 Thread Leo
Leo [EMAIL PROTECTED] added the comment: ok, deleting the contents of .idlerc seems to work fine. Thank you! __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2665 __ ___ Python