[issue18244] singledispatch: When virtual-inheriting ABCs at distinct points in MRO, composed MRO is dependent on haystack ordering

2013-06-30 Thread Gabriel Genellina
Changes by Gabriel Genellina ggenell...@gmail.com: -- nosy: +ggenellina ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18244 ___ ___ Python-bugs

[issue18318] Idle: stop depending on console output

2013-06-30 Thread Gabriel Genellina
Changes by Gabriel Genellina ggenell...@gmail.com: -- nosy: +ggenellina ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18318 ___ ___ Python-bugs

[issue13582] IDLE and pythonw.exe stderr problem

2013-06-30 Thread Gabriel Genellina
Changes by Gabriel Genellina ggenell...@gmail.com: -- nosy: +ggenellina ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13582 ___ ___ Python-bugs

[issue12274] Print window menu on IDLE aborts whole application

2011-06-07 Thread Gabriel Genellina
New submission from Gabriel Genellina gagsl-...@yahoo.com.ar: On Windows, IDLE closes all open windows and exits completely, without any error message, when selecting the Print window menu command. Starting IDLE from inside a console, one can see the error message: Exception in Tkinter

[issue12274] Print window menu on IDLE aborts whole application

2011-06-07 Thread Gabriel Genellina
Gabriel Genellina gagsl-...@yahoo.com.ar added the comment: Note: There is a much bigger problem here: IDLE should not abort abruptly in such cases, without any error indication. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org

[issue12276] 3.x ignores sys.tracebacklimit=0

2011-06-07 Thread Gabriel Genellina
New submission from Gabriel Genellina gagsl-...@yahoo.com.ar: Python 3.x doesn't honor sys.tracebacklimit=0 According to http://docs.python.org/py3k/library/sys.html#sys.tracebacklimit when set to 0, it should not print any stack trace, but it does. Python 3.2 (r32:88445, Feb 20 2011, 21:29

[issue12276] 3.x ignores sys.tracebacklimit=0

2011-06-07 Thread Gabriel Genellina
Gabriel Genellina gagsl-...@yahoo.com.ar added the comment: Originally reported by Thorsten Kampe in comp.lang.python 2011-5-27 http://permalink.gmane.org/gmane.comp.python.general/691496 -- ___ Python tracker rep...@bugs.python.org http

[issue12276] 3.x ignores sys.tracebacklimit=0

2011-06-07 Thread Gabriel Genellina
Gabriel Genellina gagsl-...@yahoo.com.ar added the comment: Is this the intended behavior then? I don't get the rationale for that change. There is no way to completely supress traceback information now; for sys.tracebacklimit to be of any significance, it must be = 1; 0 and negative values

[issue8262] bad wording in error message attempting to start a Thread twice

2010-03-29 Thread Gabriel Genellina
New submission from Gabriel Genellina gagsl-...@yahoo.com.ar: Steve Holden, in http://permalink.gmane.org/gmane.comp.python.general/658347, about the RuntimeError you get when a Thread object is started twice: «thread already started implies that the thread is running, but you actually get

[issue6716] Windows install error when choosing to compile .py files

2010-03-26 Thread Gabriel Genellina
Gabriel Genellina gagsl-...@yahoo.com.ar added the comment: r78994 (exclude 2to3 tests from compileall) should be backported to trunk and the 2.6 branch, but I don't see them (yet). -- nosy: +gagenellina ___ Python tracker rep...@bugs.python.org

[issue6716] Windows install error when choosing to compile .py files

2010-03-26 Thread Gabriel Genellina
Gabriel Genellina gagsl-...@yahoo.com.ar added the comment: Sorry for being so terse and not filling in the gaps! In the end, I changed my mind on this bug - it's not an installer issue. The 2.6.5 MSI installer, when asked to compile .pyc files, exits with an error as reported here: http

[issue8241] py2_test_grammar.py contains invalid syntax for 2.6

2010-03-26 Thread Gabriel Genellina
New submission from Gabriel Genellina gagsl-...@yahoo.com.ar: Lib\lib2to3\tests\data\py2_test_grammar.py, in test_with_statement, requires a variant of the with statement (multiple targets) that is not available in Python 2.6. Compiling py2_test_grammar.py raises a SyntaxError. This makes

[issue4749] Issue with RotatingFileHandler logging handler on Windows

2010-03-26 Thread Gabriel Genellina
Gabriel Genellina gagsl-...@yahoo.com.ar added the comment: @jpfarias: could you be more specific? Which error(s) do you have? in which scenario? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4749

[issue6701] Make custom xmlrpc extension easier

2010-03-24 Thread Gabriel Genellina
Gabriel Genellina gagsl-...@yahoo.com.ar added the comment: Just a few comments on the code itself: if type_ in self.__dispatch.keys(): should be: if type_ in self.__dispatch: Previously, error reporting of recursive data stated the type of the offending value; with this patch

[issue6701] Make custom xmlrpc extension easier

2010-03-24 Thread Gabriel Genellina
Gabriel Genellina gagsl-...@yahoo.com.ar added the comment: Just a few comments on the code itself: if type_ in self.__dispatch.keys(): should be: if type_ in self.__dispatch: Previously, error reporting of recursive data stated the type of the offending value; with this patch

[issue1553375] Add traceback.print_full_exception()

2010-03-24 Thread Gabriel Genellina
Changes by Gabriel Genellina gagsl-...@yahoo.com.ar: -- nosy: +gagenellina ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1553375 ___ ___ Python

[issue7347] Add {Create|Delete}KeyEx to _winreg, doc and test updates

2010-03-19 Thread Gabriel Genellina
Gabriel Genellina gagsl-...@yahoo.com.ar added the comment: Why the *Ex names? Can't we just add additional arguments to the original names? The Python names do not necesarily have to match the API calls. Having QueryValue and QueryValueEx was a mistake in the first place, and I would prefer

[issue8077] cgi handling of POSTed files is broken

2010-03-16 Thread Gabriel Genellina
Gabriel Genellina gagsl-...@yahoo.com.ar added the comment: This doesn't look like a documentation bug to me - handling of uploaded files via CGI *should* work, even if CGI is not the best way to do that. -- nosy: +gagenellina ___ Python tracker rep

[issue5879] multiprocessing - example pool of http servers fails on windows socket has no attribute fromfd

2010-03-16 Thread Gabriel Genellina
Changes by Gabriel Genellina gagsl-...@yahoo.com.ar: -- nosy: +gagenellina ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5879 ___ ___ Python-bugs

[issue8036] Interpreter crashes on invalid arg to spawnl on Windows

2010-03-08 Thread Gabriel Genellina
Gabriel Genellina gagsl-...@yahoo.com.ar added the comment: In case it matters, 3.0.1 does NOT crash. -- nosy: +gagenellina ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8036

[issue5680] Command-line arguments when running in IDLE

2010-02-04 Thread Gabriel Genellina
Gabriel Genellina gagsl-...@yahoo.com.ar added the comment: A different patch to solve the same issue. This one uses a standard tkSimpleDialog to prompt for the command line, and follows the directives found at the top of the source (only took 8 years to implement... not so bad :) ) XXX GvR

[issue7749] pydoc error - No module named tempfile

2010-01-21 Thread Gabriel Genellina
Gabriel Genellina gagsl-...@yahoo.com.ar added the comment: On Windows, trying with different Python versions: D:\temppython24 -m pydoc sys [works as expected] D:\temppython25 -m pydoc sys No module named tempfile D:\temppython26 -m pydoc sys No module named tempfile D:\temppython27 -m pydoc

[issue7749] pydoc error - No module named tempfile

2010-01-21 Thread Gabriel Genellina
Gabriel Genellina gagsl-...@yahoo.com.ar added the comment: This happens to be a duplicate of issue #7328 -- pydoc used to remove the Python standard library from sys.path (!) when run with -m Fixed in r76312 (2.7). I think the fix should be backported to 2.6 @gib: you may patch your Python

[issue1578269] Add os.link() and os.symlink() and os.path.islink() support for Windows

2010-01-19 Thread Gabriel Genellina
Changes by Gabriel Genellina gagsl-...@yahoo.com.ar: -- nosy: +gagenellina ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1578269 ___ ___ Python

[issue7634] next/previous links in documentation skip some sections

2010-01-04 Thread Gabriel Genellina
New submission from Gabriel Genellina gagsl-...@yahoo.com.ar: The next/previous links in the documentation skip some sections. This happens both in HTML format and the CHM Windows help file. e.g.: in the Library Reference, section 8.5 StringIO [next] points to 8.7 textwrap, skipping section

[issue3881] IDLE won't start in custom directory.

2009-11-16 Thread Gabriel Genellina
Gabriel Genellina gagsl-...@yahoo.com.ar added the comment: This patch had unintended consequences; see #6906 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3881

[issue7329] global statements outside functions/methods should raise SyntaxError

2009-11-16 Thread Gabriel Genellina
Gabriel Genellina gagsl-...@yahoo.com.ar added the comment: The compiler doesn't know how the code is going to be used apart from the mode parameter: py c=compile(x=1,,exec) py import dis py dis.dis(c) 1 0 LOAD_CONST 0 (1) 3 STORE_NAME 0 (x

[issue4969] mimetypes on Windows should read MIME database from registry (w/patch)

2009-11-15 Thread Gabriel Genellina
Changes by Gabriel Genellina gagsl-...@yahoo.com.ar: Removed file: http://bugs.python.org/file12774/mimetypes.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4969

[issue4969] mimetypes on Windows should read MIME database from registry (w/patch)

2009-11-15 Thread Gabriel Genellina
Gabriel Genellina gagsl-...@yahoo.com.ar added the comment: A new patch taking into account M. Pitrou comments: - name changed to read_windows_registry() - read_windows_registry() does nothing on non-Windows platforms; same as read_mime_types(filename) when the file does not exist. - I hope

[issue6598] calling email.utils.make_msgid frequently has a non-trivial probability of generating colliding ids

2009-11-15 Thread Gabriel Genellina
Gabriel Genellina gagsl-...@yahoo.com.ar added the comment: An updated version of the make_msgid patch. Includes a random part plus a sequential part. Testing takes at most 3 seconds now (we're interested in those msgids generated in a whole second) -- Added file: http

[issue6598] calling email.utils.make_msgid frequently has a non-trivial probability of generating colliding ids

2009-11-15 Thread Gabriel Genellina
Changes by Gabriel Genellina gagsl-...@yahoo.com.ar: Removed file: http://bugs.python.org/file14644/test_email.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6598

[issue6598] calling email.utils.make_msgid frequently has a non-trivial probability of generating colliding ids

2009-11-15 Thread Gabriel Genellina
Changes by Gabriel Genellina gagsl-...@yahoo.com.ar: Removed file: http://bugs.python.org/file14676/utils.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6598

[issue2304] subprocess under windows fails to quote properly when shell=True

2009-11-15 Thread Gabriel Genellina
Gabriel Genellina gagsl-...@yahoo.com.ar added the comment: An up-to-date patch; same contents, but this one can be cleanly applied to trunk (as of r76294) -- versions: +Python 2.7, Python 3.1, Python 3.2 Added file: http://bugs.python.org/file15340/subprocess.diff

[issue6647] warnings.catch_warnings is not thread-safe

2009-11-15 Thread Gabriel Genellina
Gabriel Genellina gagsl-...@yahoo.com.ar added the comment: Document that warnings.catch_warnings is not thread safe. -- keywords: +patch Added file: http://bugs.python.org/file15341/warnings.diff ___ Python tracker rep...@bugs.python.org http

[issue6031] BaseServer.shutdown documentation is incomplete

2009-11-15 Thread Gabriel Genellina
Gabriel Genellina gagsl-...@yahoo.com.ar added the comment: Documentation patch for BaseServer.server_forever() and shutdown() -- keywords: +patch Added file: http://bugs.python.org/file15342/socketserver.rst.diff ___ Python tracker rep

[issue4722] _winreg.QueryValue fault while reading mangled registry values

2009-11-14 Thread Gabriel Genellina
Gabriel Genellina gagsl-...@yahoo.com.ar added the comment: I've noticed this depends on the user privileges. When logged in as a normal user, I get the internal error as originally reported. When logged in as an administrator, there is no error and I get an empty string

[issue6666] List of dirs to ignore in trace.py is applied only for the first file

2009-11-14 Thread Gabriel Genellina
Changes by Gabriel Genellina gagsl-...@yahoo.com.ar: -- versions: +Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue ___ ___ Python

[issue6804] IDLE: Detect Python files even if name doesn't end in .py

2009-11-14 Thread Gabriel Genellina
Changes by Gabriel Genellina gagsl-...@yahoo.com.ar: Removed file: http://bugs.python.org/file14803/EditorWindow.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6804

[issue6804] IDLE: Detect Python files even if name doesn't end in .py

2009-11-14 Thread Gabriel Genellina
Gabriel Genellina gagsl-...@yahoo.com.ar added the comment: This new patch addresses the previous comments. -- Added file: http://bugs.python.org/file15334/EditorWindow.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6804

[issue6906] Tkinter sets an unicode environment variable on win32

2009-11-14 Thread Gabriel Genellina
Gabriel Genellina gagsl-...@yahoo.com.ar added the comment: This patch may solve this issue, but I don't have a Vista install to test it. -- keywords: +patch Added file: http://bugs.python.org/file15335/FixTk.diff ___ Python tracker rep

[issue7313] 2to3 fails when source file starts with BOM

2009-11-13 Thread Gabriel Genellina
New submission from Gabriel Genellina gagsl-...@yahoo.com.ar: If the source file is encoded in UTF-8 with a BOM, 2to3 cannot parse it: C:\APPS\python\trunk\PCbuild.\python ..\Tools\scripts \2to3 c:\temp\test_2to3.py root: Generating grammar tables from C:\APPS\python \trunk\lib\lib2to3

[issue7268] 2to3 execfile conversion changes behavior

2009-11-07 Thread Gabriel Genellina
Gabriel Genellina gagsl-...@yahoo.com.ar added the comment: This is a patch for the execfile fixer, so it converts execfile(fn) into this: exec(compile(open(fn).read()+'\n', fn, 'exec')) (Yes, it looks ugly. A better way would be to fix the compile() builtin so it does

[issue7259] Documentation update for operator module

2009-11-03 Thread Gabriel Genellina
New submission from Gabriel Genellina gagsl-...@yahoo.com.ar: This patch fixes some issues with the documentation of the operator module: - docstrings for all augmented assignments incorrectly stated, e.g., `operator.iadd(a,b)` is the same as `a += b`. The main documentation shows

[issue7196] Clarify str.split() behavior

2009-10-23 Thread Gabriel Genellina
New submission from Gabriel Genellina gagsl-...@yahoo.com.ar: Clarify str.split() behavior; see discussion at http:// comments.gmane.org/gmane.comp.python.general/641120 -- assignee: georg.brandl components: Documentation files: stdtypes.diff keywords: patch messages: 94401 nosy

[issue7095] Multiprocessing.Array(lock=False) fails

2009-10-09 Thread Gabriel Genellina
Gabriel Genellina gagsl-...@yahoo.com.ar added the comment: Fixed in r68708 - upgrading to 2.6.2 should solve this. -- nosy: +gagenellina ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7095

[issue7089] shlex behaves unexpected if newlines are not whitespace

2009-10-09 Thread Gabriel Genellina
Gabriel Genellina gagsl-...@yahoo.com.ar added the comment: If you could add some tests to lib/test/test_shlex.py, there are more chances for this patch to be accepted. Also, consider the case when the comment is on the last line of input and there is no \n ending character. -- nosy

[issue7069] inspect.isabstract to return boolean values only

2009-10-08 Thread Gabriel Genellina
Gabriel Genellina gagsl-...@yahoo.com.ar added the comment: I don't think we should test the actual type returned (bool); that would be overspecifying. The documentation doesn't promise it IS a boolean, and no other test for any isXXX() function checks the type either. I'd remove the last

[issue7078] struct help in the interpreter does not explain about the fmt option

2009-10-07 Thread Gabriel Genellina
Gabriel Genellina gagsl-...@yahoo.com.ar added the comment: The module docstring (for _struct) already existed, but was not exposed as struct.__doc__ This patch fixes the problem; also, there was a missing format character (?) -- keywords: +patch nosy: +gagenellina Added file: http

[issue7069] inspect.isabstract to return boolean values only

2009-10-06 Thread Gabriel Genellina
Gabriel Genellina gagsl-...@yahoo.com.ar added the comment: Tests added. -- Added file: http://bugs.python.org/file15057/inspect.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7069

[issue7069] inspect.isabstract to return boolean values only

2009-10-06 Thread Gabriel Genellina
Changes by Gabriel Genellina gagsl-...@yahoo.com.ar: Removed file: http://bugs.python.org/file15052/inspect.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7069

[issue7069] inspect.isabstract to return boolean values only

2009-10-05 Thread Gabriel Genellina
New submission from Gabriel Genellina gagsl-...@yahoo.com.ar: Currently, inspect.isabstract() may return an integer like 1048576 instead of True, or 0 instead of False. Although technically correct, no other isXXX function behaves that way; also, isgeneratorfunction() uses a similar code

[issue6412] Titlecase as defined in Unicode Case Mappings not followed

2009-09-16 Thread Gabriel Genellina
Changes by Gabriel Genellina gagsl-...@yahoo.com.ar: -- nosy: +gagenellina ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6412 ___ ___ Python-bugs

[issue6906] Tkinter sets an unicode environment variable on win32

2009-09-16 Thread Gabriel Genellina
Gabriel Genellina gagsl-...@yahoo.com.ar added the comment: I cannot reproduce it with the python.org version: Python 2.6.2 (r262:71605, Apr 14 2009, 22:40:02) [MSC v.1500 32 bit (Intel)] on win32 Type help, copyright, credits or license for more information. py import Tkinter py import os py

[issue6895] locale._parse_localename fails when localename does not contain encoding information

2009-09-16 Thread Gabriel Genellina
Gabriel Genellina gagsl-...@yahoo.com.ar added the comment: If you provide a test case the patch has a greater chance of being accepted. -- nosy: +gagenellina ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6895

[issue6880] class needs forward reference

2009-09-16 Thread Gabriel Genellina
Changes by Gabriel Genellina gagsl-...@yahoo.com.ar: -- nosy: +gagenellina ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6880 ___ ___ Python-bugs

[issue4749] Issue with RotatingFileHandler logging handler on Windows

2009-09-16 Thread Gabriel Genellina
Changes by Gabriel Genellina gagsl-...@yahoo.com.ar: -- nosy: +gagenellina ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4749 ___ ___ Python-bugs

[issue2320] Race condition in subprocess using stdin

2009-09-16 Thread Gabriel Genellina
Gabriel Genellina gagsl-...@yahoo.com.ar added the comment: @Robert: Yes, I'd say this is the same problem as issue4749 -- nosy: +gagenellina ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2320

[issue6829] Frendly error message when inheriting from function

2009-09-16 Thread Gabriel Genellina
Changes by Gabriel Genellina gagsl-...@yahoo.com.ar: -- nosy: +gagenellina ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6829 ___ ___ Python-bugs

[issue6858] This is a python file, apply syntax highlighting

2009-09-07 Thread Gabriel Genellina
Changes by Gabriel Genellina gagsl-...@yahoo.com.ar: -- nosy: +gagenellina ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6858 ___ ___ Python-bugs

[issue6828] wrongly highlighted blocks in the Tutorial

2009-09-02 Thread Gabriel Genellina
New submission from Gabriel Genellina gagsl-...@yahoo.com.ar: In the tutorial, some blocks were wrongly highlighted as being Python code when they were actually just program output. This patch adds the missing ``highlightlang:: none`` declarations. See http://permalink.gmane.org

[issue6804] IDLE: Detect Python files even if name doesn't end in .py

2009-08-29 Thread Gabriel Genellina
New submission from Gabriel Genellina gagsl-...@yahoo.com.ar: A Python source file name doesn't necesarily end in .py/.pyw; on Linux, scripts usually have no extension but are recognized by its shebang line. Windows uses file type associations: .py files are of type Python.File, and .pyc

[issue6784] byte/unicode pickle incompatibilities between python2 and python3

2009-08-29 Thread Gabriel Genellina
Gabriel Genellina gagsl-...@yahoo.com.ar added the comment: Note that this is also a documentation issue: The pickle serialization format is guaranteed to be backwards compatible across Python releases. -- assignee: - georg.brandl components: +Documentation nosy: +gagenellina

[issue4015] [patch] make installed scripts executable on windows

2009-08-14 Thread Gabriel Genellina
Changes by Gabriel Genellina gagsl-...@yahoo.com.ar: -- nosy: +gagenellina ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4015 ___ ___ Python-bugs

[issue2576] httplib read() very slow due to lack of socket buffer

2009-08-14 Thread Gabriel Genellina
Changes by Gabriel Genellina gagsl-...@yahoo.com.ar: -- nosy: +gagenellina ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2576 ___ ___ Python-bugs

[issue6682] Default traceback does not handle PEP302 loaded modules

2009-08-14 Thread Gabriel Genellina
Changes by Gabriel Genellina gagsl-...@yahoo.com.ar: -- nosy: +gagenellina ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6682 ___ ___ Python-bugs

[issue6556] HOME is not a standard environment variable on Windows

2009-08-14 Thread Gabriel Genellina
Gabriel Genellina gagsl-...@yahoo.com.ar added the comment: %HOME% isn't set by Windows. %HOMEDRIVE%%HOMEPATH% points to the user's home directory. %USERPROFILE% is where the user's profile is stored, and may or may not be the same as his home directory. %HOMEDRIVE%%HOMEPATH% should be used

[issue6666] List of dirs to ignore in trace.py is applied only for the first file

2009-08-14 Thread Gabriel Genellina
Gabriel Genellina gagsl-...@yahoo.com.ar added the comment: That's exactly the change 2to3 would suggest for that line. The guy doing the conversion must have missed it. -- nosy: +gagenellina ___ Python tracker rep...@bugs.python.org http

[issue6700] inspect.getsource() returns incorrect source lines

2009-08-13 Thread Gabriel Genellina
New submission from Gabriel Genellina gagsl-...@yahoo.com.ar: inspect.getsource(obj) returns incorrect results when obj is a traceback or frame object outside any function (that is, at the module level). This demo script shows the problem. The correct output should contain all source lines

[issue6700] inspect.getsource() returns incorrect source lines

2009-08-13 Thread Gabriel Genellina
Changes by Gabriel Genellina gagsl-...@yahoo.com.ar: Added file: http://bugs.python.org/file14717/show_inspect_bug.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6700

[issue6598] calling email.utils.make_msgid frequently has a non-trivial probability of generating colliding ids

2009-08-07 Thread Gabriel Genellina
Gabriel Genellina gagsl-...@yahoo.com.ar added the comment: --- El jue 6-ago-09, Antoine Pitrou rep...@bugs.python.org escribió: Antoine Pitrou pit...@free.fr added the comment: Is it ok if the message id is predictable? I don't know of any use of message ids apart from uniquely

[issue6598] calling email.utils.make_msgid frequently has a non-trivial probability of generating colliding ids

2009-08-07 Thread Gabriel Genellina
Changes by Gabriel Genellina gagsl-...@yahoo.com.ar: Removed file: http://bugs.python.org/file14643/utils.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6598

[issue6598] calling email.utils.make_msgid frequently has a non-trivial probability of generating colliding ids

2009-08-07 Thread Gabriel Genellina
Changes by Gabriel Genellina gagsl-...@yahoo.com.ar: Added file: http://bugs.python.org/file14676/utils.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6598

[issue6636] Non-existant directory in sys.path prevents further imports

2009-08-04 Thread Gabriel Genellina
Gabriel Genellina gagsl-...@yahoo.com.ar added the comment: Looks like an optimization for the common case when directories aren't created on the fly. Your proposal would slow down all imports (a typical sys.path actually contains a few nonexisting directories). Quoting PEP302

[issue6634] sys.exit() called from threads other than the main one: undocumented behaviour

2009-08-04 Thread Gabriel Genellina
Gabriel Genellina gagsl-...@yahoo.com.ar added the comment: I agree with you; the docs should be improved, and I see no reason for sys.exit(msg) NOT to write to stderr inside a child thread. -- nosy: +gagenellina ___ Python tracker rep

[issue6632] Include more fullwidth chars in the decimal codec

2009-08-04 Thread Gabriel Genellina
Changes by Gabriel Genellina gagsl-...@yahoo.com.ar: -- nosy: +gagenellina ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6632 ___ ___ Python-bugs

[issue5712] tkinter - askopenfilenames returns string instead of tuple in windows 2.6.1 release

2009-08-04 Thread Gabriel Genellina
Gabriel Genellina gagsl-...@yahoo.com.ar added the comment: With 2.6.2 on Windows, I get filenames surrounded by {}, all in a single unicode string. The change may be related to the new Tk library used, not directly the tkFileDialog module. (BTW, I don't see *any* unit tests for tkinter

[issue2710] error: (10035, 'The socket operation could not complete without blocking')

2009-08-04 Thread Gabriel Genellina
Gabriel Genellina gagsl-...@yahoo.com.ar added the comment: AFAIK, WSAEWOULDBLOCK means that the socket is in nonblocking mode and the attempted operation could wait indefinitely to complete. But I don't understand how that could happen since a previous select() confirmed the socket

[issue6625] UnicodeEncodeError on pydoc's CLI

2009-08-04 Thread Gabriel Genellina
Gabriel Genellina gagsl-...@yahoo.com.ar added the comment: After applying your patch, are string (not unicode) docstrings still being handled properly? Adding a test case (in Lib/test/test_pydoc.py) would be nice too. -- nosy: +gagenellina

[issue5505] sys.stdin.read() doesn't return after first EOF on Windows

2009-08-04 Thread Gabriel Genellina
Gabriel Genellina gagsl-...@yahoo.com.ar added the comment: This is a duplicate of #1633941 -- nosy: +gagenellina ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5505

[issue6647] warnings.catch_warnings is not thread-safe

2009-08-04 Thread Gabriel Genellina
New submission from Gabriel Genellina gagsl-...@yahoo.com.ar: warnings.catch_warnings is a context manager supposed to save and restore warnings filters, and optionally record all warnings issued. But it does so in a completely thread-unsafe way, by replacing the module's showwarning

[issue6635] Profiler doesn't print usage (indexError instead)

2009-08-04 Thread Gabriel Genellina
Gabriel Genellina gagsl-...@yahoo.com.ar added the comment: The patch looks fine to me. -- nosy: +gagenellina ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6635

[issue2710] error: (10035, 'The socket operation could not complete without blocking')

2009-08-04 Thread Gabriel Genellina
Gabriel Genellina gagsl-...@yahoo.com.ar added the comment: So this patch should fix it. But I cannot fire the bug using the posted example, and there are no test cases for this module yet, so I could not test it. -- keywords: +patch Added file: http://bugs.python.org/file14655

[issue6589] smtpd.SMTPServer can cause asyncore.loop to enter infinite event loop

2009-08-03 Thread Gabriel Genellina
Changes by Gabriel Genellina gagsl-...@yahoo.com.ar: -- nosy: +gagenellina ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6589 ___ ___ Python-bugs

[issue6570] Tutorial clarity: section 4.7.2, parameters and arguments

2009-08-03 Thread Gabriel Genellina
Gabriel Genellina gagsl-...@yahoo.com.ar added the comment: I'll try to rephrase the section. -- nosy: +gagenellina ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6570

[issue6609] zipfile: WindowsError [267] The directory name is invalid

2009-08-03 Thread Gabriel Genellina
Gabriel Genellina gagsl-...@yahoo.com.ar added the comment: You're right, aux is a reserved name on Windows (like prn, con, and a few others). There is a way to force the OS to actually create such files, but not every tool can handle them correctly. If the zip file is intended to be Windows

[issue6598] calling email.utils.make_msgid frequently has a non-trivial probability of generating colliding ids

2009-08-03 Thread Gabriel Genellina
Gabriel Genellina gagsl-...@yahoo.com.ar added the comment: This patch replaces the random part with an increasing sequence (in a thread safe way). Also, added a test case for make_msgid (there was none previously) -- keywords: +patch nosy: +gagenellina Added file: http

[issue6598] calling email.utils.make_msgid frequently has a non-trivial probability of generating colliding ids

2009-08-03 Thread Gabriel Genellina
Changes by Gabriel Genellina gagsl-...@yahoo.com.ar: Added file: http://bugs.python.org/file14644/test_email.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6598

[issue6598] calling email.utils.make_msgid frequently has a non-trivial probability of generating colliding ids

2009-08-03 Thread Gabriel Genellina
Changes by Gabriel Genellina gagsl-...@yahoo.com.ar: -- versions: -3rd party, Python 2.4, Python 2.5, Python 3.0 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6598

[issue6591] add reference to fcntl.ioctl in the socket module

2009-07-28 Thread Gabriel Genellina
New submission from Gabriel Genellina gagsl-...@yahoo.com.ar: socket.ioctl says it is Windows specific, and people may think there is no way to use ioctl with sockets in non-Windows platforms (see http://groups.google.com/group/comp.lang.python/browse_thread/ thread/246f4522ad215d74 ) This doc

[issue6562] OverflowError in RLock.acquire()

2009-07-25 Thread Gabriel Genellina
Changes by Gabriel Genellina gagsl-...@yahoo.com.ar: -- nosy: +gagenellina ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6562 ___ ___ Python-bugs

[issue6031] BaseServer.shutdown documentation is incomplete

2009-05-15 Thread Gabriel Genellina
New submission from Gabriel Genellina gagsl-...@yahoo.com.ar: BaseServer.shutdown is documented as Tells the serve_forever() loop to stop and waits until it does. The docstring is much more explicit: Stops the serve_forever loop. Blocks until the loop has finished. This must be called while

[issue5765] stack overflow evaluating eval(() * 30000)

2009-04-15 Thread Gabriel Genellina
New submission from Gabriel Genellina gagsl-...@yahoo.com.ar: Originally reported by Juanjo Conti at PyAr: http://blog.gmane.org/gmane.org.user-groups.python.argentina/ day=20090415 Evaluating this expression causes a stack overflow, and the Python interpreter exits abnormally: eval

[issue5370] unpickling vs. __getattr__

2009-03-13 Thread Gabriel Genellina
Gabriel Genellina gagsl-...@yahoo.com.ar added the comment: Are you sure you uploaded the right patch? I've not tested it, but I don't think this actually fixes the reported bug. __setstate__ is *very* unlikely to be found in the instance's dict, so you end up not calling __setstate__ at all

[issue5370] unpickling vs. __getattr__

2009-03-13 Thread Gabriel Genellina
Gabriel Genellina gagsl-...@yahoo.com.ar added the comment: I think that trying to emulate all getattr details in the middle of unpickling (but omiting calls to __getattr__) isn't the right thing to do. What if in some cases __getattr__ (or __getattribute__) *does* the right thing, but pickle

[issue5370] unpickling vs. __getattr__

2009-03-13 Thread Gabriel Genellina
Gabriel Genellina gagsl-...@yahoo.com.ar added the comment: This doc update should warn people about the need to implement __getinitargs__ / __getnewargs__ when the instance relies on some internal invariants that must be preserved, and reiterates the important fact that __init__ / __new__

[issue5444] .chm build process on Windows doesn't use the right filename

2009-03-08 Thread Gabriel Genellina
New submission from Gabriel Genellina gagsl-...@yahoo.com.ar: doc/make.bat on Windows doesn't correctly build the right .chm filename. This patch does the same as the unix Makefile: run patchlevel.py and set the output as the DISTVERSION environment variable, so it can be used in the final

[issue5446] doc building progress on Windows doesn't show any color

2009-03-08 Thread Gabriel Genellina
Changes by Gabriel Genellina gagsl-...@yahoo.com.ar: -- versions: +Python 2.7, Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5446

[issue5446] doc building progress on Windows doesn't show any color

2009-03-08 Thread Gabriel Genellina
New submission from Gabriel Genellina gagsl-...@yahoo.com.ar: The documentation building progress on Windows doesn't show any colorized output, unlike the linux environment. This patch to console.py provides minimal color support on Windows. -- assignee: georg.brandl components

[issue5370] unpickling vs. __getattr__

2009-03-01 Thread Gabriel Genellina
Gabriel Genellina gagsl-...@yahoo.com.ar added the comment: Perhaps this should be made more clear in the documentation for the pickle module. Probably here: http://docs.python.org/library/pickle.html#the-pickle- protocol Could you come with some enhancements? (Note that it already states

[issue5392] stack overflow after hitting recursion limit twice

2009-03-01 Thread Gabriel Genellina
Gabriel Genellina gagsl-...@yahoo.com.ar added the comment: It is an artificial value, I don't require a recursion limit so low in any application. I found it when looking into #5370. If there is a lower limit to sys.setrecursionlimit, maybe it should be enforced. But since it fails only

  1   2   3   >