[issue45576] Cannot import modules from Zip64 files

2021-10-22 Thread Luis Franca
New submission from Luis Franca : I've tried to import a module from a fat jar file and got a ModuleNotFoundError: No module named ... error. I checked that the jar file had more than 65k files and was created using Zip64. When I unzip the file, Python is capable of importing the modules. I

[issue44191] Getting an ImportError DLL load failed while importing _ssl

2021-05-20 Thread Luis González
New submission from Luis González : Good morning everyone. First of all, I would like apologize for my poor english. I'm a very newby programming in python. I'm getting an ImportError DLL load failed while importing _ssl. Can't find _ssl.pyd, from my EXE file created by de sentence "P

[issue40025] enum: _generate_next_value_ is not called if its definition occurs after calls to auto()

2020-03-20 Thread Luis E.
Change by Luis E. : -- components: -Documentation ___ Python tracker <https://bugs.python.org/issue40025> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40025] enum: _generate_next_value_ is not called if its definition occurs after calls to auto()

2020-03-20 Thread Luis E.
New submission from Luis E. : I ran into this issue when attempting to add a custom _generate_next_value_ method to an existing Enum. Adding the method definition to the bottom of the class causes it to not be called at all: from enum import Enum, auto class E(Enum): A = auto

[issue38260] asyncio.run documentation does not mention its return value

2019-09-23 Thread Luis E.
New submission from Luis E. : The documentation for asyncio.run (https://docs.python.org/3/library/asyncio-task.html#asyncio.run) does not mention the function's return value or lack of one. Looking at the source, its clear it returns the passed coroutine's value via loop.run_until_complete

[issue37577] ModuleNotFoundError: No module named '_sysconfigdata__linux_x86_64-linux-gnu'

2019-07-16 Thread Luis Alejandro Martínez Faneyth
Luis Alejandro Martínez Faneyth added the comment: Thanks Christian for the suggestion and Matthias. -- ___ Python tracker <https://bugs.python.org/issue37

[issue37577] ModuleNotFoundError: No module named '_sysconfigdata__linux_x86_64-linux-gnu'

2019-07-12 Thread Luis Alejandro Martínez Faneyth
Luis Alejandro Martínez Faneyth added the comment: New information on this: python3-distutils for 3.8 exists on Debian (experimental) but python3 (which is kind of a meta-package) for 3.8 doesn't exist. It depends on python3.8 or python3.7, resulting in the installation on python3.7

[issue37577] ModuleNotFoundError: No module named '_sysconfigdata__linux_x86_64-linux-gnu'

2019-07-12 Thread Luis Alejandro Martínez Faneyth
New submission from Luis Alejandro Martínez Faneyth : Hello everyone, I've been building some minimal python docker images for a while and a few days ago an error popped out in my CI when building python 3.8 on debian sid. The error happens when trying to install pip with the usual: curl

[issue36647] TextTestRunner doesn't honour "buffer" argument

2019-04-17 Thread José Luis Segura Lucas
New submission from José Luis Segura Lucas : When using "buffer = True" in a TextTestRunner, the test result behaviour doesn't change at all. This is because TextTestRunner.stream is initialised using a decorator (_WritelnDecorator). When "buffer" is passed, the T

[issue36483] Missing line in documentation example

2019-03-30 Thread Luis Muñoz
Luis Muñoz added the comment: My bad. Sorry for the inconvenience. -- ___ Python tracker <https://bugs.python.org/issue36483> ___ ___ Python-bugs-list mailin

[issue36483] Missing line in documentation example

2019-03-30 Thread Luis Muñoz
New submission from Luis Muñoz : Hi, https://docs.python.org/3/tutorial/controlflow.html#break-and-continue-statements-and-else-clauses-on-loops The example is missing a break at the end of the else statement. First time reporting here. If there is an error in formating or anything else

[issue33105] os.isfile returns false on Windows when file path is longer than 260 characters

2018-03-19 Thread Luis Conejo-Alpizar
New submission from Luis Conejo-Alpizar <luisco...@gmail.com>: Windows has a maximum path length limitation of 260 characters. This limitation, however, can be bypassed in the scenario described below. When this occurs, os.isfile() will return false, even when the affected file does

[issue32846] Deletion of large sets of strings is extra slow

2018-02-17 Thread Luis Pedro Coelho
Luis Pedro Coelho <l...@luispedro.org> added the comment: I think some of this conversation is going off-topic, but there is no disk-swapping in my case. I realize ours is not a typical setup, but our normal machines have 256GB of RAM and the "big memory" compute nodes are

[issue21258] Add __iter__ support for mock_open

2015-12-14 Thread José Luis Lafuente
Changes by José Luis Lafuente <jlesquem...@gmail.com>: -- nosy: +José.Luis.Lafuente ___ Python tracker <rep...@bugs.python.org> <http://bugs.python

[issue23979] Multiprocessing Pool.map pickles arguments passed to workers

2015-04-21 Thread Luis
Luis added the comment: Thanks for information and explanations. The option of writing a tweaked serialization mechanism in Queue for Pool and implement a sharedmem sounds like fun, not sure if the pure-copy-on-write of forking can be achieved tho, it would be nice to know if it is actually

[issue23979] Multiprocessing Pool.map pickles arguments passed to workers

2015-04-17 Thread Luis
Luis added the comment: Thanks for answer, although I still think I haven't made myself fully understood here, allow me to paraphrase: ...You need some means of transferring objects between processes, and pickling is the Python standard serialization method Yes, but the question that stands

[issue23979] Multiprocessing Pool.map pickles arguments passed to workers

2015-04-16 Thread Luis
New submission from Luis: Hi, I've seen an odd behavior for multiprocessing Pool in Linux/MacOS: - import multiprocessing as mp from sys import getsizeof import numpy as np def f_test(x): print('process has received argument %s' % x ) r = x[:100] # return

[issue23230] Bug parsing integers with zero padding

2015-01-13 Thread Luis G.F
New submission from Luis G.F: Python 3.4 interpreter fail to parse a integer that has zero padding, whereas python 2.7 works properly. Python 2.7.6 (default, Mar 22 2014, 22:59:56) [GCC 4.8.2] on linux2 Type help, copyright, credits or license for more information. int(001) 1 Python 3.4.0

[issue23230] Bug parsing integers with zero padding

2015-01-13 Thread Luis G.F
Luis G.F added the comment: Thanks for the response, but in my case, 001 is not an octal literal, is a base-10 zero padded comming from the parsing of a ip string like 111.000.222.333 , where numbers are all integers in base-10. The solution for parsing that seams to cast 000 as string

[issue20908] Memory leak in Reg2Py()

2014-03-13 Thread Luis G.F
New submission from Luis G.F: A memory leak can happend in Reg2Py() loosing the reference to str pointer. See file PC/winreg.c +947 -- components: Extension Modules, Windows messages: 213384 nosy: luisgf priority: normal severity: normal status: open title: Memory leak in Reg2Py

[issue20908] Memory leak in Reg2Py()

2014-03-13 Thread Luis G.F
Luis G.F added the comment: Attach of patch for the 3.3.5 version. -- keywords: +patch versions: +Python 3.3 Added file: http://bugs.python.org/file34394/winreg_leak_v33.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org

[issue18512] sys.stdout.write does not allow bytes in Python 3.x

2013-08-18 Thread Juan Luis Boya García
Juan Luis Boya García added the comment: Sorry for the late response, GMail's SPAM filter ate the replies. The main issue is sys.stdout being opened as text instead of binary. This fact is stated in the docs. http://docs.python.org/3/library/sys.html#sys.stdout In any case, there are some

[issue17297] Issue with return in recursive functions

2013-02-25 Thread Luis López Lázaro
New submission from Luis López Lázaro: Sorry if I am raising something naive as perhaps I am doing something wrong as I am both an amateur programmer and a newcomer to Python, but version 3.3 appears to have an issue with the return statement in the setting of recursive functions. When

[issue13756] Python3.2.2 make fail on cygwin

2012-02-02 Thread Luis Marsano
Luis Marsano luis.mars...@gmail.com added the comment: Got it to build. Unpack the Python (3.2.2) source package and apply this patch to get a package that builds on Cygwin (1.7.9), eg: xz -d patch.xz tar -xJf Python-3.2.2.tar.xz patch -p0 -i patch Changes: (1) The Makefile, makesetup

[issue13756] Python3.2.2 make fail on cygwin

2012-01-16 Thread Luis Marsano
Luis Marsano luis.mars...@gmail.com added the comment: The README file implies support: [⋮] Build Instructions -- On Unix, Linux, BSD, OSX, and Cygwin: [⋮] -- components: +Build -Installation nosy: +Luis.Marsano ___ Python tracker

[issue10141] SocketCan support

2011-07-19 Thread Miguel Luis
Changes by Miguel Luis mkx...@gmail.com: -- nosy: +mluis ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10141 ___ ___ Python-bugs-list mailing list

[issue10863] zlib.compress() fails with string

2011-01-08 Thread Jose-Luis Fernandez-Barros
Jose-Luis Fernandez-Barros jlfbar...@gmail.com added the comment: Thanks for your answer. Error remains at development The Python Standard Library, secction 12. Data Compression and Archiving http://docs.python.org/dev/py3k/library/zlib.html#module-zlib zlib.compress(string[, level

[issue10863] zlib.compress() fails with string

2011-01-07 Thread Jose-Luis Fernandez-Barros
New submission from Jose-Luis Fernandez-Barros jlfbar...@gmail.com: On The Python Tutorial, section 10.9. Data Compression http://docs.python.org/py3k/tutorial/stdlib.html#data-compression import zlib s = 'witch which has which witches wrist watch' ... t = zlib.compress(s) Traceback (most

[issue5259] smtplib is broken in Python3

2009-05-23 Thread José Luis Cáceres
José Luis Cáceres j...@telefonica.net added the comment: There is a similar problem that I found with encode_cram_md5 in smtplib.py, SMTP.login() method. I used the solution proposed by miwa, both for PLAIN and CRAM MD5 authentication. Additionally, for the last one, I had to introduce