Gabriel Marko added the comment:
@Larry and Terry:
I want to stay out of this discussion or participation on Python development
for the future as I've expressed it elsewhere
(https://bugs.python.org/issue34660#msg325515). However, I want to address the
unfair treatment of my perso
Changes by Gabriel Genellina :
--
nosy: +ggenellina
___
Python tracker
<http://bugs.python.org/issue18244>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Gabriel Genellina :
--
nosy: +ggenellina
___
Python tracker
<http://bugs.python.org/issue18318>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Gabriel Genellina :
--
nosy: +ggenellina
___
Python tracker
<http://bugs.python.org/issue13582>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Gabriel Nistor:
I am using Lubuntu x64 version and python 3.2.3
I have a tree search method:
node = self
while xpaths:
xpath = xpaths.popleft()
for path, child in node.childrens.items():
if path == xpath:
node = child
break
else
Gabriel Nistor added the comment:
Thanks for the fast reply. The explanation seems valid, but the behavior is not
consistent with other high level languages, and also with plain reasoning. I
have a big java background experience and I am now with python for almost 3
years doing really hard
Changes by Gabriel Genellina :
--
nosy: +gagenellina
___
Python tracker
<http://bugs.python.org/issue6562>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Gabriel Genellina :
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 patch adds a
Changes by Gabriel Genellina :
--
nosy: +gagenellina
___
Python tracker
<http://bugs.python.org/issue6589>
___
___
Python-bugs-list mailing list
Unsubscribe:
Gabriel Genellina added the comment:
I'll try to rephrase the section.
--
nosy: +gagenellina
___
Python tracker
<http://bugs.python.org/issue6570>
___
___
Gabriel Genellina 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
Gabriel Genellina 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://bugs.python.org/file14643
Changes by Gabriel Genellina :
Added file: http://bugs.python.org/file14644/test_email.diff
___
Python tracker
<http://bugs.python.org/issue6598>
___
___
Python-bug
Changes by Gabriel Genellina :
--
versions: -3rd party, Python 2.4, Python 2.5, Python 3.0
___
Python tracker
<http://bugs.python.org/issue6598>
___
___
Pytho
Gabriel Genellina 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:
The resul
Gabriel Genellina 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
<http://bugs.python.
Changes by Gabriel Genellina :
--
nosy: +gagenellina
___
Python tracker
<http://bugs.python.org/issue6632>
___
___
Python-bugs-list mailing list
Unsubscribe:
Gabriel Genellina 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 :( )
--
Gabriel Genellina 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 is writeable...
Probabl
Gabriel Genellina 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
___
Python tracker
<h
Gabriel Genellina added the comment:
This is a duplicate of #1633941
--
nosy: +gagenellina
___
Python tracker
<http://bugs.python.org/issue5505>
___
___
Pytho
New submission from Gabriel Genellina :
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" and "fi
Gabriel Genellina added the comment:
The patch looks fine to me.
--
nosy: +gagenellina
___
Python tracker
<http://bugs.python.org/issue6635>
___
___
Python-bug
Gabriel Genellina 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/rpc.diff
Gabriel Genellina added the comment:
--- El jue 6-ago-09, Antoine Pitrou escribió:
> Antoine Pitrou
> 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 identifying the
message, but we could still k
Changes by Gabriel Genellina :
Removed file: http://bugs.python.org/file14643/utils.diff
___
Python tracker
<http://bugs.python.org/issue6598>
___
___
Python-bugs-list m
Changes by Gabriel Genellina :
Added file: http://bugs.python.org/file14676/utils.diff
___
Python tracker
<http://bugs.python.org/issue6598>
___
___
Python-bugs-list m
New submission from Gabriel Genellina :
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 in the module, but it
Changes by Gabriel Genellina :
Added file: http://bugs.python.org/file14717/show_inspect_bug.py
___
Python tracker
<http://bugs.python.org/issue6700>
___
___
Python-bug
Changes by Gabriel Genellina :
--
nosy: +gagenellina
___
Python tracker
<http://bugs.python.org/issue4015>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Gabriel Genellina :
--
nosy: +gagenellina
___
Python tracker
<http://bugs.python.org/issue2576>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Gabriel Genellina :
--
nosy: +gagenellina
___
Python tracker
<http://bugs.python.org/issue6682>
___
___
Python-bugs-list mailing list
Unsubscribe:
Gabriel Genellina 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 then
Gabriel Genellina 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
<http://bugs.python.org/i
New submission from Gabriel Genellina :
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 file
Gabriel Genellina 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,
New submission from Gabriel Genellina :
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/gmane.comp.python.general/636597
Changes by Gabriel Genellina :
--
nosy: +gagenellina
___
Python tracker
<http://bugs.python.org/issue6858>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Gabriel Genellina :
--
nosy: +gagenellina
___
Python tracker
<http://bugs.python.org/issue6412>
___
___
Python-bugs-list mailing list
Unsubscribe:
Gabriel Genellina 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>
Gabriel Genellina added the comment:
If you provide a test case the patch has a greater chance of being
accepted.
--
nosy: +gagenellina
___
Python tracker
<http://bugs.python.org/issue6
Changes by Gabriel Genellina :
--
nosy: +gagenellina
___
Python tracker
<http://bugs.python.org/issue6880>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Gabriel Genellina :
--
nosy: +gagenellina
___
Python tracker
<http://bugs.python.org/issue4749>
___
___
Python-bugs-list mailing list
Unsubscribe:
Gabriel Genellina added the comment:
@Robert: Yes, I'd say this is the same problem as issue4749
--
nosy: +gagenellina
___
Python tracker
<http://bugs.python.org/i
Changes by Gabriel Genellina :
--
nosy: +gagenellina
___
Python tracker
<http://bugs.python.org/issue6829>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Gabriel Genellina :
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 construct but casts the
Gabriel Genellina added the comment:
Tests added.
--
Added file: http://bugs.python.org/file15057/inspect.diff
___
Python tracker
<http://bugs.python.org/issue7
Changes by Gabriel Genellina :
Removed file: http://bugs.python.org/file15052/inspect.diff
___
Python tracker
<http://bugs.python.org/issue7069>
___
___
Python-bugs-list m
Gabriel Genellina 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://bugs.
Gabriel Genellina 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
Gabriel Genellina added the comment:
Fixed in r68708 - upgrading to 2.6.2 should solve this.
--
nosy: +gagenellina
___
Python tracker
<http://bugs.python.org/issue7
Gabriel Genellina 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: +gagenellina
New submission from Gabriel Genellina :
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: gagenellina, georg.brandl
New submission from Gabriel Genellina :
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 `a = operator.iadd(a,b)` instead
Gabriel Genellina 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
New submission from Gabriel Genellina :
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\PatternGrammar.txt
r
Gabriel Genellina 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
s
Changes by Gabriel Genellina :
--
versions: +Python 3.1
___
Python tracker
<http://bugs.python.org/issue>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Gabriel Genellina :
Removed file: http://bugs.python.org/file14803/EditorWindow.diff
___
Python tracker
<http://bugs.python.org/issue6804>
___
___
Python-bug
Gabriel Genellina added the comment:
This new patch addresses the previous comments.
--
Added file: http://bugs.python.org/file15334/EditorWindow.diff
___
Python tracker
<http://bugs.python.org/issue6
Gabriel Genellina 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
<http://bugs.python.org/i
Changes by Gabriel Genellina :
Removed file: http://bugs.python.org/file12774/mimetypes.diff
___
Python tracker
<http://bugs.python.org/issue4969>
___
___
Python-bug
Gabriel Genellina 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 the coding style is
Gabriel Genellina 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://bugs.python.org/file
Changes by Gabriel Genellina :
Removed file: http://bugs.python.org/file14644/test_email.diff
___
Python tracker
<http://bugs.python.org/issue6598>
___
___
Python-bug
Changes by Gabriel Genellina :
Removed file: http://bugs.python.org/file14676/utils.diff
___
Python tracker
<http://bugs.python.org/issue6598>
___
___
Python-bugs-list m
Gabriel Genellina 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
Gabriel Genellina 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
<http://bugs.python.org/issue6
Gabriel Genellina 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
<http://bugs.python.org/issue6
Gabriel Genellina added the comment:
This patch had unintended consequences; see #6906
--
___
Python tracker
<http://bugs.python.org/issue3881>
___
___
Python-bug
Gabriel Genellina 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
New submission from Gabriel Genellina :
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 se
New submission from Gabriel Genellina :
The operator precedence table is wrong.
<http://docs.python.org/reference/
expressions.html#summary>
shows "in"/"not in" having less priority than
comparisons like "==", but that's not true:
py> 2 in (1,2) ==
Changes by Gabriel Genellina :
--
keywords: +patch
Added file: http://bugs.python.org/file13135/expressions.diff
___
Python tracker
<http://bugs.python.org/issue5
Gabriel Genellina added the comment:
The __getattr__ method, as written, assumes that an attribute 'args'
already exists. That's unsafe - a more robust approach would be:
def __getattr__(self, name):
if 'attrs' in self.__dict__ and name in self.attrs:
New submission from Gabriel Genellina :
Set sys.setrecursionlimit to 50 or lower. Then, the second time the
recursion limit is reached, the interpreter crashes with a stack
overflow.
This happens both with released 3.0.1 and the py3k branch, on Windows.
At least on my PC, 51 appears to be the
Gabriel Genellina 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 that __init__ is not
Gabriel Genellina 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
the second time, it
New submission from Gabriel Genellina :
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 file
Changes by Gabriel Genellina :
--
versions: +Python 2.7, Python 3.1
___
Python tracker
<http://bugs.python.org/issue5446>
___
___
Python-bugs-list mailin
New submission from Gabriel Genellina :
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: Documentation
Gabriel Genellina 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.
If
Gabriel Genellina 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
Gabriel Genellina 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__ are NOT normally invoked
New submission from Gabriel Genellina :
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("()" * 3)
3.0.1
New submission from Gabriel Genellina :
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 ca
New submission from Gabriel Koritzky :
I don't know if something like this has been said before, so if it did
just ignore this.
I have noticed that very few programming languages use simple for loops.
Python itself doesn't have a really simple one. So here's my suggestio
New submission from Gabriel Lopez:
Every time I try loading Python 3.5, it says "The program can't start because
api-ms-win-crt-runtime-l1-1-0.dll is missing from your computer." How can I fix
this?
--
messages: 283411
nosy: Gabriel Lopez
priority: normal
severity: norm
New submission from Gabriel McManus:
The select module epoll.poll method takes a "timeout" parameter which is
documented as having a default value of -1 [1]. If no timeout (or None) is
passed to epoll.poll, then a value of -1 is passed to the epoll_wait system
call. But if a timeou
Gabriel McManus added the comment:
As mentioned in [1], Illumos will be fixed to match Linux's behaviour, so this
problem will go away. It may still be worth changing epoll to just send -1
though, in case this causes similar issues in other operating systems.
[1] https://github.com/j
New submission from Gabriel Hackebeil:
I would like to propose changing the default setting for the shallow compare
option in filecmp.cmp to False (or providing access an exact comparison
function that does not use various performance optimizations).
I think many users will turn to this
Gabriel Hackebeil added the comment:
All good points. Perhaps further emphasis on this in the documentation would be
helpful to. As it stands, this module is a dangerous one for a naive user (like
me) to stumble across.
Maybe introducing an “exact” or “slow" diff function to the module
Gabriel Devenyi added the comment:
>From what I can tell a workaround for this still isn't documented.
--
nosy: +Gabriel Devenyi
___
Python tracker
<http://bugs.python.org
Gabriel Devenyi added the comment:
I'm running into this issue with python 3.5 and a ZFS-backed NFS4 mount.
Strace of a setuptools install:
chmod("/opt/quarantine/pydpiper/2.0/build/lib/python3.4/site-packages/pydpiper-2.0-py3.4.egg",
0644) = 0
listxattr("dist/py
Changes by
Gabriel de Perthuis
:
--
nosy: +onyxg7
type: -> rfe
_
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/
New submission from Gabriel Sean Farrell:
2nd paragraph of documentation at
http://docs.python.org/lib/module-UserDict.html should read as follows:
This module also defines a class...
The "also" is out of place.
--
components: Documentation
messages: 62322
nosy: gsf
sever
Jeremiah Gabriel Pascual added the comment:
Revisiting this 2+ year-old bug report, can I create another PR that implements
the old PR's comments' suggestions?
--
nosy: +Crowthebird
___
Python tracker
<https://bugs.python.o
Jeremiah Gabriel Pascual added the comment:
New benchmarks with the new changes:
PyLong_AsSsize_t: Mean +- std dev: [orig] 10.3 us +- 0.6 us -> [modif] 9.03 us
+- 0.61 us: 1.14x faster
PyLong_AsSize_t: Mean +- std dev: [orig] 10.5 us +- 2.4 us -> [modif] 9.26 us
+- 0.17 us: 1.13x
Change by Jeremiah Gabriel Pascual :
--
nosy: +Crowthebird
___
Python tracker
<https://bugs.python.org/issue47012>
___
___
Python-bugs-list mailing list
Unsub
New submission from Jeremiah Gabriel Pascual :
In https://docs.python.org/3/c-api/typeobj.html#static-types, it says that
PyTypeObject isn't part of the stable ABI. Yet, in
https://docs.python.org/3/c-api/type.html#c.PyTypeObject, it says that
PyTypeObject IS part of the stable ABI. Whi
201 - 300 of 323 matches
Mail list logo