[issue1686386] Python SEGFAULT on invalid superclass access

2007-08-30 Thread toxik

toxik added the comment:

Minor note: The patch mixes tabs and spaces. AFAIK, PEP 7 says to use
four spaces when making new code, and follow suite in legacy, or convert it.

_
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1686386>
_
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1686386] Python SEGFAULT on invalid superclass access

2007-09-06 Thread toxik

toxik added the comment:

Hm, may be so.

Feel free to change title/severity if you'd like to.

_
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1686386>
_
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3276] httplib.HTTPConnection._send_request should not blindly assume dicts for headers

2008-07-03 Thread toxik

New submission from toxik <[EMAIL PROTECTED]>:

Presently it's impossible to use httplib.HTTPConnection.request and send 
the several headers with the same name. This is because _send_request 
assumes a dict is passed in, or a dict-like interface. Obviously one could 
make a list subclass or some such and give it an iteritems that returns 
itself, but IMHO the solution is to fix httplib.

Attached patch changes the current behavior to using iteritems only if it 
exists, otherwise iterate directly (which would fit with sequences of two-
tuples).

--
components: Library (Lib)
files: httplib.py.diff
keywords: patch
messages: 69234
nosy: ludvig.ericson
severity: normal
status: open
title: httplib.HTTPConnection._send_request should not blindly assume dicts for 
headers
versions: Python 2.1.1, Python 2.1.2, Python 2.2, Python 2.2.1, Python 2.2.2, 
Python 2.2.3, Python 2.3, Python 2.4, Python 2.5
Added file: http://bugs.python.org/file10807/httplib.py.diff

___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue3276>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1696] Distutils ignore dry-run flag at clean-up of distutils.command.build_scripts.copy_scripts

2007-12-24 Thread toxik

New submission from toxik:

It's actually py251.

113 else:
114 f.close()
115 self.copy_file(script, outfile)

Earlier, f is set to None if file is not found, and we are in dry-run
mode. Simple solution:

113 elif f:
114 f.close()
115 self.copy_file(script, outfile)

--
components: Distutils
messages: 58988
nosy: ludvig.ericson
severity: normal
status: open
title: Distutils ignore dry-run flag at clean-up of 
distutils.command.build_scripts.copy_scripts
type: crash
versions: Python 2.5

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1696>
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1696] Distutils ignore dry-run flag at clean-up of distutils.command.build_scripts.copy_scripts

2008-01-01 Thread toxik

toxik added the comment:

It doesn't die now, but AFAICT, it doesn't even try to copy the script
now. (With your patch.)

I might also add that this is for package_data.

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1696>
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1696] Distutils ignore dry-run flag at clean-up of distutils.command.build_scripts.copy_scripts

2008-01-02 Thread toxik

toxik added the comment:

It shouldn't try to copy the script anywhere, it should just tell me
what it was going to do, by means of console.

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1696>
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1696] Distutils ignore dry-run flag at clean-up of distutils.command.build_scripts.copy_scripts

2008-01-02 Thread toxik

toxik added the comment:

Mmh, well, as far as I could tell when I tested your patch, it didn't
say it's going to copy the file, but it didn't say it isn't going to either.

As far as this ticket is concerned however, I'd say the behavior is now
fixed.

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1696>
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5814] SocketServer: TypeError: waitpid() takes no keyword arguments

2009-07-07 Thread toxik

toxik  added the comment:

I don't really get how this could've ever worked. I tested using keyword 
arguments in py24 and py25, didn't work there either.

I think the best approach would be fixing the SocketServer.py code (which 
obviously needs a test as well, because it's never run.)

--
nosy: +ludvig.ericson

___
Python tracker 
<http://bugs.python.org/issue5814>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com