[issue1648102] proxy_bypass in urllib handling of local macro

2009-05-01 Thread Senthil

Senthil orsent...@gmail.com added the comment:

I have fix this issue, in the revision 72155 for py2.7 and revision
72156 for py3k. 
Unfortunately, we have no tests for any proxy handling condition for
Windows and Darwin. This is a very specific case in the proxy handling;
thought let the fix be in (as per the MSDN spec), unittest coverage can
dealt separately.

--
stage: test needed - committed/rejected
status: open - closed
versions: +Python 2.7, Python 3.1 -Python 2.6

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



[issue5891] strange list.sort() behavior on import, del and inport again

2009-05-01 Thread Martin v. Löwis

Changes by Martin v. Löwis mar...@v.loewis.de:


--
resolution:  - duplicate
status: open - closed

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



[issue5892] strange list.sort() behavior on import, del and inport again

2009-05-01 Thread Martin v. Löwis

Martin v. Löwis mar...@v.loewis.de added the comment:

That is not a bug in Python. The import statement merely adds a
reference to the list into your module, so both variables point to the
very same list (my_module.some_list is other_module.some_list).
Therefore, any changes made to the list through my_module will also
affect the list as seen from other_module.

Closing the report as invalid.

--
nosy: +loewis
resolution:  - invalid
status: open - closed

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



[issue5893] Add support to pydoc to output .rst restructured text

2009-05-01 Thread Gregory P. Smith

New submission from Gregory P. Smith g...@krypto.org:

When writing documentation for a module that is already well documented
in its docstrings, I really wish pydoc could output .rst directly.

It'd mean much less manual editing.

--
components: Demos and Tools
messages: 86866
nosy: gregory.p.smith
priority: normal
severity: normal
status: open
title: Add support to pydoc to output .rst restructured text
type: feature request

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



[issue5894] Lookup of localised language name by ISO 639 language code and reverse look up

2009-05-01 Thread pander

New submission from pander pan...@users.sourceforge.net:

Hi all,

Does a module exist that can look up localised language names for ISO
639 language codes? If not, could one be constructed according to (sort
of) the following specifications?

1) Look up a localised language name for an ISO 639-1 language code for
a required parameter named code, providing the language code, and an
optional parameter named lang, providing the output language code, which
by default is set to 'en'. Example input and output would would be:

iso6391name(code='en') = 'English'
iso6391name(code='zu', lang='en') = 'Zulu'
iso6391name(code='zu', lang='nl') = 'Zoeloe'
iso6391name(code='nl', lang='en') = 'Dutch'

2) Reverse lookup of 1) from localised language to language code, e.g.:
iso6391code(name='English') = 'en'
iso6391code(name='Zulu', lang='en') = 'zu'
iso6391code(name='Zoeloe', lang='nl') = 'zu'
iso6391code(name='Dutch', lang='en') = 'nl'

3) Look up native language name for an ISO 639-1 language code for a
required parameter named code, providing the language code. Example
input and output would would be:

iso6391native(code='en') = 'English'
iso6391native(code='nl) = 'Nederlands'

4) Retrieving a tuple with all language codes. Example output would be:

iso6391codes() = ('aa', 'ab', ..., 'zu')

5) Retrieving a tuple with all localised language names for an optional
parameter named lang, providing the output language code, which by
default is set to 'en'. Example input and output would be:

iso6391names() = ('Afar', 'Abkhazian', ..., 'Zulu')
iso6391names(lang='nl') = ('Afar', 'Abchazisch', ..., 'Zoeloe')

6), 7), 8), 9), 10) Something similar for ISO 639-2 language codes

11), 12), 13), 14), 15) Something similar for ISO 639-2 language codes

sources:
http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes
http://nl.wikipedia.org/wiki/Lijst_van_ISO_639-1-codes

I have a very simple implementation for English and Dutch but figured
that such a module should be available for all developers in all
languages. Hence this request to build something from scratch in the
Python localisation community.

Implementing functionality as described above will boost the ease of
internalisation and localisation of Python applications.

Please reply to this issue for constructive feedback.

Thanks,

Pander

PS   The original post in i18n-sg is here:
  http://mail.python.org/pipermail/i18n-sig/2009-April/002117.html

--
messages: 86867
nosy: pander
severity: normal
status: open
title: Lookup of localised language name by ISO 639 language code and reverse 
look up
type: feature request

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



[issue5887] mmap.write_byte out of bounds - no error, position gets screwed up

2009-05-01 Thread Hirokazu Yamamoto

Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment:

Can you try this with Python2.6.2? I believe this bug got fixed.

--
nosy: +ocean-city

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



[issue5894] Lookup of localised language name by ISO 639 language code and reverse look up

2009-05-01 Thread Martin v. Löwis

Martin v. Löwis mar...@v.loewis.de added the comment:

I think the pycountry module might be helpful:

http://pypi.python.org/pypi/pycountry

As it is at version 0.11, I think it is very far away of being ready for
inclusion in the standard library. If this doesn't quite do what you
want, please cooperate with the author of the module to make it fit your
needs.

--
nosy: +loewis

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



[issue5889] Extra comma in enum - fails on AIX

2009-05-01 Thread Georg Brandl

Georg Brandl ge...@python.org added the comment:

The comma isn't required, but it's good practice in Python to end lists
with a comma (so that you don't forget adding it when adding new items),
and this habit probably made it into C code there.

Fixed in r72159.

--
nosy: +georg.brandl
resolution:  - fixed
status: open - closed

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



[issue5714] CGIHTTPServer._url_collapse_path_split should live elsewhere

2009-05-01 Thread Senthil

Senthil orsent...@gmail.com added the comment:

Yes, the parsing best be done in urlparse.

As this function claims to do step 6 of RFC2396, I am surprised why it
cannot be done by using existing urlparse functions itself.(Because, the
tests for RFC2396 compliance covers those cases too).

--
nosy: +orsenthil

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



[issue3672] Ill-formed surrogates not treated as errors during encoding/decoding

2009-05-01 Thread Martin v. Löwis

Martin v. Löwis mar...@v.loewis.de added the comment:

Here is a patch that implements this proposed approach. It introduces a
surrogates error handler, useful only for the utf-8 codec.

If this is accepted, the implementation of PEP 383 can be simplified
significantly, essentially removing the need for a separate utf-8b codec
(as that could be done in the error handler, as for the other codecs).

--
assignee:  - benjamin.peterson
keywords: +patch
nosy: +benjamin.peterson
priority: high - release blocker
Added file: http://bugs.python.org/file13827/surrogates.diff

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



[issue3672] Ill-formed surrogates not treated as errors during encoding/decoding

2009-05-01 Thread Martin v. Löwis

Martin v. Löwis mar...@v.loewis.de added the comment:

rietveld: http://codereview.appspot.com/52081

--

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



[issue5894] Lookup of localised language name by ISO 639 language code and reverse look up

2009-05-01 Thread Jeroen Ruigrok van der Werven

Jeroen Ruigrok van der Werven asmo...@in-nomine.org added the comment:

Babel already provides (almost all of) this. It uses the Unicode CLDR
data to present the information you need.

See http://babel.edgewall.org/

--
nosy: +asmodai

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



[issue4587] Need to rework the dbm lib/include selection process

2009-05-01 Thread Matthias Klose

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

applied on the py3k branch as well

--
resolution:  - accepted
status: open - closed

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



[issue5883] detach() implementation

2009-05-01 Thread Antoine Pitrou

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

 The various structures now contain several 'boolean' flags. It would 
 improve memory usage to use bitfields. Or would this impact performance 
 ?

Those structures usually allocate a 4KB- or 8KB- buffer each, so I don't
think squeezing two or three bytes would do a lot of difference
(performance probably wouldn't be affected either).

Also, I don't find the bitfield notation very readable (and it isn't
found anywhere else in the interpreter AFAIK), but that's just me :-)

--

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



[issue5859] Remove implicit '%f' - '%g' switch from float formatting.

2009-05-01 Thread Mark Dickinson

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

Here's a patch which doesn't fix the '%f' - '%g' switch, but paves the
way for that switch by getting rid of the fixed-size buffers in
formatfloat in unicodeobject.c, and in the fallback version of
PyOS_double_to_string.

--
keywords: +patch
Added file: http://bugs.python.org/file13828/issue5859_stage1.patch

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



[issue5859] Remove implicit '%f' - '%g' switch from float formatting.

2009-05-01 Thread Mark Dickinson

Changes by Mark Dickinson dicki...@gmail.com:


--
stage: needs patch - patch review

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



[issue5650] Obsolete RFC's should be removed from doc of urllib.urlparse

2009-05-01 Thread Senthil

Senthil orsent...@gmail.com added the comment:

Georg, shall I take up this one?

--
nosy: +orsenthil

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



[issue5861] test_urllib fails on windows

2009-05-01 Thread Senthil

Senthil orsent...@gmail.com added the comment:

I had made that change. tested only linux, where it was all pass. Shall
address this one soon.

--
assignee:  - orsenthil
nosy: +orsenthil

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



[issue1591035] update urlparse to RFC 3986

2009-05-01 Thread Senthil

Changes by Senthil orsent...@gmail.com:


--
nosy: +orsenthil

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



[issue5859] Remove implicit '%f' - '%g' switch from float formatting.

2009-05-01 Thread Eric Smith

Eric Smith e...@trueblade.com added the comment:

The patch looks good to me.

--

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



[issue5859] Remove implicit '%f' - '%g' switch from float formatting.

2009-05-01 Thread Mark Dickinson

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

No new test failures on Linux or OS X, with or without the fallback code.  
I've committed this in r72161.

--

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



[issue5883] detach() implementation

2009-05-01 Thread Antoine Pitrou

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

The new patch looks good.

--

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



[issue5859] Remove implicit '%f' - '%g' switch from float formatting.

2009-05-01 Thread Mark Dickinson

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

Here's the patch that actually removes the %f - %g switch.

--
Added file: http://bugs.python.org/file13829/issue5859_stage2.patch

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



[issue5893] Add support to pydoc to output .rst restructured text

2009-05-01 Thread R. David Murray

R. David Murray rdmur...@bitdance.com added the comment:

Personally I think that the Sphinx autodoc extension does a better job
of this than having pydoc export .rst would.  Is there some regard in
which that doesn't solve your problem?

--
nosy: +r.david.murray
priority: normal - low

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



[issue5829] float('1e500') - inf, complex('1e500') - ValueError

2009-05-01 Thread Mark Dickinson

Changes by Mark Dickinson dicki...@gmail.com:


--
assignee:  - marketdickinson

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



[issue5859] Remove implicit '%f' - '%g' switch from float formatting.

2009-05-01 Thread Mark Dickinson

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

Fixed in r72165.

--
resolution:  - accepted
status: open - closed

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



[issue5889] Extra comma in enum - fails on AIX

2009-05-01 Thread Sridhar Ratnakumar

Sridhar Ratnakumar sridh...@activestate.com added the comment:

Georg, should this fix also be applied to the py3k branch as I am able
to repro this on 3.1a2?

--

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



[issue1555842] email package and Unicode strings handling

2009-05-01 Thread Ben Gamari

Changes by Ben Gamari bgam...@gmail.com:


--
nosy: +bgamari

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



[issue1685453] email package should work better with unicode

2009-05-01 Thread Ben Gamari

Changes by Ben Gamari bgam...@gmail.com:


--
nosy: +bgamari

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



[issue5889] Extra comma in enum - fails on AIX

2009-05-01 Thread Georg Brandl

Georg Brandl ge...@python.org added the comment:

Yes, in fact it already has been merged.

--

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



[issue5895] socketmodule.c on HPUX ia64 without _XOPEN_SOURCE_EXTENDED compiles incorrectly

2009-05-01 Thread Naoyuki Tai

New submission from Naoyuki Tai n...@users.sourceforge.net:

Python can build without _XOPEN_SOURCE_EXTENDED on HPUX ia64 but the
socket module is bust.
This is because APIs like getsockname() do not use socklen_t*. Instead
it is defined using int* for some of arguments.
In socketmodule.c, it consistently use socklent_t which is the right
thing for the rest of world.
Because socklent_t is 64bit (same as size_t) and int is 32bit, it
compiles with warnings of different types of pointer but it compiles anyway.
The result is that, getsockname(), etc. take a look at the 32bit out of
64bit value thinking it is zero (big endian machine).
APIs succeed without error but the result does not come back since the
API calls think that the return value buffer size is 0.

My Python build is 2.5. I think the same is true for all versions
thereafter. I wish I could give you a diff but I don't know well enough
the socketmodule.c what's the right thing to do.
I cannot use _XOPEN_SOURCE_EXTENDED as I have other python bindings and
modules built without _XOPEN_SOURCE_EXTENDED.

--
components: Extension Modules
messages: 86889
nosy: ntai
severity: normal
status: open
title: socketmodule.c  on HPUX ia64 without _XOPEN_SOURCE_EXTENDED compiles 
incorrectly
type: compile error
versions: Python 2.5, Python 2.6, Python 2.7, Python 3.0, Python 3.1

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



[issue5893] Add support to pydoc to output .rst restructured text

2009-05-01 Thread Gregory P. Smith

Gregory P. Smith g...@krypto.org added the comment:

oh. sphinx can already do this?  nevermind then.

*goes off to look closer at sphinx*

--
resolution:  - rejected
status: open - closed

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



[issue5896] timeit documentation

2009-05-01 Thread how rabbit feels

New submission from how rabbit  feels hrfe...@gmail.com:

It should be noted in the documentation that the 'setup' argument may be
a semicolon delimited list of imports:

Example:

t = timeit.Timer('squeezer.testRegular()', 'import squeezer; from
squeezer import myStaticData1, myStaticData2, testRegular')



related issues: 2527, 5441, 1397474

--
assignee: georg.brandl
components: Documentation
messages: 86891
nosy: georg.brandl, hrfeels
severity: normal
status: open
title: timeit documentation
versions: Python 2.5, Python 2.6, Python 2.7, Python 3.0, Python 3.1

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



[issue5897] No library reference tree in chm help file

2009-05-01 Thread Suraj Barkale

New submission from Suraj Barkale suraj+pyt...@barkale.com:

In the windows help file installed with Python 2.6.2, many topics (e.g.
Python Standard Library) are shown are leaf nodes instead of books.
After checking source code, `:numbered:` clause was added to many
index.rst files in revision 71270. The TOC for these files no longer
appears in the CHM viewer.

--
assignee: georg.brandl
components: Documentation
messages: 86892
nosy: georg.brandl, suraj
severity: normal
status: open
title: No library reference tree in chm help file
versions: Python 2.6

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



[issue5897] No library reference tree in chm help file

2009-05-01 Thread Georg Brandl

Georg Brandl ge...@python.org added the comment:

This is already tracked in #5764.

--
resolution:  - duplicate
status: open - closed
superseder:  - 2.6.2 Python Manuals CHM file seems broken

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



[issue5893] Add support to pydoc to output .rst restructured text

2009-05-01 Thread Georg Brandl

Georg Brandl ge...@python.org added the comment:

I'd like to note that what Sphinx can't do -- or better, doesn't do at
the moment, is to output full reStructuredText documents when using
autodoc.  It directly integrates the docstrings into the doctree that
will become the output.

So, for the Python documentation itself, where we do not want to use
autodoc (it would be nice, but would require that the documentation be
built using the version of Python that is documented, which is e.g.
currently impossible in the case of 3.x), this is of no great help.

--
nosy: +georg.brandl

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



[issue5650] Obsolete RFC's should be removed from doc of urllib.urlparse

2009-05-01 Thread Georg Brandl

Georg Brandl ge...@python.org added the comment:

Yes, you've probably a better understanding of what differentiates an
URL and URI than me :)

--

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



[issue3672] Ill-formed surrogates not treated as errors during encoding/decoding

2009-05-01 Thread Martin v. Löwis

Changes by Martin v. Löwis mar...@v.loewis.de:


Removed file: http://bugs.python.org/file13827/surrogates.diff

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



[issue3672] Ill-formed surrogates not treated as errors during encoding/decoding

2009-05-01 Thread Martin v. Löwis

Martin v. Löwis mar...@v.loewis.de added the comment:

Fixed indexing error.

--
Added file: http://bugs.python.org/file13830/surrogates.diff

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



[issue1443504] locale.getpreferredencoding() dies when setlocale fails

2009-05-01 Thread Martin v. Löwis

Martin v. Löwis mar...@v.loewis.de added the comment:

The patch looks fine to me.

--
nosy: +loewis

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



[issue3959] Add Google's ipaddr.py to the stdlib

2009-05-01 Thread Gregory P. Smith

Gregory P. Smith g...@krypto.org added the comment:

Committed to trunk (2.7) in r72173.  I'll merge it into py3k later this
afternoon.

--
priority: normal - release blocker
versions:  -Python 2.7

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



[issue1662] [patch] assert tp_traverse in PyType_GenericAlloc()

2009-05-01 Thread Antoine Pitrou

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

It would be probably be better to put this check in PyType_Ready() instead.

--
nosy: +pitrou
versions: +Python 2.7, Python 3.1 -Python 2.6

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



[issue5898] Hang in Popen.wait() when another process has been created

2009-05-01 Thread François Granade

New submission from François Granade franc...@granade.com:

If I remove the proc2.stdin.close() in the script below, the
proc1.wait() will hang. Tested on MacOS, Linux, CygWin on 2.5.2 and
2.6. Is it a bug ?

from subprocess import Popen, PIPE
proc1 = Popen('cat -', shell=True, stdin=PIPE, stdout=PIPE)
proc2 = Popen('cat -', shell=True, stdin=PIPE, stdout=PIPE)
# Removing this line make the proc1.wait() hang
proc2.stdin.close()

proc1.stdin.close()
proc1.wait()

--
components: Library (Lib)
messages: 86901
nosy: farialima
severity: normal
status: open
title: Hang in Popen.wait() when another process has been created
type: behavior
versions: Python 2.5, Python 2.6

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



[issue3959] Add Google's ipaddr.py to the stdlib

2009-05-01 Thread Antoine Pitrou

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

Is there any chance the test methods in test_ipaddr can be PEP8-ified?

--

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



[issue3959] Add Google's ipaddr.py to the stdlib

2009-05-01 Thread pmoody

pmoody pyt...@hda3.com added the comment:

I'll submit a change for this to trunk in a second.

On Fri, May 1, 2009 at 1:16 PM, Antoine Pitrou rep...@bugs.python.org wrote:

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

 Is there any chance the test methods in test_ipaddr can be PEP8-ified?

 --

 ___
 Python tracker rep...@bugs.python.org
 http://bugs.python.org/issue3959
 ___


--

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



[issue5753] CVE-2008-5983 python: untrusted python modules search path

2009-05-01 Thread Antoine Pitrou

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

What is the problem exactly?
An user can run arbitrary Python code from a file in his own account --
well, sure, that's a feature. Unless I'm misunderstanding something.

--
nosy: +pitrou

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



[issue1443504] locale.getpreferredencoding() dies when setlocale fails

2009-05-01 Thread Martin v. Löwis

Martin v. Löwis mar...@v.loewis.de added the comment:

 But I am curious about your thoughts about the _parse_localename()
 method being called from setlocale() raising a ValueError, whereas a
 setlocale(LC_CTYPE, ) should not fail at all, which it currently does
 if the locale in the environment is not valid.

I fail to see how this is related to this issue. In the OP's report,
the exception was locale.Error, not ValueError, and _parse_localename
isn't ever being called from setlocale() - why do you think it is being
called? AFAICT, the only callers of _parse_localename are getlocale and
getdefaultlocale (which, IMO, should both be deprecated).

--

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



[issue5753] CVE-2008-5983 python: untrusted python modules search path

2009-05-01 Thread Antoine Pitrou

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

I wanted to read the patch at
https://bugzilla.redhat.com/attachment.cgi?id=334888 but apparently its
access is restricted...

--

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



[issue5898] Hang in Popen.wait() when another process has been created

2009-05-01 Thread François Granade

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

Note that I use this wait(), otherwise, on CygWin, proc1 does not
properly dies, and leaves opened (undeletable - that's windows !) files
around

--

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



[issue5883] detach() implementation

2009-05-01 Thread Benjamin Peterson

Benjamin Peterson benja...@python.org added the comment:

Applied in r72175.

--
resolution:  - accepted
status: open - closed

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



[issue1443504] locale.getpreferredencoding() dies when setlocale fails

2009-05-01 Thread Jeroen Ruigrok van der Werven

Jeroen Ruigrok van der Werven asmo...@in-nomine.org added the comment:

Sorry, I was actually off by a method last night.

It turns out the problem lies in _localemodule.c.

Let me start with the basic question: is our setlocale() supposed to
mirror POSIX' operations/semantics?

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1443504
___
___
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-05-01 Thread Antoine Pitrou

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

Committed in r72178, r72179. Thanks!

--
resolution:  - fixed
status: open - closed

___
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



[issue2116] weakref copy module interaction

2009-05-01 Thread Antoine Pitrou

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

Raymond, Guido, any opinion on this one?

--
assignee: tim_one - 
nosy: +gvanrossum, rhettinger
stage:  - patch review
versions: +Python 2.7, Python 3.1 -Python 2.5

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



[issue5890] Subclassing property doesn't preserve the auto __doc__ behavior

2009-05-01 Thread R. David Murray

R. David Murray rdmur...@bitdance.com added the comment:

What is happening here is that when __doc__ is looked up, it is found
first among the attributes of the class type.  __doc__ is special, and
types define it to be None if it not set to anything specific.  So the
docstring for an instance of a subclass of property is None, or the
docstring of the subclass if one is provided.  The other property
attributes aren't affected since they aren't special attributes on
types, and so get looked up on the base class as expected.

I believe the fix is to have property's __init__ check to see if it is
dealing with a subclass, and if so to insert the __doc__ string into the
instance's __dict__.

Patch attached.  Needs review, especially since I'm new to internals stuff.

--
assignee:  - r.david.murray
components: +Interpreter Core
keywords: +needs review, patch
nosy: +r.david.murray
priority:  - normal
stage:  - patch review
versions: +Python 2.6, Python 2.7, Python 3.0, Python 3.1
Added file: http://bugs.python.org/file13831/issue5890.patch

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



[issue5084] unpickling does not intern attribute names

2009-05-01 Thread Antoine Pitrou

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

(s/string/still/, of course...)

--

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



[issue2181] optimize out local variables at end of function

2009-05-01 Thread Antoine Pitrou

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

Given that it is unlikely to give any speedup in real-world code, I
don't think we should add complexity to the compiler. Recommend closing.

--
nosy: +pitrou

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



[issue5867] No way to create an abstract classmethod

2009-05-01 Thread Terry J. Reedy

Terry J. Reedy tjre...@udel.edu added the comment:

Please ask questions like this first on python-list or the c.l.p or
gmane mirrors.

--
nosy: +tjreedy

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



[issue5890] Subclassing property doesn't preserve the auto __doc__ behavior

2009-05-01 Thread R. David Murray

Changes by R. David Murray rdmur...@bitdance.com:


Removed file: http://bugs.python.org/file13831/issue5890.patch

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



[issue5890] Subclassing property doesn't preserve the auto __doc__ behavior

2009-05-01 Thread R. David Murray

R. David Murray rdmur...@bitdance.com added the comment:

Fixes from review on #python-dev by Benjamin.

It looks like I also need to look at property_copy.

--
Added file: http://bugs.python.org/file13832/issue5890.patch

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



[issue5596] memory leaks in 3.1

2009-05-01 Thread Antoine Pitrou

Changes by Antoine Pitrou pit...@free.fr:


Removed file: http://bugs.python.org/file13459/py3k_fix_leak_of_fileio.patch

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



[issue5726] ld_so_aix does exit successfully even in case of failure

2009-05-01 Thread Antoine Pitrou

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

Committed, thanks!

--
resolution: accepted - fixed
status: open - closed

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



[issue5084] unpickling does not intern attribute names

2009-05-01 Thread Antoine Pitrou

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

Jake, are you string working on a test?

--
priority:  - normal
stage:  - needs patch
versions: +Python 2.7, Python 3.1

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



[issue1443504] locale.getpreferredencoding() dies when setlocale fails

2009-05-01 Thread Martin v. Löwis

Martin v. Löwis mar...@v.loewis.de added the comment:

 Let me start with the basic question: is our setlocale() supposed to
 mirror POSIX' operations/semantics?

Yes, it is.

--

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



[issue5596] memory leaks in 3.1

2009-05-01 Thread Antoine Pitrou

Changes by Antoine Pitrou pit...@free.fr:


Removed file: 
http://bugs.python.org/file13460/py3k_fix_leak_of_test_socket.patch

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



[issue5596] memory leaks in 3.1

2009-05-01 Thread Antoine Pitrou

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

Current status here:

test_multiprocessing leaked [24, 0] references, sum=24
test_urllib2 leaked [227, 227] references, sum=454
test_urllib2_localnet leaked [3, 3] references, sum=6

--

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



[issue5899] test_capi crashes when called more than once

2009-05-01 Thread Antoine Pitrou

New submission from Antoine Pitrou pit...@free.fr:

This happens when looking for reference leaks:

$ ./python -m test.regrtest -R3:2 test_capi
Could not find '/home/antoine/py3k/debug/Lib/test' in sys.path to remove it
test_capi
beginning 5 repetitions
12345
test test_capi crashed -- class '_testcapi.error':
test_lazy_hash_inheritance: type initialised too soon
1 test failed:
test_capi
[93567 refs]

--
assignee: ncoghlan
components: Tests
messages: 86914
nosy: ncoghlan, pitrou
priority: normal
severity: normal
stage: needs patch
status: open
title: test_capi crashes when called more than once
type: crash
versions: Python 2.7, Python 3.1

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



[issue5410] msvcrt bytes cleanup

2009-05-01 Thread Benjamin Peterson

Benjamin Peterson benja...@python.org added the comment:

Applied in r72185.

--
resolution:  - fixed
status: open - closed

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



[issue3672] Ill-formed surrogates not treated as errors during encoding/decoding

2009-05-01 Thread Benjamin Peterson

Benjamin Peterson benja...@python.org added the comment:

http://codereview.appspot.com/52081/diff/1/5
File Doc/library/codecs.rst (right):

http://codereview.appspot.com/52081/diff/1/5#newcode326
Line 326: In addition, the following error handlers are specific to only
selected
In addition, the following error handlers are specific to a single
codec. sounds better

http://codereview.appspot.com/52081/diff/1/5#newcode335
Line 335:
There should probably be a versionchanged directive indicating that
surrogates was added in 3.1.

http://codereview.appspot.com/52081/diff/1/6
File Lib/test/test_codecs.py (right):

http://codereview.appspot.com/52081/diff/1/6#newcode544
Line 544: def test_surrogates(self):
I think this should be split into 2 tests. test_lone_surrogates and
test_surrogate_handler.

http://codereview.appspot.com/52081/diff/1/4
File Objects/unicodeobject.c (right):

http://codereview.appspot.com/52081/diff/1/4#newcode157
Line 157: static PyObject *unicode_encode_call_errorhandler(const char
*errors,
These prototypes are longer than 80 chars some places. I don't think the
arguments need to line up with the starting parenthesis.

http://codereview.appspot.com/52081/diff/1/4#newcode2393
Line 2393: s, size, exc, i-1, i, newpos);
exc is never Py_DECREFed.

http://codereview.appspot.com/52081/diff/1/4#newcode4110
Line 4110: if (!PyUnicode_Check(repunicode)) {
Is there a test of this case somewhere?

http://codereview.appspot.com/52081/diff/1/2
File Python/codecs.c (right):

http://codereview.appspot.com/52081/diff/1/2#newcode758
Line 758: if (PyObject_IsInstance(exc, PyExc_UnicodeEncodeError)) {
I believe PyErr_GivenExceptionMatches is more appropriate here, but
given the rest of the file uses PyObject_IsInstance, it likely doesn't
matter.

http://codereview.appspot.com/52081/diff/1/2#newcode771
Line 771: return NULL;
This is leaks object.

http://codereview.appspot.com/52081

--

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



[issue5006] Duplicate UTF-16 BOM if a file is open in append mode

2009-05-01 Thread Antoine Pitrou

Changes by Antoine Pitrou pit...@free.fr:


--
nosy: +lemburg

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



[issue5900] Ensure RUNPATH is added to extension modules with RPATH if GNU ld is used

2009-05-01 Thread Floris Bruynooghe

New submission from Floris Bruynooghe floris.bruynoo...@gmail.com:

The build_ext command does accept a handy --rpath option to encode an
RPATH in the built extension modules.  However RPATH is superseded by
RUNPATH since the former can not be overwritten by the LD_LIBRARY_PATH
environment varialbe, while the later can.  While most linkers will add
a RUNPATH automatically when you ask for an RPATH, GNU ld does not do
this.  Therefore this patch does detect if GNU ld is used and if so will
use the --enable-new-dtags option which will add the RUNPATH.

--
assignee: tarek
components: Distutils
files: runpath.diff
keywords: patch
messages: 86924
nosy: flub, tarek
severity: normal
status: open
title: Ensure RUNPATH is added to extension modules with RPATH if GNU ld is used
type: behavior
versions: Python 2.7
Added file: http://bugs.python.org/file13833/runpath.diff

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



[issue3959] Add Google's ipaddr.py to the stdlib

2009-05-01 Thread pmoody

pmoody pyt...@hda3.com added the comment:

well, sent it for review anyway.  is this a showstopper for submission?

On Fri, May 1, 2009 at 1:19 PM, pmoody rep...@bugs.python.org wrote:

 pmoody pyt...@hda3.com added the comment:

 I'll submit a change for this to trunk in a second.

 On Fri, May 1, 2009 at 1:16 PM, Antoine Pitrou rep...@bugs.python.org wrote:

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

 Is there any chance the test methods in test_ipaddr can be PEP8-ified?

 --

 ___
 Python tracker rep...@bugs.python.org
 http://bugs.python.org/issue3959
 ___


 --

 ___
 Python tracker rep...@bugs.python.org
 http://bugs.python.org/issue3959
 ___


--

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



[issue3959] Add Google's ipaddr.py to the stdlib

2009-05-01 Thread Antoine Pitrou

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

Not at all, it's just nicer.

--

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



[issue5753] CVE-2008-5983 python: untrusted python modules search path

2009-05-01 Thread Glyph Lefkowitz

Glyph Lefkowitz gl...@divmod.com added the comment:

Antoine,

The problem is that apparently every program that embeds Python calls
PySys_SetArgv and does not understand the consequences of doing so.  For
example, a user running 'gedit' to edit some files in a potentially
insecure directory may not expect that starting the program there will
cause it to load python files from that directory.

The 'python' executable itself is not really vulnerable in quite the
same way, because if you (i.e. a developer) start 'python' in some
directory, you *do* typically expect that it will load code from that
directory.  For applications written *in* python, that have scripts in,
let's say, /usr/bin, the directory added to the path is /usr/bin, not
the application's working directory.

--

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



[issue3959] Add Google's ipaddr.py to the stdlib

2009-05-01 Thread Gregory P. Smith

Gregory P. Smith g...@krypto.org added the comment:

I merged ipaddr into py3k.

I can't lookup the revision number (r72186?) at the moment since 
svn.python.org is having problems.

anyways, thanks pmoody  other ipaddr developers!

Now that the library is -in- (before the 3.1 beta cutoff :), non-API 
changing bug fixes and tweaks like that one are fine to apply to the 
python svn repo as appropriate.

I'm leaving this open pending merging the test pep8 change in once it is 
ready and svn.python.org is back online.

--
priority: release blocker - normal
resolution:  - accepted

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



[issue3959] Add Google's ipaddr.py to the stdlib

2009-05-01 Thread Matthew Smart

Matthew Smart mattsm...@gmail.com added the comment:

Woo!

On May 1, 2009 5:48 PM, Gregory P. Smith rep...@bugs.python.org wrote:

Gregory P. Smith g...@krypto.org added the comment:
I merged ipaddr into py3k.

I can't lookup the revision number (r72186?) at the moment since
svn.python.org is having problems.

anyways, thanks pmoody  other ipaddr developers!

Now that the library is -in- (before the 3.1 beta cutoff :), non-API
changing bug fixes and tweaks like that one are fine to apply to the
python svn repo as appropriate.

I'm leaving this open pending merging the test pep8 change in once it is
ready and svn.python.org is back online.

--
priority: release blocker - normal
resolution:  - accepted

___ Python tracker 
rep...@bugs.python.org http://bugs.python...

--
Added file: http://bugs.python.org/file13834/unnamed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3959
___pWoo!/p
pblockquote type=citeOn May 1, 2009 5:48 PM, quot;Gregory P. Smithquot; 
lt;a href=mailto:rep...@bugs.python.org;rep...@bugs.python.org/agt; 
wrote:brbrpfont color=#500050
Gregory P. Smith lt;a href=mailto:g...@krypto.org;g...@krypto.org/agt; 
added the comment:

/font/pI merged ipaddr into py3k.br
br
I can#39;t lookup the revision number (r72186?) at the moment sincebr
a href=http://svn.python.org; target=_blanksvn.python.org/a is having 
problems.br
br
anyways, thanks pmoody amp; other ipaddr developers!br
br
Now that the library is -in- (before the 3.1 beta cutoff :), non-APIbr
changing bug fixes and tweaks like that one are fine to apply to thebr
python svn repo as appropriate.br
br
I#39;m leaving this open pending merging the test pep8 change in once it isbr
ready and a href=http://svn.python.org; target=_blanksvn.python.org/a is 
back online.br
br
--br
priority: release blocker -gt; normalbr
resolution:  -gt; acceptedbr
pfont color=#500050
___
Python tracker lt;a 
href=mailto:rep...@bugs.python.org;rep...@bugs.python.org/agt;
lt;a 
href=http://bugs.python.;http://bugs.python./a../font/p/blockquote/p
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3959] Add Google's ipaddr.py to the stdlib

2009-05-01 Thread Guido van Rossum

Changes by Guido van Rossum gu...@python.org:


--

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



[issue5084] unpickling does not intern attribute names

2009-05-01 Thread Jake McGuire

Jake McGuire j...@youtube.com added the comment:

This fell through the cracks.  But the following unit test seems like it 
does the right thing (fails with the old module, works with the new ones).

--
Added file: http://bugs.python.org/file13835/pickletester.diff

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