[issue5186] Reduce hash collisions for objects with no __hash__ method

2009-02-12 Thread Antoine Pitrou

Antoine Pitrou pit...@free.fr added the comment:

 Other than that, the patch looks fine to me;  x ^= x  4 would be fine  
 too.

I've just tried x ^= x  4 and the speedup is smaller on our
microbenchmark (time_object_hash.py). I conjecture that trying to
maintain the sequentiality of adresses may have beneficial cache
locality effects. Should we care?

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5186
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5214] Add KOI8-RU as a known encoding

2009-02-12 Thread STINNER Victor

STINNER Victor victor.stin...@haypocalc.com added the comment:

I found this file http://ra.dkuug.dk/i18n/charmaps/KOI8-RU. I 
converted it to a format compatible with gencodec.py. Here is the 
resulting file: copy it into your python library/encodings/.

--
nosy: +haypo
Added file: http://bugs.python.org/file13050/koi8_ru.py

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5214
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5226] OS X installer: Welcome and Readme files are out-of-date

2009-02-12 Thread Ned Deily

New submission from Ned Deily n...@acm.org:

The information in the installer Welcome and README is out-of-date.

APPLIES py3k, 3.0, trunk, 2.6

NOTEpatch-nad0019-py3k-30.txt   py3k, 3.0
patch-nad0019-trunk-26.txt  trunk, 2.6

--
components: Macintosh
files: patch-nad0019-py3k-30.txt
messages: 81752
nosy: nad
severity: normal
status: open
title: OS X installer: Welcome and Readme files are out-of-date
type: behavior
versions: Python 2.6, Python 2.7, Python 3.0, Python 3.1
Added file: http://bugs.python.org/file13051/patch-nad0019-py3k-30.txt

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5226
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5226] OS X installer: Welcome and Readme files are out-of-date

2009-02-12 Thread Ned Deily

Changes by Ned Deily n...@acm.org:


Added file: http://bugs.python.org/file13052/patch-nad0019-trunk-26.txt

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5226
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5214] Add KOI8-RU as a known encoding

2009-02-12 Thread STINNER Victor

STINNER Victor victor.stin...@haypocalc.com added the comment:

Attach file used as gencodec.py input: koi8-ru.

dwayne: Does the result look correct?

Added file: http://bugs.python.org/file13053/koi8-ru

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5214
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5214] Add KOI8-RU as a known encoding

2009-02-12 Thread STINNER Victor

STINNER Victor victor.stin...@haypocalc.com added the comment:

My version of iconv (2.6.1) doesn't support KOI8-RU, only:
 - CSKOI8R
 - KOI-7
 - KOI-8
 - KOI8-R: supported by python trunk
 - KOI8-T
 - KOI8-U: supported by python trunk
 - KOI8
 - KOI8R
 - KOI8U

Note: python trunk doesn't support KOI8R nor KOI8U (which are just 
aliases to KOI8-R and KOI8-U).

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5214
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5186] Reduce hash collisions for objects with no __hash__ method

2009-02-12 Thread Mark Dickinson

Mark Dickinson dicki...@gmail.com added the comment:

+1 for checking in pointer_hash4.patch, provided Raymond approves.

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5186
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5214] Add KOI8-RU as a known encoding

2009-02-12 Thread Marc-Andre Lemburg

Marc-Andre Lemburg m...@egenix.com added the comment:

Could you please clarify the official status of this encoding. According
to this page:

http://www.terena.org/activities/multiling/koi8-ru/index.html

it is currently only a proposed draft which hasn't been updated since 1997.

--
nosy: +lemburg
versions: +Python 2.7 -Python 2.6

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5214
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue637094] print to unicode stream should __unicode

2009-02-12 Thread Marc-Andre Lemburg

Marc-Andre Lemburg m...@egenix.com added the comment:

On 2009-02-12 12:49, STINNER Victor wrote:
 STINNER Victor victor.stin...@haypocalc.com added the comment:
 
 ajaksu2 Not sure it's still important after 3.0 release.
 
 Python2 has too much issues related to unicode. It's easier to switch 
 to Python3 which use unicode by default for most functions (eg. 
 print).

I don't agree with that statement. Python3 has better Unicode I/O
support, but apart from that it's pretty much the same show.

 The issue can't be fixed in Python2 without breaking the compatibility 
 (introduce regression). I think that the issue is fixed in Python3.

Python3 fixes the print statement to be a function, which allows
much better extensibility of the concept.

You can have the same in Python2 with a little effort: just create
your own myprint() function and have it process Unicode in whatever
way you want.

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue637094
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5032] itertools.count step

2009-02-12 Thread Raymond Hettinger

Raymond Hettinger rhettin...@users.sourceforge.net added the comment:

More coolness:

   count(Fraction(2,3), Fraction(1,6))

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5032
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5186] Reduce hash collisions for objects with no __hash__ method

2009-02-12 Thread Raymond Hettinger

Raymond Hettinger rhettin...@users.sourceforge.net added the comment:

Consider it approved.  Though I prefer you switch to x ^= x  4.

--
resolution:  - accepted

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5186
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5227] Py_Main() does not return on sys.exit()

2009-02-12 Thread Rogi

New submission from Rogi r...@linuxmail.org:

From teh documentation:
http://docs.python.org/c-api/veryhigh.html

int Py_Main(int argc, char **argv)¶
The main program for the standard interpreter. This is made
available for programs which embed Python. The argc and argv parameters
should be prepared exactly as those which are passed to a C program’s
main function. It is important to note that the argument list may be
modified (but the contents of the strings pointed to by the argument
list are not). The return value will be the integer passed to the
sys.exit() function, 1 if the interpreter exits due to an exception, or
2 if the parameter list does not represent a valid Python command line.

However, if teh user type sys.exit(whatever), Py_Main() is call exit()
instead of returning, which cause program termination before cleanup and
stuff.

--
components: None
messages: 81760
nosy: Rogi
severity: normal
status: open
title: Py_Main() does not return on sys.exit()
versions: Python 2.6

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5227
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue637094] print to unicode stream should __unicode

2009-02-12 Thread STINNER Victor

STINNER Victor victor.stin...@haypocalc.com added the comment:

 Python3 fixes the print statement to be a function, which allows
 much better extensibility of the concept.

 You can have the same in Python2 with a little effort: just create
 your own myprint() function and have it process Unicode in whatever
 way you want.

About myprint(): sure, it's possible to write a custom issue. But the feature 
request was to use obj.__unicode__() instead of obj.__str__() for an unicode 
aware stream.

The problem with Python2 is that there is not clear separation between bytes 
stream (raw stream?) and unicode aware stream (like io.open or 
codecs.open). I think that fixing this issue (#637094) was one of the goal of 
the new I/O library (io in Python3).

Using __unicode__() for some object and __str__() for some other sounds 
strange/dangerous to me. I prefer bytes-only stream or unicode-only stream, 
but not bytes-and-sometimes-unicode stream.

Python2 has only bytes stream. Python3 has both: open(name, 'rb') is bytes 
only, and open(name, 'r') is unicode only.

lemburg Does your message mean that you want to reopen the issue?

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue637094
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4998] __slots__ on Fraction is useless

2009-02-12 Thread Mark Dickinson

Mark Dickinson dicki...@gmail.com added the comment:

This needs to be merged before 3.0.1 goes out.  I can't do it right now
since I don't have ssh access;  will do it when I get home if no-one
beats me to it.

--
priority: critical - release blocker

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4998
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4151] Separate build dir broken

2009-02-12 Thread Matthias Klose

Matthias Klose d...@debian.org added the comment:

still seen on the 2.6 branch. applying r69374 on the branch doesn't fix
it there.

--
nosy: +doko
resolution: fixed - 
status: closed - open
versions: +Python 2.6

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4151
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue637094] print to unicode stream should __unicode

2009-02-12 Thread Marc-Andre Lemburg

Marc-Andre Lemburg m...@egenix.com added the comment:

On 2009-02-12 14:22, STINNER Victor wrote:
 STINNER Victor victor.stin...@haypocalc.com added the comment:
 
 Python3 fixes the print statement to be a function, which allows
 much better extensibility of the concept.

 You can have the same in Python2 with a little effort: just create
 your own myprint() function and have it process Unicode in whatever
 way you want.
 
 About myprint(): sure, it's possible to write a custom issue. But the feature 
 request was to use obj.__unicode__() instead of obj.__str__() for an unicode 
 aware stream.
 
 The problem with Python2 is that there is not clear separation between bytes 
 stream (raw stream?) and unicode aware stream (like io.open or 
 codecs.open). I think that fixing this issue (#637094) was one of the goal of 
 the new I/O library (io in Python3).

True, but the point of the original request was that the stream
should decide how to print the object, ie. you pass the object to
the stream's .write() method instead of first running str() on
it and then passing this to the .write() method.

This is easy to have using a custom print function and indeed
a good way to proceed if you want to port to Python3 at some
later point.

 Using __unicode__() for some object and __str__() for some other sounds 
 strange/dangerous to me. I prefer bytes-only stream or unicode-only stream, 
 but not bytes-and-sometimes-unicode stream.

If you use a StreamWriter instance in Python2 which uses one of
the Unicode codecs, then it will accept ASCII strings or Unicode
as input for .write(), ie. the stream decides on how to process
the input.

 Python2 has only bytes stream. Python3 has both: open(name, 'rb') is bytes 
 only, and open(name, 'r') is unicode only.

That's not entirely correct. Python2's codecs.py module provides
streams which can implement several different type combinations
for input and output.

 lemburg Does your message mean that you want to reopen the issue?

No, I just wanted to correct your statement :-)

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue637094
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4751] Patch for better thread support in hashlib

2009-02-12 Thread Lukas Lueg

Lukas Lueg knabberknusperh...@yahoo.de added the comment:

yes, I got lost on that one. I'll create a patch for 2.7 tonight.

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4751
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5228] multiprocessing not compatible with functools.partial

2009-02-12 Thread ndbecker

New submission from ndbecker ndbeck...@gmail.com:

from multiprocessing import Pool

def power (x, pwr=2):
return x**pwr

import functools
run_test = functools.partial (power, pwr=3)

if __name__ == __main__:

pool = Pool()
cases = [3,4,5]
results = pool.map (run_test, cases)

TypeError: type 'partial' takes at least one argument
Traceback (most recent call last):
  File /usr/lib/python2.5/site-packages/multiprocessing-2.6.1.1-py2.5-
self.run()
  File /usr/lib/python2.5/site-packages/multiprocessing-2.6.1.1-py2.5-
self._target(*self._args, **self._kwargs)
  File /usr/lib/python2.5/site-packages/multiprocessing-2.6.1.1-py2.5-
task = get()
  File /usr/lib/python2.5/site-packages/multiprocessing-2.6.1.1-py2.5-
return recv()
TypeError: type 'partial' takes at least one argument

--
components: Library (Lib)
messages: 81766
nosy: jnoller, ndbecker
severity: normal
status: open
title: multiprocessing not compatible with functools.partial
type: behavior
versions: Python 2.5

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5228
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5228] multiprocessing not compatible with functools.partial

2009-02-12 Thread Jesse Noller

Changes by Jesse Noller jnol...@gmail.com:


--
assignee:  - jnoller
nosy: +christian.heimes

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5228
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5228] multiprocessing not compatible with functools.partial

2009-02-12 Thread Jesse Noller

Jesse Noller jnol...@gmail.com added the comment:

See this mail thread:
http://mail.python.org/pipermail/python-dev/2009-February/086034.html

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5228
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5186] Reduce hash collisions for objects with no __hash__ method

2009-02-12 Thread Mark Dickinson

Mark Dickinson dicki...@gmail.com added the comment:

 Though I prefer you switch to x ^= x  4.

Okay, how about this one?  Short and sweet.  No loss of information
except when sizeof(void *)  sizeof(long) (unavoidable until someone
finds a way to fit all 64-bit pointers into a 32-bit integer type...)

Added file: http://bugs.python.org/file13054/pointer_hash5.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5186
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5194] OS X IDLE.app and bin/idle: missing/extra menu options

2009-02-12 Thread Ronald Oussoren

Ronald Oussoren ronaldousso...@mac.com added the comment:

I've fixed this for 3.1 in r69532. Fixed for 3.0 in r69533 (backport of 
the other patch).

The actual checkin is based on patch-nad0014-py3k-30.txt, but with some 
minor tweaks (I use idlelib.macosxSupport.runningAsOSXApp throughout, 
instead of sometimes doing the same check by hand).

--
nosy: +ronaldoussoren
resolution:  - accepted

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5194
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5195] OS X IDLE.app and bin/idle: incorrect key defaults in 3.x

2009-02-12 Thread Ronald Oussoren

Ronald Oussoren ronaldousso...@mac.com added the comment:

Applied the patch as r69534 (3.1) and r69534 (3.0)

--
nosy: +ronaldoussoren
resolution:  - accepted
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5195
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5196] OS X IDLE.app: may not launch on 3.x

2009-02-12 Thread Ronald Oussoren

Ronald Oussoren ronaldousso...@mac.com added the comment:

Applied as r69536 (3.1) and r69537 (3.0)

--
nosy: +ronaldoussoren
resolution:  - accepted
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5196
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5225] OS X Update Shell Profile may not update $PATH if run more than once

2009-02-12 Thread Ronald Oussoren

Ronald Oussoren ronaldousso...@mac.com added the comment:

I don't like this patch because it could grow the users profile without 
bounds when switching back and forth between two python versions.

--
nosy: +ronaldoussoren

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5225
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5226] OS X installer: Welcome and Readme files are out-of-date

2009-02-12 Thread Ronald Oussoren

Ronald Oussoren ronaldousso...@mac.com added the comment:

Applied patch for 3.1 (r69538) and 3.0 (r69539).

--
nosy: +ronaldoussoren
resolution:  - accepted

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5226
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5226] OS X installer: Welcome and Readme files are out-of-date

2009-02-12 Thread Benjamin Peterson

Changes by Benjamin Peterson benja...@python.org:


--
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5226
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5143] OS X: Py_SetProgramName argument has type char*; should be wchar_t*

2009-02-12 Thread Ronald Oussoren

Ronald Oussoren ronaldousso...@mac.com added the comment:

I've applied both the fix and tests in r69540 (3.1) and r69541 (3.0)

--
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5143
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3883] Bottom buttons of IDLE Preferences Pane on Mac not wide enough for their text.

2009-02-12 Thread Ronald Oussoren

Ronald Oussoren ronaldousso...@mac.com added the comment:

I've committed the ronald-configDialog.patch to 3.1 and 3.0. This does 
mostly the same as Kevin's patch, but only on OSX (that is, I check for 
OSX and don't add the padding arguments in that case). 

I haven't applied Kevin's patch as is because I don't know if that will 
break other platforms and the 3.0.1 release is very near. 

Committed as r69542 (3.1) and r69543 (3.0)

Still need to commit the same patch for 2.6

--
nosy: +ronaldoussoren
resolution:  - accepted
Added file: http://bugs.python.org/file13055/ronald-configDialog.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3883
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5224] OS X installer: Update Shell Profile script is not updated

2009-02-12 Thread Ronald Oussoren

Ronald Oussoren ronaldousso...@mac.com added the comment:

Committed as r69544 (3.1) and r69545 (3.0)

--
nosy: +ronaldoussoren

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5224
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1533164] Installed but not listed *.pyo break bdist_rpm

2009-02-12 Thread Jim Baker

Jim Baker jba...@zyasoft.com added the comment:

Ideally packages should not need to add optimize=1 to their setup.cfg, 
as this currently breaks Jython compatibility. This is because Jython, 
including 2.5, does not support the -O flag.

--
nosy: +jbaker

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1533164
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5224] OS X installer: Update Shell Profile script is not updated

2009-02-12 Thread Benjamin Peterson

Changes by Benjamin Peterson benja...@python.org:


--
resolution:  - fixed
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5224
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5186] Reduce hash collisions for objects with no __hash__ method

2009-02-12 Thread Antoine Pitrou

Antoine Pitrou pit...@free.fr added the comment:

 Okay, how about this one? 

Apart from the misindentation (the file should use tabs not spaces),
have you run the benchmark script with it?

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5186
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5226] OS X installer: Welcome and Readme files are out-of-date

2009-02-12 Thread Ronald Oussoren

Ronald Oussoren ronaldousso...@mac.com added the comment:

reopened because this issue was only fixed for python 3.x

--
status: closed - open

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5226
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5210] zlib does not indicate end of compressed stream properly

2009-02-12 Thread Travis Hassloch

Travis Hassloch tra...@giganews.com added the comment:

Here is a patch which adds a member called is_finished to decompression
objects that allows client code to know when it has reached the end of
the compressed stream.

--
keywords: +patch
Added file: http://bugs.python.org/file13056/zlibmodule.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5210
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5224] OS X installer: Update Shell Profile script is not updated

2009-02-12 Thread Ronald Oussoren

Ronald Oussoren ronaldousso...@mac.com added the comment:

Reopened the issue because it is only fixed for 3.x at the moment.

--
status: closed - open

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5224
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2263] struct.pack() + numpy int raises SystemError

2009-02-12 Thread engelbert gruber

engelbert gruber grub...@users.sourceforge.net added the comment:

Including Py_TPFLAGS_INT_SUBCLASS in numpy's BASEFLAGS cures this.
This is an external problem then.
But I could not find any reference to Py_TPFLAGS_*_SUBCLASS in the
documentation, that is a python problem.

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2263
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2263] struct.pack() + numpy int raises SystemError

2009-02-12 Thread Antoine Pitrou

Antoine Pitrou pit...@free.fr added the comment:

Ok, so Python has to improve its C-API documentation, and numpy to fix
its int types :)

--
assignee:  - georg.brandl
components: +Documentation -Library (Lib)
nosy: +georg.brandl, pitrou
priority:  - normal
versions: +Python 2.6, Python 3.0, Python 3.1 -Python 2.5

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2263
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1537445] urllib2 httplib _read_chunked timeout

2009-02-12 Thread Daniel Diniz

Daniel Diniz aja...@gmail.com added the comment:

Should this one be closed and docs discussed in a new one? Volunteers? :)

--
assignee:  - georg.brandl
components: +Documentation, Library (Lib) -None
nosy: +ajaksu2, georg.brandl, orsenthil
stage:  - test needed
type:  - behavior
versions: +Python 2.6 -Python 2.4

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1537445
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2202] urllib2 fails against IIS 6.0 (No support for MD5-sess auth)

2009-02-12 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
nosy: +orsenthil
stage:  - test needed
versions:  -Python 2.5

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2202
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1448934] urllib2+https+proxy not working

2009-02-12 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
dependencies: +Added HTTP{,S}ProxyConnection
nosy: +orsenthil
stage:  - test needed
versions: +Python 2.7

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1448934
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1595365] User-agent header added by an opener is frozen

2009-02-12 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
components: +Library (Lib) -None
nosy: +orsenthil
stage:  - test needed
type:  - behavior
versions: +Python 2.6 -Python 2.4

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1595365
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1520831] urrlib2 max_redirections=0 disables redirects

2009-02-12 Thread Daniel Diniz

Daniel Diniz aja...@gmail.com added the comment:

rus_r_orange: Can you share your patch and tests?

--
nosy: +ajaksu2, orsenthil
stage:  - test needed
versions: +Python 2.7

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1520831
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1160328] urllib2 post error when using httpproxy

2009-02-12 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
nosy: +orsenthil
stage:  - test needed
type:  - behavior
versions: +Python 2.6 -Python 2.4

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1160328
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1368312] fix for scheme identification in urllib2?

2009-02-12 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
nosy: +orsenthil
stage:  - test needed
type:  - behavior
versions: +Python 2.6

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1368312
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue979407] urllib2 digest auth totally broken

2009-02-12 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
components: +Library (Lib) -None
dependencies: +urllib2 doesn't handle username/password in url
nosy: +orsenthil
stage:  - test needed
type:  - behavior
versions: +Python 2.6

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue979407
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1508475] transparent gzip compression in liburl2

2009-02-12 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
components: +Library (Lib)
nosy: +orsenthil
stage:  - test needed
type:  - feature request
versions: +Python 2.7 -Python 2.4

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1508475
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1490929] urllib.retrieve's reporthook called with non-helpful value

2009-02-12 Thread Daniel Diniz

Daniel Diniz aja...@gmail.com added the comment:

Patch has docs, tests needed.

--
nosy: +ajaksu2, orsenthil
stage:  - test needed
versions: +Python 2.7

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1490929
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4894] Docs for urllib.request.HTTPRedirectHandler.redirect_request missing hdrs paramether

2009-02-12 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
keywords: +easy
nosy: +orsenthil
stage:  - patch review
title: documentaion doesn't include parameter in 
urllib.request.HTTPRedirectHandler.redirect_request - Docs for 
urllib.request.HTTPRedirectHandler.redirect_request missing hdrs paramether
type:  - feature request

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4894
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3244] multipart/form-data encoding

2009-02-12 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
dependencies: +Support iterable bodies in httplib
keywords: +easy
nosy: +orsenthil
stage:  - test needed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3244
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3066] FD leak in urllib2

2009-02-12 Thread Daniel Diniz

Daniel Diniz aja...@gmail.com added the comment:

Has (non-unittest) test and proposed (non-diff) patch inline.

--
nosy: +ajaksu2, orsenthil
stage:  - test needed
versions: +Python 2.6 -Python 2.4

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3066
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3407] test_urllib2_localnet fails on MacOS X 10.4.11 (Intel)

2009-02-12 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
nosy: +orsenthil

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3407
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3407] test_urllib2_localnet fails on MacOS X 10.4.11 (Intel)

2009-02-12 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
versions: +Python 3.0

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3407
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3583] test_urllibnet.test_bad_address() fails when using OpenDNS

2009-02-12 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
components: +Tests -Library (Lib)
nosy: +orsenthil
stage:  - test needed
versions: +Python 3.0

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3583
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1453973] addheaders for urlopen / open / xxxx_open

2009-02-12 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
nosy: +orsenthil
stage:  - test needed
versions: +Python 2.7, Python 3.1

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1453973
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1519816] urllib2 proxy does not work in 2.4.3

2009-02-12 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
nosy: +orsenthil
stage:  - test needed
type:  - behavior
versions: +Python 2.6 -Python 2.4

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1519816
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3702] test_urllib2.test_trivial fails when run from another Windows drive

2009-02-12 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
nosy: +orsenthil
stage:  - test needed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3702
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2244] urllib and urllib2 decode userinfo multiple times

2009-02-12 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
nosy: +orsenthil
stage:  - test needed
versions: +Python 3.0 -Python 2.5

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2244
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5228] multiprocessing not compatible with functools.partial

2009-02-12 Thread Antoine Pitrou

Antoine Pitrou pit...@free.fr added the comment:

Rather than implement a multiprocessing-specific fix, it would certainly
be better to make functools.partial picklable, as pointed out in the ML
thread Jesse linked to.

--
nosy: +pitrou

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5228
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5228] multiprocessing not compatible with functools.partial

2009-02-12 Thread Jesse Noller

Jesse Noller jnol...@gmail.com added the comment:

 Antoine Pitrou pit...@free.fr added the comment:

 Rather than implement a multiprocessing-specific fix, it would certainly
 be better to make functools.partial picklable, as pointed out in the ML
 thread Jesse linked to.


I would tend to agree

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5228
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4998] __slots__ on Fraction is useless

2009-02-12 Thread Mark Dickinson

Mark Dickinson dicki...@gmail.com added the comment:

Merged (manually) to py3k in r69547;  svnmerged to 3.0 and 2.6 in r69548, 
r69549.

--
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4998
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue618023] imap handler in urllib(2)

2009-02-12 Thread Daniel Diniz

Daniel Diniz aja...@gmail.com added the comment:

Does imaplib cover this?

--
components: +Library (Lib) -Extension Modules
nosy: +ajaksu2, orsenthil
versions: +Python 2.7, Python 3.1

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue618023
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1285440] Digest Authentication not working in all cases

2009-02-12 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
components: +Library (Lib) -Extension Modules
nosy: +orsenthil
stage:  - test needed
type:  - behavior
versions: +Python 2.6 -Python 2.4

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1285440
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1368368] prompt_user_passwd() in FancyURLopener masks 401 Unauthorized error page

2009-02-12 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
components: +Library (Lib) -None
nosy: +orsenthil
stage:  - test needed
title: prompt_user_passwd() in FancyURLopener - prompt_user_passwd() in 
FancyURLopener masks 401 Unauthorized error page
type:  - behavior
versions: +Python 2.6, Python 3.0 -Python 2.5

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1368368
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1634770] Please provide rsync-method in the urllib[2] module

2009-02-12 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
nosy: +orsenthil
stage:  - test needed
versions: +Python 2.7, Python 3.1 -Python 2.6

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1634770
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1682241] Problems with urllib2 read()

2009-02-12 Thread Daniel Diniz

Daniel Diniz aja...@gmail.com added the comment:

Patch has tests too (might need updating).

--
nosy: +ajaksu2, orsenthil
stage:  - patch review
type:  - behavior
versions: +Python 2.6 -Python 2.5

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1682241
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1682241] Problems with urllib2 read()

2009-02-12 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1682241
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1682241] Problems with urllib2 read()

2009-02-12 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
stage: patch review - test needed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1682241
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1673007] urllib2 requests history + HEAD support

2009-02-12 Thread Daniel Diniz

Daniel Diniz aja...@gmail.com added the comment:

Patch has tests too, might need updating.

:)

--
nosy: +ajaksu2, orsenthil
stage:  - patch review
type:  - feature request
versions: +Python 2.7 -Python 2.6

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1673007
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1424148] urllib.FancyURLopener.redirect_internal looses data on POST!

2009-02-12 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
dependencies: +urllib2 POSTs on redirect
nosy: +orsenthil
stage:  - test needed
type:  - behavior
versions: +Python 2.6, Python 3.0 -Python 2.4

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1424148
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1067702] urllib fails with multiple ftps

2009-02-12 Thread Daniel Diniz

Daniel Diniz aja...@gmail.com added the comment:

OP supplied a detailed test. Needs confirmation.

--
nosy: +ajaksu2, orsenthil
stage:  - test needed
type:  - behavior
versions: +Python 2.6 -Python 2.3

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1067702
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1285086] urllib.quote is too slow

2009-02-12 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
nosy: +orsenthil
stage:  - test needed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1285086
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4140] urllib2: request with digest auth through proxy fail

2009-02-12 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
stage:  - test needed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4140
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1682241] Problems with urllib2 read()

2009-02-12 Thread Antoine Pitrou

Antoine Pitrou pit...@free.fr added the comment:

I think the bug should be closed as invalid. seek() should only be
implemented by genuinely seekable streams, which HTTP responses aren't.

--
nosy: +pitrou

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1682241
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4733] Add a decode to declared encoding version of urlopen to urllib

2009-02-12 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
nosy: +orsenthil

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4733
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1599329] urllib(2) should allow automatic decoding by charset

2009-02-12 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
dependencies: +Add a decode to declared encoding version of urlopen to urllib
nosy: +orsenthil
stage:  - test needed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1599329
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4733] Add a decode to declared encoding version of urlopen to urllib

2009-02-12 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
dependencies: +urllib(2) should allow automatic decoding by charset

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4733
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1349732] urllib.urlencode provides two features in one param

2009-02-12 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
nosy: +orsenthil
type:  - feature request
versions: +Python 2.6 -Python 2.7

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1349732
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1027206] unicode DNS names in socket, urllib, urlopen

2009-02-12 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
components: +Unicode
nosy: +haypo, orsenthil
stage:  - test needed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1027206
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1327971] HTTPResponse instance has no attribute 'fileno'

2009-02-12 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
nosy: +orsenthil
versions:  -Python 2.4, Python 2.5, Python 2.7

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1327971
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue918368] urllib doesn't correct server returned urls

2009-02-12 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
dependencies: +http_error_302() crashes with 'HTTP/1.1 400 Bad Request
nosy: +orsenthil

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue918368
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4151] Separate build dir broken

2009-02-12 Thread Neil Schemenauer

Neil Schemenauer nas-pyt...@arctrix.com added the comment:

On Thu, Feb 12, 2009 at 01:32:37PM +, Matthias Klose wrote:
 still seen on the 2.6 branch. applying r69374 on the branch doesn't fix
 it there.

The fix is spread over a number of commits: r69374, r69322, r69315,
r69305, r69304, r69303, r69302.  It could be backported but changing
the build system is always fraught with portability traps and that's
why it ends up turning to crud over time.

Obviously most core Python developers don't build in a separate
directory otherwise this feature won't have been broken for so long.

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4151
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2600] BindingHTTPConnectionWithTimeout and BindingHTTPHandlerWithTimeout

2009-02-12 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
nosy: +orsenthil
stage:  - test needed
versions: +Python 2.7, Python 3.1 -Python 2.6

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2600
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1368368] prompt_user_passwd() in FancyURLopener masks 401 Unauthorized error page

2009-02-12 Thread Antoine Pitrou

Antoine Pitrou pit...@free.fr added the comment:

Adding something like an `interactive=True` could do the trick (setting
it to False meaning you don't want any password prompt or any other
similar console interaction with the user).

--
nosy: +pitrou

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1368368
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3991] urllib.request.urlopen does not handle non-ASCII characters

2009-02-12 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
nosy: +orsenthil

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3991
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5072] urllib.open sends full URL after GET command instead of local path

2009-02-12 Thread Daniel Diniz

Daniel Diniz aja...@gmail.com added the comment:

Anyone against closing this as works for me?

--
keywords: +patch
nosy: +ajaksu2, orsenthil
stage:  - test needed
versions: +Python 2.6 -Python 2.5

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5072
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5038] urrlib2/httplib doesn't reset file position between requests

2009-02-12 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
nosy: +ajaksu2, orsenthil
stage:  - test needed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5038
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4932] Little improvement on urlparse module, urlparse function.

2009-02-12 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
nosy: +orsenthil
stage:  - test needed
versions: +Python 2.7 -Python 2.5

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4932
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4773] HTTPMessage not documented and has inconsistent API across 2.6/3.0

2009-02-12 Thread Daniel Diniz

Daniel Diniz aja...@gmail.com added the comment:

ISTM that these issues tend to go all the way up to test coverage and
organization :/

--
assignee:  - georg.brandl
components: +Documentation
nosy: +ajaksu2, georg.brandl, orsenthil
stage:  - test needed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4773
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4758] Python 3.0 internet documentation needs work

2009-02-12 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
nosy: +orsenthil
stage:  - needs patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4758
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5032] itertools.count step

2009-02-12 Thread David W. Lambert

David W. Lambert lamber...@corning.com added the comment:

I run my shells with low priority so I can sneak around and kill them.

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5032
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4675] urllib's splitpasswd does not accept newline chars in passwords

2009-02-12 Thread Daniel Diniz

Daniel Diniz aja...@gmail.com added the comment:

Inline test included in the patch.

--
nosy: +ajaksu2, orsenthil
stage:  - test needed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4675
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3002] shutil.copyfile blocks indefinitely on named pipes

2009-02-12 Thread François Granade

François Granade franc...@granade.com added the comment:

Note that the 'cp' user command in Linux blocks also. Although this is
*very* painful, you could argue that since the OS commands do the same
thing, it shouldn't be fixed.

--
nosy: +farialima

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3002
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3428] httplib.HTTPMessage undocumented

2009-02-12 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
nosy: +ajaksu2, orsenthil
priority:  - normal
stage:  - needs patch
type:  - behavior
versions: +Python 2.6 -Python 2.5

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3428
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3849] FUD in documentation for urllib.urlopen()

2009-02-12 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
nosy: +orsenthil
stage:  - needs patch
versions: +Python 2.6, Python 3.0 -Python 2.4, Python 2.5

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3849
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2637] urllib.quote() escapes characters unnecessarily and contrary to docs

2009-02-12 Thread Daniel Diniz

Daniel Diniz aja...@gmail.com added the comment:

@Tom: issue 1712522 tracks Unicode support.

--
assignee:  - georg.brandl
components: +Documentation
dependencies: +urllib.quote throws exception on Unicode URL
keywords: +easy
nosy: +ajaksu2, ezio.melotti, georg.brandl, haypo, orsenthil
stage:  - test needed
versions: +Python 2.6 -Python 2.5

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2637
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3427] urllib documentation: urlopen().info() return type

2009-02-12 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
dependencies: +httplib.HTTPMessage undocumented
nosy: +orsenthil
stage:  - needs patch
versions: +Python 2.6 -Python 2.5

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3427
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4773] HTTPMessage not documented and has inconsistent API across 2.6/3.0

2009-02-12 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
dependencies: +httplib.HTTPMessage undocumented

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4773
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4493] urllib2 doesn't always supply / where URI path component is empty

2009-02-12 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
dependencies: +urllib2 can't handle http://www.wikispaces.com
nosy: +orsenthil
stage:  - test needed
type:  - behavior
versions: +Python 2.6

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4493
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5229] Documentation for super() neglects to say what super() actually does

2009-02-12 Thread Daniel Stutzbach

New submission from Daniel Stutzbach dan...@stutzbachenterprises.com:

The documentation for super() describes the arguments that can be passed
to super(), use cases for super(), an example, and caveats about what
cannot be done with the returned object.  However, the documentation
neglects to mention what super() actually *does*, except for the
circular definition in the first line: Return a super object that acts
as a proxy to superclasses of type.

Worse still, the definition in the first line is incorrect, since it may
proxy any type in the type hierarchy (not necessarily a superclass).

I found this webpage helpful for understanding what super() actually
does: http://fuhm.net/super-harmful/

I would submit a suggested improvement to the documentation, but I do
not really understand what super() does when the second argument is
omitted or a class.

--
assignee: georg.brandl
components: Documentation
messages: 81804
nosy: georg.brandl, stutzbach
severity: normal
status: open
title: Documentation for super() neglects to say what super() actually does
versions: Python 2.6, Python 2.7, Python 3.0, Python 3.1

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5229
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



<    1   2   3   4   5   >