New submission from Alejandro Reimondo :
The py8.py file starts a S8 system, a Smalltalk system running on Python
runtime, I am actually developing (in Beta).
The system is running w/o problems on OSX systems, but crash (fast exit w/o any
information) when running on Windows.
The crash occurs
New submission from Alejandro Gonzalez :
I think the namedtuple documentation should mention that, for classes created
with it to be pickle-able, the typename argument must match the name of the
variable the class is being assigned to. Otherwise you get an error like this
Alejandro Gonzalez added the comment:
I see, that’s an interesting point. In that case, Serhiy’s approach is indeed
better.
PR 14166 seems stalled. I’d like to help if there’s anything left to do, if
possible :)
--
___
Python tracker
<ht
Alejandro Gonzalez added the comment:
Hello,
Could anyone take a look at the PR 14126 submitted?
Sorry for the trouble and thank you in advance.
--
___
Python tracker
<https://bugs.python.org/issue28
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:
Alejandro Gonzalez added the comment:
>It can be fixed in general if deduce __module__ in type.__call__() instead of
>type.__new__().
But wouldn't we have the same problem if a metaclass overrides type.__call__
instead?
Also, wouldn't that reset the __module__ value anyt
Alejandro Gonzalez added the comment:
>Getting the module name from the caller's frame is an expensive operation. It
>is safe to set __module__ to None. In such case the pickle module is able to
>find the proper module containing the definition of the class.
Wow, indeed it
Change by Alejandro Gonzalez :
--
keywords: +patch
pull_requests: +13973
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/14126
___
Python tracker
<https://bugs.python.org/issu
Alejandro Gonzalez added the comment:
>I think we can proceed with option A, but only if doesn't cause visible
>slow-down for creating ABCs (which is already slower that normal classes).
>TBH, I don't want to document A as "official" recipe (maybe however mention
Alejandro Gonzalez added the comment:
Hello, I would like to add further on this issue.
(I'm new to bpo. Please advise if this report could be better)
Issue
-
Pickling breaks when attempting to dump an instance of a class that was defined
by calling ABCMeta directly, becau
DAVID ALEJANDRO Pineda added the comment:
Hello Again.
The problem can be replicated in the same structure when call the
'functools.partial' feature
I wrote a simple example. It uses the asyncio and multiprocessing structure.
https://github.com/dpineiden/async_multiprocessing
DAVID ALEJANDRO Pineda added the comment:
Now
I try again with different ways to run a method with args, without args works
fine to insert in the executor.
I find there are big differences with file functools betwen versions 3.5.1 to
3.6.0.
Here a more simple example for test the functools
New submission from DAVID ALEJANDRO Pineda:
Hello.
I'm working in a real time data collector project. I'm using asyncio and
multiprocessing (run_in_executor).
In python 3.5 worked fine but in python 3.6 not, gave to me this error:
"Traceback (most recent call last):
File
New submission from Alejandro Soini:
Bad article usage in the following sentence from the WSGI section on HOWTO Use
Python in the web (https://docs.python.org/2/howto/webservers.html#wsgi) :
"Authentication is another a problem easily solved using existing middleware."
sugges
Alejandro MJ added the comment:
Thanks a lot for your help, as you suggested the problem was because of the
method set_tunnel. I've tested the code that you have posted and now works
perfectly.
I'll keep in mind this for future works. We can conclude that it's not really a
bu
Alejandro MJ added the comment:
I've wrote these sentences on my SUSE, python is installed on path:
/usr/local/pr/python
computer002:/usr/local/pr/python # patch -p1 --dry-run
<http://bugs.python.org/is
Alejandro MJ added the comment:
Thanks a lot for your help!
I've tested it in Linux, Python version 3.3.5 and the message obtained is this:
[404 Not Found]. The script is this one (changing of course the ip_address and
the proxy_url values):
import http.client, urllib.parse
Changes by Alejandro Mj :
--
nosy: -AlexMJ
___
Python tracker
<http://bugs.python.org/issue22041>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Alejandro MJ:
I'm trying this specific method with python, in order to use a different ip
source, to do a POST request:
import http.client, urllib.parse
data = urllib.parse.urlencode({'QLastname': 'DIAZ HERNANDEZ', 'QFirstname':
Alejandro added the comment:
Here you have make_install.log
Thanks
--
Added file: http://bugs.python.org/file35989/make_install.log
___
Python tracker
<http://bugs.python.org/issue21
Alejandro added the comment:
we have /usr/local/lib/python3.4/lib-dynload/_sqlite3.cpython-34m.so but we
didn't have it in /soft/pyt341/lib/python3.4/lib-dynload/
After copying it into /sofy/pyt341 the problem was solved!! ;)
/soft/pyt341/bin/python3 -c "import sqlite3;pri
Alejandro added the comment:
I've downloaded UBUNTU 12.04. I've compiled python3 and I got the same error.
Seleccionando el paquete sqlite3 previamente no seleccionado.
Desempaquetando sqlite3 (de .../sqlite3_3.7.9-2ubuntu1.1_i386.deb) ...
Procesando disparadores para man-db ...
Co
Alejandro added the comment:
Here you have (attached): make.log
Thanks!
--
Added file: http://bugs.python.org/file35920/make.log
___
Python tracker
<http://bugs.python.org/issue21
Alejandro added the comment:
Yes. We have these packages installed:
rpm -qa | grep sqlite
sqlite3-3.7.6.3-1.4.4.1
libsqlite3-0-3.7.6.3-1.4.4.1
sqlite3-devel-3.7.6.3-1.4.4.1
--
___
Python tracker
<http://bugs.python.org/issue21
New submission from Alejandro:
We have compile python 3.4.1 in Suse Linux Enterprise Server 11 SP2
We have compiled it using --prefix as args :
./configure --prefix=/soft/pyt341
make
make install
We check python has been properly installed:
/soft/pyt341/bin/python3 --version
Python 3.4.1
alejandro autalan added the comment:
Hello.
I tried 'tkinter_split.patch' patch against 3.3.2, but a fix for grid_info
function is also needed.
#test.py
import tkinter as tk
root = tk.Tk()
b = tk.Button(root, text='Button')
b.grid()
print(b.grid_info())
root.mainlo
Alejandro Rodas added the comment:
I have reviewed the patch, and apart from setting the promt, I think it would
be possible to set it at the beginning with the same approach:
def getprompt(self):
self.interp.runcommand(textwrap.dedent("""\
try:
Changes by Alejandro Rodas :
--
nosy: +alex.rodas
___
Python tracker
<http://bugs.python.org/issue15392>
___
___
Python-bugs-list mailing list
Unsubscribe:
Alejandro Rodas added the comment:
I have merged the two patches: Now it queries the font size as I did in the
original patch, and it also stores the position of the cursor based on Abhishek
Kumar's modification of ZoomFont.py.
--
Added file: http://bugs.python.org/file
Changes by Alejandro Rodas :
--
nosy: +alex.rodas
___
Python tracker
<http://bugs.python.org/issue3405>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Alejandro Rodas :
Added file: http://bugs.python.org/file30074/ZoomInOut.patch
___
Python tracker
<http://bugs.python.org/issue17642>
___
___
Python-bugs-list m
Alejandro Rodas added the comment:
Sorry, I submitted a patch which only works on Windows. This one has been
tested on Ubuntu too.
--
___
Python tracker
<http://bugs.python.org/issue17
Changes by Alejandro Rodas :
Removed file: http://bugs.python.org/file30053/ZoomInOut.patch
___
Python tracker
<http://bugs.python.org/issue17642>
___
___
Python-bug
Alejandro Rodas added the comment:
I have uploaded my patch as well, it doesn't make use of tkfont (just vanilla
Tkinter methods) and it works both in Python 2.7 and 3.4 without the need of
any import.
I think the main difference with Abhishek Kumar's version is that mine doe
Alejandro Rodas added the comment:
I have made a patch to zoom in and out with and
events, respectively. I'll upload it soon since the test suite is giving me an
error in test_multiprocessing, even before writing the patch.
I have taken a look at ZoomFont.py of IdleX and it also ha
Alejandro Marco Ramos added the comment:
In response to msg178860.
When use the module logging and in the definition of the format string appear
'%(funcName)s' the module crash.
(Extract):
File
"/Library/Python/2.6/site-packages/logging-0.4.9.6-py2.6.egg/logging/__init__.py&
Alejandro Marco Ramos added the comment:
is not related to 16778
--
___
Python tracker
<http://bugs.python.org/issue16844>
___
___
Python-bugs-list mailin
New submission from Alejandro Marco Ramos:
hi, when use the param 'funcName' in the logging module (version 0.4.9.6 for
python 2.6) the module crash. Researching in the code (__init__.py) i see that
the code for get the function name is in method '_log' in the class
New submission from alejandro david weil:
Add some 5% more code-coverage for imp module in tests.
--
components: Tests
files: imp_test_patch.diff
keywords: patch
messages: 175597
nosy: brett.cannon, tenuki
priority: normal
severity: normal
status: open
title: More code coverage for imp
Alejandro Javier Peralta Frías added the comment:
I think I can answer your last question. There are two quopri algorithms,
> one where spaces are allowed (message body) and one where they aren't
> (email headers).
>
> OK, thank
Changes by Alejandro Javier Peralta Frías :
--
nosy: +brett.cannon
___
Python tracker
<http://bugs.python.org/issue16473>
___
___
Python-bugs-list mailin
New submission from Alejandro Javier Peralta Frías:
New to python-dev; I grab a beginner tasks "increase test coverage" and I
decided to add coverage to this bit of code in the quopri module:
# quopri.py
L138while n > 0 and line[n-1:n] in b" \t\r":
L139
Alejandro Santos added the comment:
The call is also present on the older 3.1 and "dev" release of the docs:
http://docs.python.org/release/3.1.3/extending/extending.html#keyword-parameters-for-extension-functions
http://docs.python.org/release/3.1.3/extending/windows.html#a-cookboo
New submission from Alejandro Santos :
While the "Py_InitModule" does not exists on Py3k it is still mentioned on the
docs:
http://docs.python.org/py3k/extending/extending.html#keyword-parameters-for-extension-functions
http://docs.python.org/py3k/extending/windows.html#a-cookboo
New submission from alejandro david weil :
python 2.7 documentation:
file:///usr/share/doc/python-doc/html/library/stringio.html#StringIO.StringIO.close
(or: http://docs.python.org/library/stringio.html#StringIO.StringIO.close )
says:
"""StringIO.close()
Free the memory buffer
alejandro david weil added the comment:
Yes it is. I copied both versions but forgot to specify the second is in 2.7.
This is read in the current (2.7) documentation:
# from: http://docs.python.org/library/functions.html?highlight=xrange#xrange
islice(count(start, step), (stop-start+step-1
New submission from alejandro david weil :
Python's documentation includes 2 source codes for alternate xrange
implementations, which, at least in my tests, give unexpected results.
# from file:///usr/share/doc/python2.6-doc/html/library/functions.html#xrange
takewhile(lambda x:
Changes by Alejandro Santos :
--
nosy: +alejolp
___
Python tracker
<http://bugs.python.org/issue6845>
___
___
Python-bugs-list mailing list
Unsubscribe:
Alejandro Santos added the comment:
Nice, Thanks!
--
___
Python tracker
<http://bugs.python.org/issue6408>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Alejandro Santos :
The 2to3 tool shipped with Python 3.1 final doesn't handle correctly a
local package import (fixer fix_import). Test case:
$ find . -name '*.py'
./__init__.py
./a.py
./b/__init__.py
./b/m.py
$ 2to3 a.py
RefactoringTool: Skipping implici
Alejandro Santos added the comment:
Thanks!!
--
___
Python tracker
<http://bugs.python.org/issue6406>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Alejandro Santos :
Using the -j switch of the 2to3 tool shiped with Python 3.1 final i'm
getting:
Traceback (most recent call last):
File "/home/alejo/apps/local/bin/2to3", line 6, in
sys.exit(main("lib2to3.fixes"))
File "/home/alejo/ap
Alejandro Santos added the comment:
Thanks!
--
___
Python tracker
<http://bugs.python.org/issue6400>
___
___
Python-bugs-list mailing list
Unsubscribe:
Alejandro Santos added the comment:
Sorry. Yes, there is an "__init__.py" script on the same level as the
"commands.py". I forgot to mention it.
/mymodule/commands.py
/mymodule/a.py
/mymodule/__init__.py
This is the real repository:
http://selenic.com/repo/hg/file/b8
Alejandro added the comment:
The one included on Python 3.1-rc2.
--
___
Python tracker
<http://bugs.python.org/issue6400>
___
___
Python-bugs-list mailin
New submission from Alejandro :
I'm porting a project to Py3k wich contains a "commands.py" script on
the project's module.
Inside "a.py" there is an "import commands" statement:
/mymodule/commands.py
/mymodule/a.py
The 2to3 tool replaces the
Changes by Alejandro :
--
type: -> behavior
___
Python tracker
<http://bugs.python.org/issue6119>
___
___
Python-bugs-list mailing list
Unsubscri
New submission from Alejandro :
Comparing a lambda and a built-in by equality ("==") raises a
DeprecationWarning when the "-3" flag is used on Python 2.6.2:
$ python2.6 -3
Python 2.6.2 (r262:71600, Apr 28 2009, 16:17:29)
[GCC 4.3.2] on linux2
Type "help", &quo
Alejandro <[EMAIL PROTECTED]> added the comment:
Ups. My mistake. Sorry
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue4311>
___
___
Python
New submission from Alejandro <[EMAIL PROTECTED]>:
The "devel" documentation of the "Multiprocessing" module at the
"Exchanging objects between processes" section has the following example
snippet:
from multiprocessing import Process, Queue
def f(q):
New submission from Alejandro J. Cura <[EMAIL PROTECTED]>:
izip_longest default fillvalue is None, but the docs don't specify it.
I'm attaching a diff that fixes this.
--
assignee: georg.brandl
components: Documentation
files: itertools.izip_longest-default-fillval
alejandro david weil <[EMAIL PROTECTED]> added the comment:
Some debugging helper code and my conclutions of one work day:
debughelper.tgZ:
-test_broken1/2.py
one does triggers the bug, the other doesn't)
-rtest.sh
executes boths and compares its outputs
-frameob
alejandro david weil <[EMAIL PROTECTED]> added the comment:
Shorter trigger code..
--
nosy: +tenuki
Added file: http://bugs.python.org/file10698/test_broken3.py
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.pytho
65 matches
Mail list logo