Popa Claudiu added the comment:
Updated the patch with test for .getparams.
--
Added file: http://bugs.python.org/file29499/wave_17487.patch
___
Python tracker
<http://bugs.python.org/issue17
New submission from Popa Claudiu:
wave.Wave_read/Wave_write.getparams returns a tuple with various info about the
wav file, when it could return a namedtuple, that can be manipulated in a
richer way. I attached a patch. It doesn't have any tests, mainly because
.getparams isn't tes
New submission from Popa Claudiu:
There is a problem with unittest discovering and namespace packages. Given the
following folder structure, where a namespace package X lies, the following
command fails with the following error:
-testbug
- flufl (namespace package with some tests in it
Popa Claudiu added the comment:
Hello. I've attached the new version of the patch. I used with statement in
add_escapes and the test was rewritten according to David's suggestion.
--
Added file: http://bugs.python.org/file25139/g
New submission from Popa Claudiu :
Tools/gprof2html.py uses "file" to open a file. Also, the opened file passed to
add_escapes was never closed. There's a test included in the patch.
--
components: Demos and Tools
files: gprof.patch
keywords: patch
messages: 157580
nos
Popa Claudiu added the comment:
Hello. Here is the new patch. There was a few more problems:
1. in process, fp wasn't closed
2. in process, m_import.match(line) >= 0 could fail if the regular expression
didn't matched on that line
I've included the tests, too.
-
Popa Claudiu added the comment:
Yes.
1. inherit from TabbedPageSet
2. pass tabs keyword to the internal TabSet instance
3. when the GUI started, enter a page with the same name found in tabs list.
NameError will be raised at this point.
I'm curios if this script is used anywhere, I cou
New submission from Popa Claudiu :
In the file from the subject, page_name was used instead of tab_name,
increasing the chances of a NameError exception.
I didn't find any tests for IDLE, so there are no tests attached.
--
components: IDLE
files: idlelib.patch
keywords: patch
mes
Popa Claudiu added the comment:
Oh, ok then. That makes the last file added in 14491 irrelevant.
--
___
Python tracker
<http://bugs.python.org/issue14
Popa Claudiu added the comment:
Hello. I added a test for fixcid.py regression.
--
nosy: +r.david.murray
Added file: http://bugs.python.org/file25121/fixcid_test.patch
___
Python tracker
<http://bugs.python.org/issue14
New submission from Popa Claudiu :
Tools/pdeps.py is using has_key for a dictionary. The attached patch fixes this
issue.
--
files: pdeps.patch
keywords: patch
messages: 157471
nosy: Popa.Claudiu
priority: normal
severity: normal
status: open
title: pdeps.py has_key
Added file: http
Changes by Popa Claudiu :
--
components: +Demos and Tools
versions: +Python 3.2, Python 3.3
___
Python tracker
<http://bugs.python.org/issue14492>
___
___
Pytho
New submission from Popa Claudiu :
Tools/fixcid.py uses <> instead of !=. The attached patched fixes this issue.
--
components: Demos and Tools
files: fixcid.patch
keywords: patch
messages: 157470
nosy: Popa.Claudiu
priority: normal
severity: normal
status: open
title: fixcid
New submission from Popa Claudiu :
In Tools/abitype.py an exception is raised using the old format:
raise Exception, '%s has no PyVarObject_HEAD_INIT' % name
The attached patch fixes this problem.
--
components: Demos and Tools
files: abitype.patch
keywords: patch
messag
New submission from Popa Claudiu :
This is related to http://bugs.python.org/issue14151.
When using an AF_UNIX address with multiprocessing.connection.Listener or
Client, the following error will occur, due to the fact that AF_UNIX is not
present in socket module.
>>&g
Changes by Popa Claudiu :
Added file: http://bugs.python.org/file25091/test_multiprocessing.diff
___
Python tracker
<http://bugs.python.org/issue14151>
___
___
Python-bug
Popa Claudiu added the comment:
Here are the two diffs. Hope they are good this time.
--
Added file: http://bugs.python.org/file25090/connection.diff
___
Python tracker
<http://bugs.python.org/issue14
New submission from Popa Claudiu :
In multiprocessing.connection, when using a Windows named pipe on a Unix
platform, the following error will occur. This should not happen, the format of
the address should be validated somehow before. The following error will occur
because PipeListener is
New submission from Popa Claudiu :
On Unix world, in a daemonized process, any namedtuple instance can't be
pickled, failing with error:
_pickle.PicklingError: Can't pickle class X: attribute lookup __main__.t failed.
This can't be reproduced with the attached code. If I add th
Changes by Popa Claudiu :
Added file: http://bugs.python.org/file23152/idle.patch
___
Python tracker
<http://bugs.python.org/issue9871>
___
___
Python-bugs-list mailin
Popa Claudiu added the comment:
Wrong patch.
--
___
Python tracker
<http://bugs.python.org/issue9871>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Popa Claudiu :
Removed file: http://bugs.python.org/file23151/idle.patch
___
Python tracker
<http://bugs.python.org/issue9871>
___
___
Python-bugs-list mailin
Popa Claudiu added the comment:
I've attached a patch, hope it is ok.
--
keywords: +patch
Added file: http://bugs.python.org/file23151/idle.patch
___
Python tracker
<http://bugs.python.org/i
Popa Claudiu added the comment:
I found the culprit. I wrote b"\x" in IDLE and the window immediatly
disappeared. Then, to traceback the problem, I started a python shell and typed
the following lines. It seems that in showsyntaxerror, value is different that
what was expected.
Popa Claudiu added the comment:
Hello. This happens with this version of IDLE too:
Python 3.2.1 (default, Jul 10 2011, 21:51:15) [MSC v.1500 32 bit (Intel)] on
win32.
I could write a patch if I knew where to start.
--
___
Python tracker
<h
Popa Claudiu added the comment:
I forgot to mention that I executed this code directly in IDLE. It seems to
work perfectly on command line though.
--
___
Python tracker
<http://bugs.python.org/issue12
Popa Claudiu added the comment:
Yes. On Python 3.2 (r32:88445, Feb 20 2011, 21:29:02) [MSC v.1500 32 bit
(Intel)] on win32, the result for the following lines:
import inspect
class A:
pass
inspect.getsource(A)
is:
Traceback (most recent call last):
File "E:/Scripts/Sni
New submission from Popa Claudiu :
inspect.getsource called with a class defined in the same file fails with
TypeError: is a built-in class, although the
documentation says that:
"The argument may be a module, class, method, function, traceback, frame,
or code object. The source co
New submission from Popa Claudiu :
There appears to be used a variable that is not defined in HTTPConnection.send
method. The approximate line is 781. How to reproduce:
import http.client
import urllib.parse
c = urllib.parse.urlencode({"user":"claudiu"
Popa Claudiu added the comment:
I meant "Connection class calls the.."
--
___
Python tracker
<http://bugs.python.org/issue10005>
___
___
Python-bugs-l
New submission from Popa Claudiu :
In postgresql library, client3.py, the "__str__" method defined in Connection
close calls the undefined method self.exception_string as in the following line
of code:
excstr = ''.join(self.exception_string(type(self.except
New submission from Popa Claudiu :
Hello.
While trying to find a way for extracting strange characters in an ascii file,
I stumbled upon some strange behaviour of IDLE, which exits without warning
after running the following regex:
re.findall(b"\x.{2}", b"sdds\xd8")
Popa Claudiu added the comment:
Hello.
As it seems, untabify.py opens the file using the builtin function open, making
the call error-prone when encountering non-ascii character. The proper handling
should be done by using open from codecs library, specifying the encoding as
argument.
e.g
Popa Claudiu added the comment:
"""CHttp.__init__(self,1,proxy =
shared.setts.currentGoogleProxy)
self.timeout = shared.setts.cGglHttpTimeout
self.proxy =
globShare.currentGoogleProxy[globShare.currentGoogleIndex]
New submission from Popa Claudiu :
Hello. This is my first report, sorry if I won't do it right.
I found a bug in cookielib, which looks like this(a traceback):
"""C:\Python31\lib\http\cookiejar.py:1586: UserWarning: http.cookiejar bug!
Traceback (most recent call last):
F
35 matches
Mail list logo