Popa Claudiu added the comment:
Updated the patch with test for .getparams.
--
Added file: http://bugs.python.org/file29499/wave_17487.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17487
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 tested at all
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
Popa Claudiu pcmantic...@gmail.com 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/gprof.patch
Popa Claudiu pcmantic...@gmail.com 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
New submission from Popa Claudiu pcmantic...@gmail.com:
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
New submission from Popa Claudiu pcmantic...@gmail.com:
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
New submission from Popa Claudiu pcmantic...@gmail.com:
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
Changes by Popa Claudiu pcmantic...@gmail.com:
--
components: +Demos and Tools
versions: +Python 3.2, Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14492
New submission from Popa Claudiu pcmantic...@gmail.com:
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
Popa Claudiu pcmantic...@gmail.com 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 rep...@bugs.python.org
http
Popa Claudiu pcmantic...@gmail.com added the comment:
Oh, ok then. That makes the last file added in 14491 irrelevant.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14490
New submission from Popa Claudiu pcmantic...@gmail.com:
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
Popa Claudiu pcmantic...@gmail.com 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
New submission from Popa Claudiu pcmantic...@gmail.com:
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
Popa Claudiu pcmantic...@gmail.com 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 rep...@bugs.python.org
http://bugs.python.org/issue14151
Changes by Popa Claudiu pcmantic...@gmail.com:
Added file: http://bugs.python.org/file25091/test_multiprocessing.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14151
New submission from Popa Claudiu pcmantic...@gmail.com:
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
New submission from Popa Claudiu pcmantic...@gmail.com:
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
Popa Claudiu pcmantic...@gmail.com 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
Popa Claudiu pcmantic...@gmail.com 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
Popa Claudiu pcmantic...@gmail.com 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 rep...@bugs.python.org
http://bugs.python.org/issue9871
Changes by Popa Claudiu pcmantic...@gmail.com:
Removed file: http://bugs.python.org/file23151/idle.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9871
Popa Claudiu pcmantic...@gmail.com added the comment:
Wrong patch.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9871
___
___
Python-bugs-list
Changes by Popa Claudiu pcmantic...@gmail.com:
Added file: http://bugs.python.org/file23152/idle.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9871
Popa Claudiu pcmantic...@gmail.com 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 rep...@bugs.python.org
http://bugs.python.org/issue12920
Popa Claudiu pcmantic...@gmail.com 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
New submission from Popa Claudiu pcmantic...@gmail.com:
inspect.getsource called with a class defined in the same file fails with
TypeError: module '__main__' (built-in) is a built-in class, although the
documentation says that:
The argument may be a module, class, method, function, traceback
New submission from Popa Claudiu pcmantic...@gmail.com:
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, password:1})
c
New submission from Popa Claudiu pcmantic...@gmail.com:
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.exception
Popa Claudiu pcmantic...@gmail.com added the comment:
I meant Connection class calls the..
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10005
New submission from Popa Claudiu pcmantic...@gmail.com:
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}, bsdds\xd8
Popa Claudiu pcmantic...@gmail.com 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
New submission from Popa Claudiu pcmantic...@gmail.com:
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
Popa Claudiu pcmantic...@gmail.com added the comment:
CHttp.__init__(self,1,proxy =
shared.setts.currentGoogleProxy)
self.timeout = shared.setts.cGglHttpTimeout
self.proxy =
globShare.currentGoogleProxy[globShare.currentGoogleIndex
35 matches
Mail list logo