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 module
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 s
Change by Luis E. :
--
components: -Documentation
___
Python tracker
<https://bugs.python.org/issue40025>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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_unti
Luis Alejandro Martínez Faneyth added the comment:
Thanks Christian for the suggestion and Matthias.
--
___
Python tracker
<https://bugs.python.org/issue37
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 pyth
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:
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
Luis Muñoz added the comment:
My bad.
Sorry for the inconvenience.
--
___
Python tracker
<https://bugs.python.org/issue36483>
___
___
Python-bugs-list mailin
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
New submission from Luis Conejo-Alpizar :
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 exist.
For Windows systems
Luis Pedro Coelho 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 >=1TB. Normally, swa
Changes by José Luis Lafuente :
--
nosy: +José.Luis.Lafuente
___
Python tracker
<http://bugs.python.org/issue21258>
___
___
Python-bugs-list mailing list
Unsub
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
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 th
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
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 and
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&qu
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
<http://bugs.python.org/issue20
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
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
New submission from Juan Luis Boya García:
Sometimes developers need to write text to stdout, and it's nice to have on the
fly Unicode to UTF-8 conversion (or what matches the platform), but sometimes
they also need to output binary blobs, like text encoded in other codifications
tha
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
Luis Marsano 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
Luis Marsano 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
<http://bugs.python.
Changes by Miguel Luis :
--
nosy: +mluis
___
Python tracker
<http://bugs.python.org/issue10141>
___
___
Python-bugs-list mailing list
Unsubscribe:
Jose-Luis Fernandez-Barros 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])
--
New submission from Jose-Luis Fernandez-Barros :
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'
...
>>&
José Luis Cáceres 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 a second correction and
30 matches
Mail list logo