[issue19223] Add 'x' mode to bz2.open()

2013-10-12 Thread Vajrasky Kok

Vajrasky Kok added the comment:

Added doc.

--
Added file: http://bugs.python.org/file32075/add_x_mode_to_bz2_v2.patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19240] iglob should try to use `readdir`

2013-10-12 Thread Charles-François Natali

Charles-François Natali added the comment:

Actually, it should probably be using a generator-based version of os.listdir().
See #11406.

--
dependencies: +There is no os.listdir() equivalent returning generator instead 
of list
nosy: +neologix

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19239] add inspect functions to retrieve attributes from both old dir() and overridden dir()

2013-10-12 Thread Nick Coghlan

Changes by Nick Coghlan :


--
nosy: +ncoghlan

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19223] Add 'x' mode to bz2.open()

2013-10-12 Thread Vajrasky Kok

Vajrasky Kok added the comment:

Added test.

--
keywords: +patch
nosy: +vajrasky
Added file: http://bugs.python.org/file32074/add_x_mode_to_bz2.patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19218] Use of MutableMapping in os module slows down interpreter startup

2013-10-12 Thread Eric Snow

Eric Snow added the comment:

Thanks, Christian.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16355] inspect.getcomments() does not work in the interactive shell

2013-10-12 Thread Vajrasky Kok

Vajrasky Kok added the comment:

Attached the patch to address Georg Brandl's concern (Thank you!). I also added 
test for checking the comment of the object defined in C (list, open, etc). I 
have given thought about testing the comment of the object in interactive 
shell. But it is too much hassle. So I skip it.

--
Added file: http://bugs.python.org/file32073/issue16355_v4.diff

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18986] Add a case-insensitive case-preserving dict

2013-10-12 Thread Raymond Hettinger

Raymond Hettinger added the comment:

Antoine, is the PEP ready for review?

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4965] Can doc index of html version be separately scrollable?

2013-10-12 Thread Ned Deily

Ned Deily added the comment:

The patch seems to work well with both Safari 6.0.5 and Firefox 25.0 on OS X 
10.8.  Nice improvement.

--
nosy: +ned.deily

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4965] Can doc index of html version be separately scrollable?

2013-10-12 Thread Ezio Melotti

Ezio Melotti added the comment:

I stole the code from that page and adapted it to integrate better with 
sidebar.js (and make it a bit more efficient).

To test the new patch, in the root of the clone, with the doc already built in 
Doc/build (no need to rebuild it), do:
hg import --no-c http://bugs.python.org/file32072/issue4965-2.diff
cp Doc/tools/sphinxext/static/sidebar.js Doc/build/html/_static/sidebar.js
cp Doc/tools/sphinxext/static/basic.css Doc/build/html/_static/basic.css
firefox file://`pwd`/Doc/build/html/library/multiprocessing.html

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4965] Can doc index of html version be separately scrollable?

2013-10-12 Thread Ezio Melotti

Changes by Ezio Melotti :


Added file: http://bugs.python.org/file32072/issue4965-2.diff

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19240] iglob should try to use `readdir`

2013-10-12 Thread Miki Tebeka

New submission from Miki Tebeka:

Currently glob.iglob calls os.listdir internally. Which means that if there are 
many files in the directory - a big list of them is created in memory.

iglob should try to use readdir and be a "true" iterator, not consuming a lot 
of memory.

See one possible implementation using ctypes at 
http://stackoverflow.com/questions/4403598/list-files-in-a-folder-as-a-stream-to-begin-process-immediately

--
components: Library (Lib)
messages: 199649
nosy: tebeka
priority: normal
severity: normal
status: open
title: iglob should try to use `readdir`
type: performance
versions: Python 3.4

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18281] tarfile defines stat constants

2013-10-12 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 3d557da59c22 by Ethan Furman in branch 'default':
Close #18281: superfluous stat constants removed from tarfile
http://hg.python.org/cpython/rev/3d557da59c22

--
nosy: +python-dev
resolution:  -> fixed
stage: patch review -> committed/rejected
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19218] Use of MutableMapping in os module slows down interpreter startup

2013-10-12 Thread Christian Heimes

Christian Heimes added the comment:

Thank you very much for your input and assistance!

tip compared to v3.4.0a3:

### normal_startup ###
Min: 0.506533 -> 0.313627: 1.62x faster
Avg: 0.582504 -> 0.441796: 1.32x faster
Significant (t=19.98)
Stddev: 0.02397 -> 0.04366: 1.8213x larger

--
resolution:  -> fixed
stage: patch review -> committed/rejected
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19234] socket.fileno() documentation

2013-10-12 Thread Antoine Pitrou

Antoine Pitrou added the comment:

Indeed, this should probably be documented as-is - or, if we want to change the 
behaviour, discussed on python-dev first.

--
nosy: +pitrou

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19219] speed up marshal.loads()

2013-10-12 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 2a2b339b6b59 by Christian Heimes in branch 'default':
Issue #19219: retval may be used uninitialized value
http://hg.python.org/cpython/rev/2a2b339b6b59

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19218] Use of MutableMapping in os module slows down interpreter startup

2013-10-12 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 0b6052f2a8ee by Christian Heimes in branch 'default':
Issue #19218: Rename collections.abc to _collections_abc in order to speed up 
interpreter start
http://hg.python.org/cpython/rev/0b6052f2a8ee

New changeset 7ea831581af4 by Christian Heimes in branch 'default':
Issue #19218: Add facade collections.abc
http://hg.python.org/cpython/rev/7ea831581af4

New changeset 62b6ecd1e463 by Christian Heimes in branch 'default':
Issue #19218: set __name__ of _collections_abc to collections.abc in order to 
fix tests and keep beautiful qualified names.
http://hg.python.org/cpython/rev/62b6ecd1e463

--
nosy: +python-dev

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19227] test_multiprocessing_xxx hangs under Gentoo buildbots

2013-10-12 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 87f484679a39 by Richard Oudkerk in branch '3.3':
Make test_terminate() succeed or fail quickly.
http://hg.python.org/cpython/rev/87f484679a39

--
nosy: +python-dev

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19218] Use of MutableMapping in os module slows down interpreter startup

2013-10-12 Thread Raymond Hettinger

Raymond Hettinger added the comment:

Christian, go ahead an rearrange the collections module.

Move Lib/collections/abc.py to Lib/_collections_abc.py.

Also, be sure to update source link on line 18 of 
Doc/library.collections.abc.rst

--
assignee: rhettinger -> christian.heimes

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19238] Misleading explanation of fill and align in format_spec

2013-10-12 Thread Ned Deily

Changes by Ned Deily :


--
nosy: +eric.smith

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19237] Proposal : LCM function to complement GCD

2013-10-12 Thread Antoine Pitrou

Changes by Antoine Pitrou :


--
nosy: +tim.peters

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19237] Proposal : LCM function to complement GCD

2013-10-12 Thread Antoine Pitrou

Changes by Antoine Pitrou :


--
nosy: +mark.dickinson

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18582] PBKDF2 support

2013-10-12 Thread Christian Heimes

Christian Heimes added the comment:

Thanks Antoine!

--
resolution:  -> fixed
stage: patch review -> committed/rejected
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19202] Additions to function docs: reduce and itertools.

2013-10-12 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 3b6401c27e39 by Raymond Hettinger in branch '3.3':
Issue #19202:  Add cross-reference and a rough code equivalent
http://hg.python.org/cpython/rev/3b6401c27e39

--
nosy: +python-dev

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19202] Additions to function docs: reduce and itertools.

2013-10-12 Thread Raymond Hettinger

Raymond Hettinger added the comment:

Thanks Georg.

--
resolution:  -> fixed
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18458] interactive interpreter crashes and test_readline fails with newer versions of libedit

2013-10-12 Thread Ned Deily

Ned Deily added the comment:

Backported to 2.7 (for 2.7.6) and 3.3 (for 3.3.3) as well.  The current 
test_readline already covers this case.

--
keywords:  -needs review
resolution:  -> fixed
stage: patch review -> committed/rejected
status: open -> closed
title: libedit history offset workaround -> interactive interpreter crashes and 
test_readline fails with newer versions of libedit

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18458] libedit history offset workaround

2013-10-12 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 1e03fd72e116 by Ned Deily in branch '2.7':
Issue #18458: Prevent crashes with newer versions of libedit.  Its readline
http://hg.python.org/cpython/rev/1e03fd72e116

New changeset dfb7cab9f819 by Ned Deily in branch '3.3':
Issue #18458: Prevent crashes with newer versions of libedit.  Its readline
http://hg.python.org/cpython/rev/dfb7cab9f819

New changeset 47a7313f079a by Ned Deily in branch 'default':
Issue #18458: merge comments from 3.3
http://hg.python.org/cpython/rev/47a7313f079a

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18582] PBKDF2 support

2013-10-12 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 5fd56d6d3fce by Christian Heimes in branch 'default':
Issue #18582: Add 'pbkdf2_hmac' to the hashlib module.
http://hg.python.org/cpython/rev/5fd56d6d3fce

--
nosy: +python-dev

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19239] add inspect functions to retrieve attributes from both old dir() and overridden dir()

2013-10-12 Thread Ethan Furman

New submission from Ethan Furman:

Currently we have

  - inspect.getmembers
  - inspect.classify_class_attrs

But they only return what dir() returns.

It is proposed that we add

  - inspect.get_all_members
  - inspect.classify_all_class_attrs

which will look at all the attributes returned by both the original dir() and 
the overridden dir().

--
title: add inspect functions to -> add inspect functions to retrieve attributes 
from both old dir() and overridden dir()
type:  -> enhancement
versions: +Python 3.4

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19239] add inspect functions to

2013-10-12 Thread Ethan Furman

Changes by Ethan Furman :


--
nosy: ethan.furman
priority: normal
severity: normal
status: open
title: add inspect functions to

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9951] introduce bytes.hex method

2013-10-12 Thread Christian Heimes

Christian Heimes added the comment:

Funny thing. I was searching for "tohex" when I found this ticket.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19238] Misleading explanation of fill and align in format_spec

2013-10-12 Thread David Chambers

New submission from David Chambers:

>From http://docs.python.org/3/library/string.html#formatspec:

> The presence of a fill character is signaled by the character
> following it, which must be one of the alignment options. If the
> second character of format_spec is not a valid alignment option,
> then it is assumed that both the fill character and the alignment
> option are absent.

The fact that the second character in the format_spec is not an
alignment option is not sufficient to declare that the alignment
option is absent: the alignment option may be the first character
in the format_spec. For example:

>>> '{:^10}'.format(42)
'42'

I suggest the following wording:

The presence of a fill character is signaled by the character
following it, which must be one of the alignment options. Unless
the second character of format_spec is a valid alignment option,
the fill character is assumed to be absent.

--
assignee: docs@python
components: Documentation
messages: 199633
nosy: davidchambers, docs@python
priority: normal
severity: normal
status: open
title: Misleading explanation of fill and align in format_spec

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18281] tarfile defines stat constants

2013-10-12 Thread Ethan Furman

Ethan Furman added the comment:

Cool, thanks!

I didn't want to step on any toes.  :)

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9951] introduce bytes.hex method

2013-10-12 Thread Antoine Pitrou

Antoine Pitrou added the comment:

If it's the reverse of fromhex(), perhaps we should call it tohex()?

--
nosy: +pitrou

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18582] PBKDF2 support

2013-10-12 Thread Christian Heimes

Changes by Christian Heimes :


Removed file: http://bugs.python.org/file32064/pbkdf2_2.patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18582] PBKDF2 support

2013-10-12 Thread Christian Heimes

Changes by Christian Heimes :


Removed file: http://bugs.python.org/file32070/pbkdf2_3.patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18582] PBKDF2 support

2013-10-12 Thread Christian Heimes

Christian Heimes added the comment:

Fixed copy n' paste bug in docs.

--
Added file: http://bugs.python.org/file32071/pbkdf2_3.patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9951] introduce bytes.hex method

2013-10-12 Thread Christian Heimes

Christian Heimes added the comment:

I like to see the feature in 3.4, too.

--
nosy: +christian.heimes
stage:  -> patch review

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18582] PBKDF2 support

2013-10-12 Thread Christian Heimes

Christian Heimes added the comment:

Here is a new patch with tests, documentation and some minor improvements. The 
last argument is now called dklen. If dklen is omitted or None than dklen is 
set to digest size of the hash algorithm.

--
Added file: http://bugs.python.org/file32070/pbkdf2_3.patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18582] PBKDF2 support

2013-10-12 Thread Christian Heimes

Changes by Christian Heimes :


Removed file: http://bugs.python.org/file31067/pbkdf2.patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18281] tarfile defines stat constants

2013-10-12 Thread Christian Heimes

Christian Heimes added the comment:

Yes, please commit your patch. I totally wanted to reply to your mail but I was 
distracted by other things. Sorry!

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18582] PBKDF2 support

2013-10-12 Thread Antoine Pitrou

Antoine Pitrou added the comment:

The patch looks good at first sight. It still needs docs and tests :)

Just one thing: are we sure PKCS5_PBKDF2_HMAC is defined on old OpenSSL 
versions, or does it need a #ifdef?

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18891] Master patch for content manager addtion to email package.

2013-10-12 Thread R. David Murray

R. David Murray added the comment:

Updated patch to address Serhiy's review comments.  Also noticed a bug and 
fixed it, adding a new 'is_attachment' attribute to EmailMessage/MIMEPart to do 
so.

--
Added file: http://bugs.python.org/file32069/master_content_manager.patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19237] Proposal : LCM function to complement GCD

2013-10-12 Thread CliffM

New submission from CliffM:

While implementing a Least-Common-Multiple function (LCM), I noticed that 
although python has a Greatest-Common-Divisor (GCD) function in the fractions 
module, the LCM, its counterpart is not there.

I've attached a patch which implements and tests LCM in the fractions module. 

It would really need documentation, but maybe GCD and LCD should be moved to 
the math module first ?

--
components: Extension Modules
files: lcm.patch
keywords: patch
messages: 199624
nosy: CliffM
priority: normal
severity: normal
status: open
title: Proposal : LCM function to complement GCD
type: enhancement
versions: Python 3.4
Added file: http://bugs.python.org/file32068/lcm.patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11233] clarifying Availability: Unix

2013-10-12 Thread Antoine Pitrou

Antoine Pitrou added the comment:

I can't comment on the Sphinx extension code but this is a good idea.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4555] Smelly exports (global symbols in python not prefixed with Py or _Py)

2013-10-12 Thread Antoine Pitrou

Changes by Antoine Pitrou :


--
resolution:  -> fixed
stage: commit review -> committed/rejected
status: open -> closed
versions:  -Python 3.2

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4555] Smelly exports (global symbols in python not prefixed with Py or _Py)

2013-10-12 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 142c62a490ce by Antoine Pitrou in branch 'default':
Issue #4555: All exported C symbols are now prefixed with either "Py" or "_Py".
http://hg.python.org/cpython/rev/142c62a490ce

--
nosy: +python-dev

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12186] readline.replace_history_item still leaks memory

2013-10-12 Thread Antoine Pitrou

Changes by Antoine Pitrou :


--
nosy: +haypo
stage:  -> patch review
versions:  -Python 2.6, Python 3.1, Python 3.2

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18281] tarfile defines stat constants

2013-10-12 Thread Ethan Furman

Ethan Furman added the comment:

Sounds like we have a consensus.  If no objections I'll commit in four or five 
days (in time for the last alpha).

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16203] Proposal: add re.fullmatch() method

2013-10-12 Thread Antoine Pitrou

Antoine Pitrou added the comment:

Serhiy, sorry to ping you, but do you think you're gonna look at this?

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19232] Speed up _decimal import

2013-10-12 Thread Antoine Pitrou

Antoine Pitrou added the comment:

> I can't apply the patch that was created with diff --git, so here is
> another one that is less readable but applies.

You can apply it using "hg import --no-commit", I think.

--
nosy: +pitrou

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19219] speed up marshal.loads()

2013-10-12 Thread Antoine Pitrou

Antoine Pitrou added the comment:

I've now committed the latest patch (marshal_opts5.patch).

--
resolution:  -> fixed
stage: patch review -> committed/rejected
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19219] speed up marshal.loads()

2013-10-12 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 4059e871e74e by Antoine Pitrou in branch 'default':
Issue #19219: Speed up marshal.loads(), and make pyc files slightly (5% to 10%) 
smaller.
http://hg.python.org/cpython/rev/4059e871e74e

--
nosy: +python-dev

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19236] Add Tornado HTTP benchmark

2013-10-12 Thread Antoine Pitrou

Antoine Pitrou added the comment:

> +1. Does it give reasonably predictable timings?

Yes. There is a small warmup phase at the beginning (the first few
rounds are skipped). The benchmark eats 100% CPU on one core, mostly
userspace (at least under Linux).

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19236] Add Tornado HTTP benchmark

2013-10-12 Thread Stefan Behnel

Stefan Behnel added the comment:

+1. Does it give reasonably predictable timings?

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19236] Add Tornado HTTP benchmark

2013-10-12 Thread Gregory P. Smith

Gregory P. Smith added the comment:

makes sense to me.

--
nosy: +gregory.p.smith

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19236] Add Tornado HTTP benchmark

2013-10-12 Thread Stefan Behnel

Changes by Stefan Behnel :


--
components: +Benchmarks
nosy: +scoder

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19236] Add Tornado HTTP benchmark

2013-10-12 Thread Antoine Pitrou

New submission from Antoine Pitrou:

Tornado 3.1.1 is compatible with Python 2.6, 2.7, 3.2 and upwards, which makes 
it a good candidate for a networking benchmark.

Here is a patch adding a HTTP (server + client) benchmark. A trivial HTTP 
server is spawned which writes a sizable body in response to requests. HTTP 
clients then connect with a certain amount of concurrency and fetch the HTTP 
server's resource.

(note: the patch omits the Tornado lib itself for readability)

--
files: tornado_bench.patch
keywords: patch
messages: 199613
nosy: brett.cannon, pitrou
priority: normal
severity: normal
stage: patch review
status: open
title: Add Tornado HTTP benchmark
type: enhancement
versions: 3rd party
Added file: http://bugs.python.org/file32067/tornado_bench.patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19232] Speed up _decimal import

2013-10-12 Thread Stefan Krah

Stefan Krah added the comment:

I can't apply the patch that was created with diff --git, so here is
another one that is less readable but applies.

--
Added file: http://bugs.python.org/file32066/issue19232-2.patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18919] Unify audio modules tests

2013-10-12 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 3303d735058f by Serhiy Storchaka in branch '2.7':
Issue #18919: If the close() method of a writer in the sunau or wave module
http://hg.python.org/cpython/rev/3303d735058f

New changeset b7eae747385c by Serhiy Storchaka in branch '3.3':
Issue #18919: If the close() method of a writer in the sunau or wave module
http://hg.python.org/cpython/rev/b7eae747385c

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11233] clarifying Availability: Unix

2013-10-12 Thread Georg Brandl

Georg Brandl added the comment:

A draft is attached.  The directive currently just always links to the 
"availability" notes, which I have moved to the main "Operating system 
services" document.  Please review!

--
keywords: +patch
Added file: http://bugs.python.org/file32065/availability-directive.patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19131] Broken support of compressed AIFC files

2013-10-12 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
resolution:  -> fixed
stage: patch review -> committed/rejected
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4965] Can doc index of html version be separately scrollable?

2013-10-12 Thread Georg Brandl

Georg Brandl added the comment:

See http://sphinx-doc.org/latest/ for my preferred solution.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19235] Add a dedicated subclass for recursion errors

2013-10-12 Thread Georg Brandl

Georg Brandl added the comment:

I agree.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19235] Add a dedicated subclass for recursion errors

2013-10-12 Thread Antoine Pitrou

Antoine Pitrou added the comment:

This sounds like a reasonable feature request to me.

--
components: +Interpreter Core -Library (Lib)

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19235] Add a dedicated subclass for recursion errors

2013-10-12 Thread Georg Brandl

Changes by Georg Brandl :


--
nosy: +pitrou

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19224] Make hash(None) consistent among processes

2013-10-12 Thread Christian Heimes

Christian Heimes added the comment:

Tim has convinced me, too.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13915] Update tutorial/modules for PEP 3147

2013-10-12 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 6ecef57f57f9 by Georg Brandl in branch '3.3':
Closes #13915: update tutorial with respect to .pyc files (__pycache__ / PEP 
3147).
http://hg.python.org/cpython/rev/6ecef57f57f9

--
nosy: +python-dev
resolution:  -> fixed
stage: needs patch -> committed/rejected
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13915] Update tutorial/modules for PEP 3147

2013-10-12 Thread Georg Brandl

Georg Brandl added the comment:

Thanks for the suggestion!

--
nosy: +georg.brandl

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19235] Add a dedicated subclass for recursion errors

2013-10-12 Thread Elazar Gershuni

Changes by Elazar Gershuni :


--
nosy: +georg.brandl

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19224] Make hash(None) consistent among processes

2013-10-12 Thread Raymond Hettinger

Raymond Hettinger added the comment:

There seems to be a pretty good consensus that this is something we don't want 
to support.

--
resolution:  -> rejected
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13833] No documentation for PyStructSequence

2013-10-12 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 05dcaf761c7d by Georg Brandl in branch '3.3':
Closes #13833: document PyStructSequence C-API functions.
http://hg.python.org/cpython/rev/05dcaf761c7d

--
nosy: +python-dev
resolution:  -> fixed
stage: patch review -> committed/rejected
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18582] PBKDF2 support

2013-10-12 Thread Christian Heimes

Christian Heimes added the comment:

Done

--
stage:  -> patch review
Added file: http://bugs.python.org/file32064/pbkdf2_2.patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12187] subprocess.wait() with a timeout uses polling on POSIX

2013-10-12 Thread STINNER Victor

STINNER Victor added the comment:

For the PEP 446 (non inheritable files and sockets), it was discussed to
write a helper similar to what Antoine proposes, but to only inherit a few
handles instead all inherit all (inheritable) handles.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19202] Additions to function docs: reduce and itertools.

2013-10-12 Thread Georg Brandl

Changes by Georg Brandl :


Added file: http://bugs.python.org/file32063/reduce_equiv.diff

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19202] Additions to function docs: reduce and itertools.

2013-10-12 Thread Georg Brandl

Georg Brandl added the comment:

I agree. Will prepare a patch to the reduce() doc.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15805] Add stdout redirection tool to contextlib

2013-10-12 Thread Georg Brandl

Georg Brandl added the comment:

Whatsnew: yes please.

As for your second point, I assume Raymond wanted to exemplify usage with an 
"unfortunate" API that prints to stderr with no option to change it.  It just 
turned out that dis() is not one of those APIs.

For purposes of print(), you're almost always better off using file=x on each 
print you do.

--
nosy: +georg.brandl

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19202] Additions to function docs: reduce and itertools.

2013-10-12 Thread Raymond Hettinger

Raymond Hettinger added the comment:

The reference from accumulate() to reduce() may be useful.

I'm opposed to most of the other equivalents and cross-references.  They bloat 
the docs without adding value.  Terry is right in saying that the equivalent 
for enumerate() is better as a basic loop than as a composition of functional 
tools.   I think the OP has missed what the purpose of the code equivalents was 
trying to do.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13905] Built-in Types Comparisons should mention rich comparison methods

2013-10-12 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 9f1e1da820fb by Georg Brandl in branch '2.7':
Closes #13905: mention rich-comparison methods in addition to __cmp__ when 
documenting how to make classes comparable and orderable.
http://hg.python.org/cpython/rev/9f1e1da820fb

--
nosy: +python-dev
resolution:  -> fixed
stage:  -> committed/rejected
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19235] Add a dedicated subclass for recursion errors

2013-10-12 Thread Elazar Gershuni

New submission from Elazar Gershuni:

There's no dedicated StackOverflowErrorException, So there is no way to 
accurately distinguish a recursion overflow from a general RuntimeError. 

One cannot use the exception message, since the docs explicitly says that 
"Exception messages are not part of the Python API", and checking for

len(traceback.extract_tb(trace)) >= sys.getrecursionlimit()-1

is ugly, and (AFAIK) not guaranteed to be correct.

Use case: I've found this while trying to create a cycle detector that will 
compress the traceback of such errors.

See discussion in python-ideas:
https://mail.python.org/pipermail/python-ideas/2013-September/023190.html

An cycle-detection implementation:
http://code.activestate.com/recipes/578660-concise-output-for-maximum-recursion-depth-exceede/

--
components: Library (Lib)
messages: 199595
nosy: elazar
priority: normal
severity: normal
status: open
title: Add a dedicated subclass for recursion errors
type: enhancement
versions: Python 3.4

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19234] socket.fileno() documentation

2013-10-12 Thread R. David Murray

R. David Murray added the comment:

See also issue 19154.  For consistency with the rest of Python it should 
probably raise ValueError.  But at this point it has done what it does for a 
long time (which is to return what the underlying posix function returns), so 
we should probably just document it.

--
nosy: +r.david.murray

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13026] Dis module - documentation of MAKE_FUNCTION

2013-10-12 Thread Roundup Robot

Roundup Robot added the comment:

New changeset b9ab48c491d5 by Georg Brandl in branch '3.3':
Closes #13026: fix documentation of MAKE_FUNCTION for 3.x.
http://hg.python.org/cpython/rev/b9ab48c491d5

--
nosy: +python-dev
resolution:  -> fixed
stage: needs patch -> committed/rejected
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19234] socket.fileno() documentation

2013-10-12 Thread Georg Brandl

New submission from Georg Brandl:

 Original-Nachricht 
Betreff: [docs] socket.fileno() documentation
Datum: Thu, 10 Oct 2013 19:27:35 +0200
Von: Vlado Potisk 
An: d...@python.org

I might be wrong but in my opinion the socket library documentation is not
clear enough regarding the behaviour of the fileno() method in a case of a
failure.

In the Python 3.2 socket library documentation there is:

exception socket.error

A subclass of IOError, this exception is raised for socket-related errors.
-
 socket.close()

Close the socket. All future operations on the socket object will fail.

 socket.fileno()

Return the socket’s file descriptor (a small integer).


Based on the information quoted above, I wrote a test if a socket is active or
if it has been closed already:

try:
sock.fileno()
except socket.error:
return False
return True

But is doesn't work. I have found out that fileno() returns -1 on a closed
socket. Replacing fileno() with e.g. getsockname() fixes the code.

It looks like a fileno's failure - unlike to getsockname's failure - is not
expressed by raising an exception, but by returning -1. However this seems to
be not documented and that's why I'm unsure if I may rely on this.

--
assignee: docs@python
components: Documentation
messages: 199592
nosy: docs@python, georg.brandl
priority: normal
severity: normal
status: open
title: socket.fileno() documentation

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18177] Incorect quote marks in code section-headers in PDF version of docs

2013-10-12 Thread Georg Brandl

Georg Brandl added the comment:

Yes, there is already one or two issues there (e.g. number 1239).

--
resolution:  -> invalid
status: pending -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16355] inspect.getcomments() does not work in the interactive shell

2013-10-12 Thread Georg Brandl

Georg Brandl added the comment:

"lives in the interactive shell" is not precise; I would prefer "has been 
defined in ...".

--
nosy: +georg.brandl

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19202] Additions to function docs: reduce and itertools.

2013-10-12 Thread Georg Brandl

Georg Brandl added the comment:

What do you think of the two references added to the itertools docs?

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19179] doc bug: confusing table of values

2013-10-12 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 9aae58596349 by Georg Brandl in branch '2.7':
Closes #19179: make table of XML vulnerabilities clearer by using "everyday" 
booleans and explaining the table beforehand.
http://hg.python.org/cpython/rev/9aae58596349

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18758] Fix internal references in the documentation

2013-10-12 Thread Georg Brandl

Georg Brandl added the comment:

The -n (nitpicky) option to Sphinx should also report missing references.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19179] doc bug: confusing table of values

2013-10-12 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 6b0ca3963ff1 by Georg Brandl in branch '3.3':
Closes #19179: make table of XML vulnerabilities clearer by using "everyday" 
booleans and explaining the table beforehand.
http://hg.python.org/cpython/rev/6b0ca3963ff1

--
nosy: +python-dev
resolution:  -> fixed
stage:  -> committed/rejected
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13203] Doc: say id() is only useful for existing objects

2013-10-12 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 0d5de993db66 by Georg Brandl in branch '3.3':
Closes #13203: add a FAQ section about seemingly duplicate id()s.
http://hg.python.org/cpython/rev/0d5de993db66

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13203] Doc: say id() is only useful for existing objects

2013-10-12 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 8525cc1f342f by Georg Brandl in branch '2.7':
Closes #13203: add a FAQ section about seemingly duplicate id()s.
http://hg.python.org/cpython/rev/8525cc1f342f

--
nosy: +python-dev
resolution:  -> fixed
stage: needs patch -> committed/rejected
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8090] PEP 4 should say something about the standard library

2013-10-12 Thread Roundup Robot

Roundup Robot added the comment:

New changeset f7e3f6a53823 by Georg Brandl in branch 'default':
PEP 4: convert to reST, update SourceForge -> bugs.python.org, update 
DeprecationWarning policy
http://hg.python.org/peps/rev/f7e3f6a53823

--
nosy: +python-dev
resolution:  -> fixed
stage: needs patch -> committed/rejected
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12187] subprocess.wait() with a timeout uses polling on POSIX

2013-10-12 Thread Antoine Pitrou

Antoine Pitrou added the comment:

> Honestly, I think the extra complexity and non-portability isn't worth it.

That's what I think too.
If we want to avoid polling, there's another approach:
- fork() a first time
- fork() in the first child
- exec() in the second child
- in the first child, call waitpid() and then write() the return code to
a fd
- in the parent, wait on the fd using select() or poll()

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9548] locale can be imported at startup but relies on too many library modules

2013-10-12 Thread Antoine Pitrou

Antoine Pitrou added the comment:

Here normal_startup and startup_nosite wouldn't show a difference (under Linux 
anyway) because the locale module is only imported for non-interactive streams, 
AFAICT.

--
resolution:  -> fixed
stage: patch review -> committed/rejected
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19233] test_io.test_interrupted_write_retry_text() hangs on Solaris 10 and FreeBSD 7.2

2013-10-12 Thread Charles-François Natali

Charles-François Natali added the comment:

I think the problem is that those buildbots are really slow (just look at the 
second buildbot's backlog), and the signal is delivered before the large buffer 
is allocated, hence the write() syscall doesn't fail with EINTR.

--
nosy: +neologix

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19108] Benchmark runner tries to execute external Python command and fails on error reporting

2013-10-12 Thread Stefan Behnel

Stefan Behnel added the comment:

Here's a patch that replaces the current simplistic Python executable command 
config with a dedicated PythonRuntime config class. That makes it easy to 
properly pass around the program specific configuration. Part of that is the 
Python executable path, the Python version, the specific command line arguments 
and the relative benchmark library path.

The patch also adds a "--pyversions" command line option to avoid calling the 
executable for figuring out the Python versions, as discussed.

--
keywords: +patch
Added file: 
http://bugs.python.org/file32062/add_pyversions_option_and_refactor_runtime_config.patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12187] subprocess.wait() with a timeout uses polling on POSIX

2013-10-12 Thread Charles-François Natali

Charles-François Natali added the comment:

Honestly, I think the extra complexity and non-portability isn't worth it.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19232] Speed up _decimal import

2013-10-12 Thread Barry A. Warsaw

Changes by Barry A. Warsaw :


--
nosy: +barry

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19230] Reimplement the keyword module in C

2013-10-12 Thread Brett Cannon

Brett Cannon added the comment:

Is there any change in any benchmark?

--
nosy: +brett.cannon

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19131] Broken support of compressed AIFC files

2013-10-12 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 567241d794bd by Serhiy Storchaka in branch '2.7':
Issue #19131: The aifc module now correctly reads and writes sampwidth of
http://hg.python.org/cpython/rev/567241d794bd

New changeset 863a92cc9e03 by Serhiy Storchaka in branch '3.3':
Issue #19131: The aifc module now correctly reads and writes sampwidth of
http://hg.python.org/cpython/rev/863a92cc9e03

New changeset cff4dd674efe by Serhiy Storchaka in branch 'default':
Issue #19131: The aifc module now correctly reads and writes sampwidth of
http://hg.python.org/cpython/rev/cff4dd674efe

--
nosy: +python-dev

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9548] locale can be imported at startup but relies on too many library modules

2013-10-12 Thread Brett Cannon

Brett Cannon added the comment:

Just a quick favour to ask people: please post benchmark numbers of 
startup_nosite and normal_startup with your patches, otherwise we are taking 
stabs in the dark that the code complexity being suggested is worth it.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



  1   2   >