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
Changes by Alejandro :
--
type: -> behavior
___
Python tracker
<http://bugs.python.org/issue6119>
___
___
Python-bugs-list mailing list
Unsubscri
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
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 <[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):
Alejandro <[EMAIL PROTECTED]> added the comment:
Ups. My mistake. Sorry
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue4311>
___
___
Python
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
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
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 Santos added the comment:
Thanks!
--
___
Python tracker
<http://bugs.python.org/issue6400>
___
___
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/issue6406>
___
___
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:
Nice, Thanks!
--
___
Python tracker
<http://bugs.python.org/issue6408>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Alejandro Santos :
--
nosy: +alejolp
___
Python tracker
<http://bugs.python.org/issue6845>
___
___
Python-bugs-list mailing list
Unsubscribe:
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 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
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:
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 :
Added file: http://bugs.python.org/file30074/ZoomInOut.patch
___
Python tracker
<http://bugs.python.org/issue17642>
___
___
Python-bugs-list m
Changes by Alejandro Rodas :
--
nosy: +alex.rodas
___
Python tracker
<http://bugs.python.org/issue3405>
___
___
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/issue15392>
___
___
Python-bugs-list mailing list
Unsubscribe:
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:
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
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:
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 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
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
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
Alejandro Marco Ramos added the comment:
is not related to 16778
--
___
Python tracker
<http://bugs.python.org/issue16844>
___
___
Python-bugs-list mailin
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 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
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
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
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
Changes by Alejandro Javier Peralta Frías :
--
nosy: +brett.cannon
___
Python tracker
<http://bugs.python.org/issue16473>
___
___
Python-bugs-list mailin
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
38 matches
Mail list logo