[issue14387] Include\accu.h incompatible with Windows.h

2012-04-28 Thread Stefan Krah

Stefan Krah  added the comment:

I think the issue is fixed in all affected branches. Georg, can we close it?

--
resolution:  -> fixed
stage:  -> committed/rejected
status: open -> pending

___
Python tracker 

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



[issue14387] Include\accu.h incompatible with Windows.h

2012-04-28 Thread Georg Brandl

Georg Brandl  added the comment:

I think so, yes.

--
status: pending -> closed

___
Python tracker 

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



[issue14448] Mention pytz in datetime's docs

2012-04-28 Thread Roundup Robot

Roundup Robot  added the comment:

New changeset 1e5a483248ce by Sandro Tosi in branch '2.7':
Issue #14448: add reference to IANA timezone database; thanks to Georg/Nick 
suggestions
http://hg.python.org/cpython/rev/1e5a483248ce

New changeset a5a0d47e6e78 by Sandro Tosi in branch '3.2':
Issue #14448: add reference to IANA timezone database; thanks to Georg/Nick 
suggestions
http://hg.python.org/cpython/rev/a5a0d47e6e78

New changeset c91ed8dacf38 by Sandro Tosi in branch 'default':
Issue #14448: merge with 3.2
http://hg.python.org/cpython/rev/c91ed8dacf38

--

___
Python tracker 

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



[issue14688] Typos in sorting.rst

2012-04-28 Thread Dionysios Kalofonos

New submission from Dionysios Kalofonos :

Please see the file attached.

--
assignee: docs@python
components: Documentation
files: sorting.diff
keywords: patch
messages: 159513
nosy: dk, docs@python
priority: normal
severity: normal
status: open
title: Typos in sorting.rst
versions: Python 3.3
Added file: http://bugs.python.org/file25389/sorting.diff

___
Python tracker 

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



[issue14689] make PYTHONWARNINGS variable work in libpython

2012-04-28 Thread Peter Eisentraut

New submission from Peter Eisentraut :

The environment variable PYTHONWARNINGS only works with the python interpreter 
binary, but not with programs embedding libpython.  This could be changed by 
moving the code from Modules/main.c to Python/pythonrun.c.  See attached patch 
(compiles cleanly, tests pass, not tested on Windows).

(I have checked all the other environment variables listed on the python man 
page for whether those that could be usable in the library are actually 
processed in the library, and all but PYTHONWARNINGS appear to behave 
reasonably.)

--
components: Interpreter Core
files: py-pythonwarnings-envvar.patch
keywords: patch
messages: 159514
nosy: petere
priority: normal
severity: normal
status: open
title: make PYTHONWARNINGS variable work in libpython
type: enhancement
versions: Python 3.3
Added file: http://bugs.python.org/file25390/py-pythonwarnings-envvar.patch

___
Python tracker 

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



[issue14642] Fix importlib.h build rule to not depend on hg

2012-04-28 Thread Martin v . Löwis

Martin v. Löwis  added the comment:

As I don't fully understand what the original issue was, I can't know for sure 
whether it's fixed now. But yes, there is now a mechanism to bring the time 
stamps in the right order.

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

___
Python tracker 

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



[issue14676] DeprecationWarning missing in default warning filters documentation

2012-04-28 Thread Roundup Robot

Roundup Robot  added the comment:

New changeset 0ad724738f6a by Sandro Tosi in branch '2.7':
Issue #14676: DeprecationWarning is ignored too; patch by Peter Eisentraut
http://hg.python.org/cpython/rev/0ad724738f6a

--
nosy: +python-dev

___
Python tracker 

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



[issue14676] DeprecationWarning missing in default warning filters documentation

2012-04-28 Thread Sandro Tosi

Sandro Tosi  added the comment:

Peter: thanks for the patch!

--
nosy: +sandro.tosi
resolution:  -> fixed
stage: patch review -> committed/rejected
status: open -> closed

___
Python tracker 

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



[issue14626] os module: use keyword-only arguments for dir_fd and nofollow to reduce function count

2012-04-28 Thread Larry Hastings

Larry Hastings  added the comment:

Here my first stab at a comprehensive proposal.  Each section represents a 
specific new function argument, and a list of functions that the argument be 
added to.

All new arguments are keyword-only and optional.

All functions mentioned are in the os module.
___

This annotation:
foo [X bar]
means "if we add this argument to function foo, we can remove function bar".  
This is because bar is a new function only in trunk and has no installed base.

This annotation:
foo [- bar]
means "if we add this argument to function foo, we could theoretically start 
deprecating function bar".  bar shipped in a previous version of Python and we 
can't simply remove it.

However!  I am *not* proposing doing *any* of these deprecations--I suspect the 
right thing to do is to leave all the existing functions in.

___
follow_symlinks=bool (default True)

Allow functions to either follow symlinks (the default) or examine symlinks.

access  [X faccessat]
chflags [- lchflags]
chmod   [- lchmod]
chown   [- lchown]
getxattr[X lgetxattr]
link[X linkat]
listxattr   [X llistxattr]
removexattr [X lremovexattr]
setxattr[X lsetxattr]
stat[- lstat]
utime   [X lutimes]
___
effective_ids=bool (default False)

For functions that take the AT_EACCESS flag or otherwise operate on effective 
uid/gid.

access  [X faccessat]
(this also lets us skip ever adding euidaccess!)
___
dir_fd=int (default None)

For functions that take a "dir_fd" parameter instead of / in addition to a 
"path" parameter.

access  [X faccessat]
chmod   [X fchmodat]
chown   [X fchownat]
getxattr[X fgetxattr]
link[X linkat] (note! need two parameters here.)
mkdir   [X mkdirat]
mkfifo  [X mkfifoat]
mknod   [X mknodat]
open[X openat]
readlink[X readlinkat]
rename  [X renameat]
stat[X fstatat]
symlink [X symlinkat]
unlink  [X unlinkat]
utime   [X futimesat utimensat]
___
fd=int (default None)

For functions that take a "path" parameter and have an "f"-equivalent that take 
an "fd" instead.  The "path" parameter and "fd" parameters would be exclusive; 
you must specify exactly one, never both.  Both parameters would accept "None" 
as equivalent to being unspecified.  For the functions that only take one 
parameter (chdir, listdir, stat, statvfs) I propose we give that parameter a 
default of None.

chdir   [- fchmod]
chown   [- fchown]
execve  [X fexecve]
getxattr[X fgetxattr]
listdir [X flistdir]
listxattr   [X flistxattr]
removexattr [X fremovexattr]
setxattr[X fsetxattr]
stat[- fstat]
statvfs [- fstatvfs]
utime   [X futimes futimens]

___
remove_dir=bool (default False)

Allows unlink to behave like rmdir.

unlink  [X unlinkat] [- rmdir]
___


One question:

If we do as I propose, and dir_fd is always a parameter to a pre-existing 
function, can we drop support for AT_FDCWD?  It seems to me that
funlink("../foo", dir_fd=AT_FDCWD)
is equivalent to
unlink("../foo")
but I fear I'm missing something important.

--

___
Python tracker 

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



[issue14369] make __closure__ writable

2012-04-28 Thread Andrew Svetlov

Andrew Svetlov  added the comment:

sbt, looks good for me.

--

___
Python tracker 

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



[issue13916] disallow the "surrogatepass" handler for non utf-* encodings

2012-04-28 Thread Martin v . Löwis

Martin v. Löwis  added the comment:

I fail to see the problem. If the error handler does not produce meaningful 
results in some context, then just don't use it.

The whole point of error handlers is that they handle errors; using them 
shouldn't ever cause errors/exceptions.

--
nosy: +loewis

___
Python tracker 

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



[issue14689] make PYTHONWARNINGS variable work in libpython

2012-04-28 Thread Antoine Pitrou

Changes by Antoine Pitrou :


--
nosy: +brett.cannon
stage:  -> patch review

___
Python tracker 

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



[issue14675] make distutils.ccompiler.CCompiler an abstract class

2012-04-28 Thread Ramchandra Apte

Ramchandra Apte  added the comment:

Well, there is no practical advantage at all.

--

___
Python tracker 

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



[issue14675] make distutils.ccompiler.CCompiler an abstract class

2012-04-28 Thread Ramchandra Apte

Ramchandra Apte  added the comment:

Please change the priorty of this bug to low.

--

___
Python tracker 

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



[issue14417] dict RuntimeError workaround

2012-04-28 Thread Guido van Rossum

Guido van Rossum  added the comment:

Still no progress on this bug. Should I just check in my simple patch? But 
there's much more to do -- docs, and unittests. Volunteers? It's not hard, just 
work.

--

___
Python tracker 

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



[issue14417] dict RuntimeError workaround

2012-04-28 Thread Antoine Pitrou

Antoine Pitrou  added the comment:

> Still no progress on this bug. Should I just check in my simple patch?
> But there's much more to do -- docs, and unittests. Volunteers? It's
> not hard, just work.

Well, in general the person writing the patch should also write the
tests ;-)
I have this bug in my bookmarks somewhere, so I might come to it and
write a patch if nobody does it before, though.

--

___
Python tracker 

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



[issue13916] disallow the "surrogatepass" handler for non utf-* encodings

2012-04-28 Thread Serhiy Storchaka

Serhiy Storchaka  added the comment:

The problem is that "surrogatepass" specific to utf-8 and there is no standard 
way to decode alone surrogates in utf-16.

>>> "\udc80\udc80".encode("utf-16", "surrogatepass").decode("utf-16", 
>>> "surrogatepass")
Traceback (most recent call last):
  File "", line 1, in 
UnicodeDecodeError: 'utf16' codec can't decode bytes in position 2-3: illegal 
encoding

With utf-32 this "works" only thanks to the bug -- utf-32 allows alone 
surrogates (issue #12892).

If the "surrogatepass" worked with utf-16 and utf-32, it would be natural to 
throw ValueError for other encodings.

--

___
Python tracker 

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



[issue14626] os module: use keyword-only arguments for dir_fd and nofollow to reduce function count

2012-04-28 Thread Antoine Pitrou

Changes by Antoine Pitrou :


--
nosy: +neologix

___
Python tracker 

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



[issue14666] test_sendall_interrupted hangs on FreeBSD with a zombi multiprocessing thread

2012-04-28 Thread Antoine Pitrou

Antoine Pitrou  added the comment:

This should have fixed it. If now, someone reopen the issue :)

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

___
Python tracker 

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



[issue14689] make PYTHONWARNINGS variable work in libpython

2012-04-28 Thread Arfrever Frehtes Taifersar Arahesis

Changes by Arfrever Frehtes Taifersar Arahesis :


--
nosy: +Arfrever

___
Python tracker 

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



[issue14675] make distutils.ccompiler.CCompiler an abstract class

2012-04-28 Thread Éric Araujo

Éric Araujo  added the comment:

Well, if there is no reason for this change, it should be closed.

--

___
Python tracker 

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



[issue13916] disallow the "surrogatepass" handler for non utf-* encodings

2012-04-28 Thread Martin v . Löwis

Martin v. Löwis  added the comment:

I see. The proper reaction for a codec that can't handle a certain error then 
is to raise the original exception. I'm -1 on raising LookupError when trying 
to find the error handler - this would suggest that the error handler does not 
exist, which is not true.

As for simplifying the implementation: it might be reasonable to special-case 
surrogatepass inside the individual codecs, rather than looking up the error 
handler. Then the error handler could just be identical to "strict", except 
that UTF-8, UTF-16, and UTF-32 individually special-case this error handler in 
their encoders and decoders.

--

___
Python tracker 

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



[issue14687] Optimize str%tuple for the PEP 393

2012-04-28 Thread Serhiy Storchaka

Serhiy Storchaka  added the comment:

I see sped up +10% on Intel Atom (but 3.2 still 2x fast).

With non-ascii arguments speed up can be a little bit larger.

--
nosy: +storchaka

___
Python tracker 

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



[issue14304] Implement utf-8-bmp codec

2012-04-28 Thread Martin v . Löwis

Martin v. Löwis  added the comment:

The patch is incorrect, i.e. it deviates from what the command line interface 
does. When you try to write to sys.stdout, and the characters are not supported 
you get UnicodeError. Only when it is interactive mode, and tries to represent 
some result, ascii escaping happens.

--

___
Python tracker 

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



[issue14304] Implement utf-8-bmp codec

2012-04-28 Thread Serhiy Storchaka

Serhiy Storchaka  added the comment:

I don't see what the patch worse than the current behavior.

Unpatched:
>>> ''.join(map(chr, [76, 246, 119, 105, 115]))
'Löwis'
>>> ''.join(map(chr, [76, 246, 119, 105, 115, 65536]))
'L\xf6wis\U0001'

Patched:
>>> ''.join(map(chr, [76, 246, 119, 105, 115]))
'Löwis'
>>> ''.join(map(chr, [76, 246, 119, 105, 115, 65536]))
'Löwis\U0001'

In the case of the Cyrillic alphabet all text becomes unreadable, if there are 
some non-bmp characters in it.

--

___
Python tracker 

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



[issue9239] zipfile: truncating comment can corrupt the zipfile

2012-04-28 Thread Serhiy Storchaka

Serhiy Storchaka  added the comment:

The bug is no longer there. Probably it is fixed in issue14399.

--
nosy: +storchaka

___
Python tracker 

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



[issue1760357] ZipFile.write fails with bad modification time

2012-04-28 Thread Serhiy Storchaka

Serhiy Storchaka  added the comment:

An alternative is to use the current time, as for stdin.

--
nosy: +storchaka

___
Python tracker 

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



[issue14427] urllib.request.Request get_header and header_items not documented

2012-04-28 Thread Michal Nowikowski

Michal Nowikowski  added the comment:

Attached a patch that adds description of get_header and header_items methods 
in Doc/library/urllib.request.rst.

--
keywords: +patch
nosy: +godfryd
Added file: http://bugs.python.org/file25391/doc-urlib-request.patch

___
Python tracker 

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



[issue13050] RLock support the context manager protocol but this is not documented

2012-04-28 Thread Michal Nowikowski

Michal Nowikowski  added the comment:

It looks that it is already documented by 76228:2040842626ba changeset.
The bug can be closed.

--
nosy: +godfryd

___
Python tracker 

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



[issue14688] Typos in sorting.rst

2012-04-28 Thread Michal Nowikowski

Michal Nowikowski  added the comment:

The changes looks ok.

--
nosy: +godfryd

___
Python tracker 

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



[issue14666] test_sendall_interrupted hangs on FreeBSD with a zombi multiprocessing thread

2012-04-28 Thread STINNER Victor

STINNER Victor  added the comment:

> This should have fixed it. If now, someone reopen the issue :)

Thanks!

--

___
Python tracker 

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



[issue14304] Implement utf-8-bmp codec

2012-04-28 Thread Martin v . Löwis

Martin v. Löwis  added the comment:

> In the case of the Cyrillic alphabet all text becomes unreadable, if  
> there are some non-bmp characters in it.

And indeed, that's the correct, desired behavior, as it models what the
interactive shell does.

If you want to change this, you need to also change the interactive console,
which is an issue independent of this one.

--

___
Python tracker 

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



[issue14570] Document json "sort_keys" parameter properly

2012-04-28 Thread Michal Nowikowski

Michal Nowikowski  added the comment:

In json module there are dump/dumps methods which internally instantiate 
encoder class JSONEncoder (or some other user-defined encoder clas).
They look as follows:

json.dump(obj, fp, 
  skipkeys=False,
  ensure_ascii=True,
  check_circular=True, 
  allow_nan=True,
  cls=None,
  indent=None,
  separators=None,
  default=None, 
  **kw)

json.JSONEncoder(skipkeys=False, 
 ensure_ascii=True,
 check_circular=True,
 allow_nan=True,
 sort_keys=False,
 indent=None,
 separators=None,
 default=None)

Some of dump/dumps arguments are passed to encoder class:
- skipkeys
- ensure_ascii
- check_circular
- allow_nan
- indent
- separators
- default

And it looks that sort_keys is just missing in keyword args in dump/dumps 
method.
But it still can be passed implicitly using **kw arg.

I would propose to do:
- add explicitly sort_keys keyword arg to dump/dumps methods
- add passing it to encoder class
- and adjust documentation accordingly.

--
nosy: +godfryd

___
Python tracker 

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



[issue9260] A finer grained import lock

2012-04-28 Thread Antoine Pitrou

Antoine Pitrou  added the comment:

Ok, here is a draft patch for the new importlib.
Several issues with this patch:
- introduces a pure Python function (_lock_unlock_module) on the fast import 
path
- synchronization issues due to interruptibility of pure Python code (see 
_ModuleLock.acquire)
- afterfork fix-up necessary
- relies on _thread.RLock for bootstrapping reasons
- module locks are immortal

--
Added file: http://bugs.python.org/file25392/module_locks.patch

___
Python tracker 

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



[issue14304] Implement utf-8-bmp codec

2012-04-28 Thread Martin v . Löwis

Martin v. Löwis  added the comment:

I take that back; the interactive shell uses the backslashescape error handler.

Still, I don't think IDLE should setup a displayhook in the first place. What 
if an application replaces the displayhook?

--

___
Python tracker 

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



[issue14688] Typos in sorting.rst

2012-04-28 Thread Raymond Hettinger

Raymond Hettinger  added the comment:

The first and last change looks fine.

--
assignee: docs@python -> rhettinger
nosy: +rhettinger

___
Python tracker 

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



[issue14304] Implement utf-8-bmp codec

2012-04-28 Thread Serhiy Storchaka

Serhiy Storchaka  added the comment:

> Still, I don't think IDLE should setup a displayhook in the first place. What 
> if an application replaces the displayhook?

IDLE *is* the application.

If another application that uses the idlelib, replace displayhook, it
must itself to worry about the correct encoding and escaping.

--

___
Python tracker 

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



[issue1739648] zipfile.testzip() using progressive file reads

2012-04-28 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
nosy: +storchaka

___
Python tracker 

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



[issue14304] Implement utf-8-bmp codec

2012-04-28 Thread Andrew Svetlov

Andrew Svetlov  added the comment:

Serhiy, I like to fix tkinter itself, not only IDLE.
There are other problems like idle is crashing if non-bmp char will be pasted 
from clipboard.
Moreover, non-bmp behavior is different from one Tk widget to other.
I still want to make codec for it and then try to solve tk problems.
Maybe solution will force to extend tkinter interface for process codec errors 
with reasonable well specified default behavior.
Sorry for my silence. I hope to make some progress next weeks.

--

___
Python tracker 

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



[issue14304] Implement utf-8-bmp codec

2012-04-28 Thread Martin v . Löwis

Martin v. Löwis  added the comment:

> IDLE *is* the application.

No, IDLE is the development environment. The application is
whatever is being developed with IDLE.

--

___
Python tracker 

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



[issue14304] Implement utf-8-bmp codec

2012-04-28 Thread Serhiy Storchaka

Serhiy Storchaka  added the comment:

I don't understand how the utf-8-bmp codec will help to fix the tkinter. To fix 
the tkinter, you need to fix the Tcl/Tk, but it is outside of Python. While Tcl 
does not support non-bmp characters, correct and non-ambiguous working with 
non-bmp characters is not possible. You should choose the method of encoding of 
non-bmp characters and these methods will be different for different 
applications.

--

___
Python tracker 

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



[issue14304] Implement utf-8-bmp codec

2012-04-28 Thread Serhiy Storchaka

Serhiy Storchaka  added the comment:

> No, IDLE is the development environment. The application is
> whatever is being developed with IDLE.

If the application replaces the displayhook, than it is the development
environment too.

--

___
Python tracker 

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



[issue13241] llvm-gcc-4.2 miscompiles Python (XCode 4.1 on Mac OS 10.7)

2012-04-28 Thread Hynek Schlawack

Changes by Hynek Schlawack :


--
nosy: +hynek

___
Python tracker 

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



[issue14428] Implementation of the PEP 418

2012-04-28 Thread STINNER Victor

Changes by STINNER Victor :


Added file: http://bugs.python.org/file25393/4ba64ca9abcf.diff

___
Python tracker 

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



[issue9260] A finer grained import lock

2012-04-28 Thread Antoine Pitrou

Antoine Pitrou  added the comment:

New patch gets rid of the reliance on _thread.RLock (uses non-recursive locks 
instead), and should solve the synchronization issue. Other issues remain.

--
Added file: http://bugs.python.org/file25394/module_locks2.patch

___
Python tracker 

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



[issue7707] multiprocess.Queue operations during import can lead to deadlocks

2012-04-28 Thread Hynek Schlawack

Hynek Schlawack  added the comment:

The proposed patch has been committed as c4dcbe51c2e3 – any reasons why this 
issues is still open?

--
nosy: +hynek

___
Python tracker 

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



[issue7707] multiprocess.Queue operations during import can lead to deadlocks

2012-04-28 Thread Antoine Pitrou

Changes by Antoine Pitrou :


--
components: +Documentation -Library (Lib)
resolution:  -> fixed
stage:  -> committed/rejected
status: open -> closed

___
Python tracker 

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



[issue14428] Implementation of the PEP 418

2012-04-28 Thread STINNER Victor

Changes by STINNER Victor :


Removed file: http://bugs.python.org/file25393/4ba64ca9abcf.diff

___
Python tracker 

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



[issue14428] Implementation of the PEP 418

2012-04-28 Thread STINNER Victor

Changes by STINNER Victor :


Added file: http://bugs.python.org/file25395/9a93348e98e7.diff

___
Python tracker 

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



[issue14427] urllib.request.Request get_header and header_items not documented

2012-04-28 Thread Senthil Kumaran

Changes by Senthil Kumaran :


--
assignee: docs@python -> orsenthil
nosy: +orsenthil

___
Python tracker 

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



[issue14428] Implementation of the PEP 418

2012-04-28 Thread STINNER Victor

Changes by STINNER Victor :


Removed file: http://bugs.python.org/file25395/9a93348e98e7.diff

___
Python tracker 

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



[issue14428] Implementation of the PEP 418

2012-04-28 Thread STINNER Victor

Changes by STINNER Victor :


Removed file: http://bugs.python.org/file25254/384190bb0bd5.diff

___
Python tracker 

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



[issue14428] Implementation of the PEP 418

2012-04-28 Thread STINNER Victor

Changes by STINNER Victor :


Added file: http://bugs.python.org/file25396/667541bb315c.diff

___
Python tracker 

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



[issue14428] Implementation of the PEP 418

2012-04-28 Thread STINNER Victor

STINNER Victor  added the comment:

667541bb315c.diff: Updated patch, last change: is_adjusted key of 
time.get_clock_info() is now mandatory.

--

___
Python tracker 

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



[issue1739648] zipfile.testzip() using progressive file reads

2012-04-28 Thread Alan McIntyre

Alan McIntyre  added the comment:

I'd be glad to do some code reviews or something in exchange for the time of 
somebody with commit rights. :-)  If anybody is interested in getting this 
change committed, please let me know and I'll check that the patch is still 
valid.  Thanks!

--
status: open -> languishing

___
Python tracker 

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



[issue14428] Implementation of the PEP 418

2012-04-28 Thread STINNER Victor

Changes by STINNER Victor :


Added file: http://bugs.python.org/file25397/4255e3c4daf2.diff

___
Python tracker 

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



[issue14428] Implementation of the PEP 418

2012-04-28 Thread Roundup Robot

Roundup Robot  added the comment:

New changeset 76d2e0761d18 by Victor Stinner in branch 'default':
Issue #14428, #14397: Implement the PEP 418
http://hg.python.org/cpython/rev/76d2e0761d18

--
nosy: +python-dev

___
Python tracker 

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



[issue14397] Use GetTickCount/GetTickCount64 instead of QueryPerformanceCounter for monotonic clock

2012-04-28 Thread Roundup Robot

Roundup Robot  added the comment:

New changeset 76d2e0761d18 by Victor Stinner in branch 'default':
Issue #14428, #14397: Implement the PEP 418
http://hg.python.org/cpython/rev/76d2e0761d18

--
nosy: +python-dev

___
Python tracker 

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



[issue14428] Implementation of the PEP 418

2012-04-28 Thread STINNER Victor

STINNER Victor  added the comment:

Guido van Rossum accepted the PEP, let's commit the implementation.

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

___
Python tracker 

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



[issue14309] Deprecate time.clock()

2012-04-28 Thread Roundup Robot

Roundup Robot  added the comment:

New changeset 314c3faea2fb by Victor Stinner in branch 'default':
Close #14309: Deprecate time.clock()
http://hg.python.org/cpython/rev/314c3faea2fb

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

___
Python tracker 

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



[issue14309] Deprecate time.clock()

2012-04-28 Thread STINNER Victor

STINNER Victor  added the comment:

The PEP 418 has been accepted: read it to understand why time.clock() is now 
deprecated.

--

___
Python tracker 

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



[issue9260] A finer grained import lock

2012-04-28 Thread Antoine Pitrou

Antoine Pitrou  added the comment:

Updated patch fixes the performance issue and disposes of module locks when 
they aren't used anymore.
Only the afterfork question remains. Should I hook in threading's own facility? 
Should we wait for an atfork module? Something else.

--
Added file: http://bugs.python.org/file25398/module_locks3.patch

___
Python tracker 

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



[issue9260] A finer grained import lock

2012-04-28 Thread Antoine Pitrou

Changes by Antoine Pitrou :


Removed file: http://bugs.python.org/file25398/module_locks3.patch

___
Python tracker 

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



[issue9260] A finer grained import lock

2012-04-28 Thread Antoine Pitrou

Changes by Antoine Pitrou :


Added file: http://bugs.python.org/file25399/module_locks3.patch

___
Python tracker 

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



[issue14428] Implementation of the PEP 418

2012-04-28 Thread Roundup Robot

Roundup Robot  added the comment:

New changeset bd195749c0a2 by Victor Stinner in branch 'default':
Issue #14428: Use the new time.perf_counter() and time.process_time() functions
http://hg.python.org/cpython/rev/bd195749c0a2

--

___
Python tracker 

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



[issue14690] Use monotonic time for sched, trace and subprocess modules

2012-04-28 Thread STINNER Victor

New submission from STINNER Victor :

The PEP 418 added a new time.monotonic() function. The sched, trace and 
subprocess modules should use it, if available, to avoid issues when the system 
time is changed.

Attached patch uses the time.monotonic() function when available.

See also the issue #14222 (same issue for queue and threading) and the PEP 418.

--

socket and ssl modules should also use a monotonic clock if available, but 
these modules are implemented in C. The C implementation of time.monotonic() 
requires the librt library and is written in the timemodule.c. It requires more 
work to reuse it in the socket and ssl modules.

--
files: use_monotonic.patch
keywords: patch
messages: 159559
nosy: haypo, neologix, rhettinger
priority: normal
severity: normal
status: open
title: Use monotonic time for sched, trace and subprocess modules
Added file: http://bugs.python.org/file25400/use_monotonic.patch

___
Python tracker 

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



[issue14690] Use monotonic time for sched, trace and subprocess modules

2012-04-28 Thread Antoine Pitrou

Changes by Antoine Pitrou :


--
nosy: +giampaolo.rodola

___
Python tracker 

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



[issue14690] Use monotonic time for sched, trace and subprocess modules

2012-04-28 Thread STINNER Victor

Changes by STINNER Victor :


--
nosy: +belopolsky

___
Python tracker 

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



[issue14155] Deja vu in re's documentation

2012-04-28 Thread Roundup Robot

Roundup Robot  added the comment:

New changeset 142297db28f1 by Ezio Melotti in branch '2.7':
#14155: add a note about \b.
http://hg.python.org/cpython/rev/142297db28f1

New changeset f4b167309bee by Ezio Melotti in branch '3.2':
#14155: add a note about \b.
http://hg.python.org/cpython/rev/f4b167309bee

New changeset b1f29667a3c7 by Ezio Melotti in branch 'default':
#14155: merge note about \b from 3.2.
http://hg.python.org/cpython/rev/b1f29667a3c7

--

___
Python tracker 

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



[issue14155] Deja vu in re's documentation

2012-04-28 Thread Ezio Melotti

Ezio Melotti  added the comment:

I added a note about \b.  I don't think the duplicate description of the octal 
escapes is a problem.

--

___
Python tracker 

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



[issue11379] Remove "lightweight" from minidom description

2012-04-28 Thread Ezio Melotti

Ezio Melotti  added the comment:

Any news on this?

--

___
Python tracker 

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



[issue14009] Clearer documentation for cElementTree

2012-04-28 Thread Ezio Melotti

Changes by Ezio Melotti :


--
type:  -> enhancement

___
Python tracker 

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



[issue13684] httplib tunnel infinite loop

2012-04-28 Thread Roundup Robot

Roundup Robot  added the comment:

New changeset 685c1db976c4 by Senthil Kumaran in branch '2.7':
httplib test for early eof response. related to Issue13684
http://hg.python.org/cpython/rev/685c1db976c4

New changeset afabb0635b15 by Senthil Kumaran in branch '3.2':
httplib test for early eof response. related to Issue13684
http://hg.python.org/cpython/rev/afabb0635b15

New changeset cfff6a53f4a3 by Senthil Kumaran in branch 'default':
httplib test for early eof response. related to Issue13684
http://hg.python.org/cpython/rev/cfff6a53f4a3

--

___
Python tracker 

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



[issue13684] httplib tunnel infinite loop

2012-04-28 Thread Senthil Kumaran

Senthil Kumaran  added the comment:

I added a simple test for the early eof condition. It is not specific under 
_tunnel. I find that Mocks yet to be written that cover the response from 
httplib ( the mocks in the tests -httplib,urllib2), have their own overridden 
read() method which may not cover this scenario).  The early eof test may be 
helpful to some extent as general test case. I am closing this bug report as 
fix has been covered.

--
resolution:  -> fixed

___
Python tracker 

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



[issue13850] Summary tables for argparse add_argument options

2012-04-28 Thread Ezio Melotti

Ezio Melotti  added the comment:

> * It's incredibly not helpful for people who don't know argparse

Indeed.  Maybe this should be moved down in the page, and possibly provide a 
link to the top (see e.g. the unittest doc [0] and the link on top to jump to 
the list of assert methods).  Once people know it's there they will find it 
easily, but opening the doc with this table is a bit confusing IMHO.  Adding a 
couple of line to explain what the table is for might also help.

> * I tried adding effects descriptions in the cells instead of mere
> tick marks, the table becomes completely unreadable.

In the rst source only latin-1 chars are allowed (otherwise `make pdf` breaks), 
so you should replace the tick marks with something else (e.g. "x" or 
"yes"/"no").

> I added a note directive below the table but it only lists a few 
> really important/weird things, and it really won't scale beyond the
> current 3 items (which might already be too much)

You can also add notes numbers just next to the "x"s and add a description 
below [1].  This could be applied to the "const" column as well if you want to 
save some horizontal space.  If you want to save even more space you could 
remove the version row/column and add a note about it.

> * I completely removed the ``help`` action from the table as it's 
> unlikely anyone will want to override it (and its row was completely blank)

Maybe you could add a note about this too.

> * Hyperlinking and cross-linking (to the params, the actions,
> footnotes) would probably be a good idea, although it would
> definitely make the "raw text" (in-rst) 

This might be useful (I did it in the assert methods' tables in the unittest 
doc [0]), and having links in the HTML probably outweighs the fact that the rst 
source becomes less readable.

Note that (depending on what you change), you might be able to use the 
lightweight syntax for tables if you prefer.

[0]: http://docs.python.org/library/unittest.html
[1]: e.g. 
http://docs.python.org/library/stdtypes.html#numeric-types-int-float-long-complex

--
stage:  -> patch review
type:  -> enhancement

___
Python tracker 

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



[issue14427] urllib.request.Request get_header and header_items not documented

2012-04-28 Thread Roundup Robot

Roundup Robot  added the comment:

New changeset 6a9f100e138c by Senthil Kumaran in branch '3.2':
issue14427 - Document Request.get_header and Request.header_items
http://hg.python.org/cpython/rev/6a9f100e138c

New changeset 261de1701343 by Senthil Kumaran in branch 'default':
issue14427 - Document Request.get_header and Request.header_items
http://hg.python.org/cpython/rev/261de1701343

New changeset 9a1f525b98d9 by Senthil Kumaran in branch '2.7':
issue14427 - Document Request.get_header and Request.header_items
http://hg.python.org/cpython/rev/9a1f525b98d9

--
nosy: +python-dev

___
Python tracker 

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



[issue14427] urllib.request.Request get_header and header_items not documented

2012-04-28 Thread Senthil Kumaran

Senthil Kumaran  added the comment:

Just documented it. Surprising that it was not already! :(

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

___
Python tracker 

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



[issue14034] Add argparse howto

2012-04-28 Thread Ezio Melotti

Ezio Melotti  added the comment:

> Would be nice to get another review.

I left several comments on rietveld.

Overall the tutorial seems really nice and easy to follow (except a couple of 
parts, noted in the comments).

I would replace all the uses of pow(x, y) with x**y in the code, and possibly 
with x^y in the output/descriptions (x**y is probably fine there too).

--

___
Python tracker 

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



[issue11379] Remove "lightweight" from minidom description

2012-04-28 Thread Éric Araujo

Éric Araujo  added the comment:

I’ve been unresponsive of late, sorry, but I’m still here.  Will see if I have 
time tomorrow.

--

___
Python tracker 

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



[issue14034] Add argparse howto

2012-04-28 Thread Ezio Melotti

Ezio Melotti  added the comment:

A few more comments:

* in the review I mentioned highlighting specific code lines (this would be 
really great given the incremental nature of the howto), but apparently that 
requires a pygment 1.1 [0].

* all the output examples could use ".. highlightlang:: sh", but:
  1. the sh highlighter is not so good imho;
  2. you would have to switch back and forth from sh and python (unless there's 
a better way to do it);

* the sidebar box with the tutorial looks better if you put it between the  
and the introductory paragraph.

Maybe Georg has something to say about the first two comments.

[0]: see last example in http://sphinx.pocoo.org/markup/code.html#line-numbers

--
nosy: +georg.brandl

___
Python tracker 

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



[issue14461] In re's positive lookbehind assertion documentation match() cannot match

2012-04-28 Thread Roundup Robot

Roundup Robot  added the comment:

New changeset 7c262962b681 by Ezio Melotti in branch '2.7':
#14461: fix wording.
http://hg.python.org/cpython/rev/7c262962b681

New changeset 7f35da912739 by Ezio Melotti in branch '3.2':
#14461: fix wording.
http://hg.python.org/cpython/rev/7f35da912739

New changeset d68b4885fc0f by Ezio Melotti in branch 'default':
#14461: merge with 3.2.
http://hg.python.org/cpython/rev/d68b4885fc0f

--
nosy: +python-dev

___
Python tracker 

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



[issue14461] In re's positive lookbehind assertion documentation match() cannot match

2012-04-28 Thread Ezio Melotti

Ezio Melotti  added the comment:

Technically you are correct, however using zero-width classes inside a 
lookbehind doesn't make much sense, because the result would be equivalent even 
without lookbehind.
I replaced 'never' with 'not', because usually it will not match, except in 
these corner cases that can IMHO be ignored.

--
assignee: docs@python -> ezio.melotti
resolution:  -> fixed
stage:  -> committed/rejected
status: open -> closed
type:  -> enhancement
versions: +Python 2.7, Python 3.3

___
Python tracker 

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



[issue6085] Logging in BaseHTTPServer.BaseHTTPRequestHandler causes lag

2012-04-28 Thread Roundup Robot

Roundup Robot  added the comment:

New changeset 64a6824d129d by Senthil Kumaran in branch 'default':
Fix Issue6085 - SimpleHTTPServer address_string to return client ip instead of 
client hostname
http://hg.python.org/cpython/rev/64a6824d129d

--
nosy: +python-dev

___
Python tracker 

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



[issue14462] In re's named group the name cannot contain unicode characters

2012-04-28 Thread Ezio Melotti

Ezio Melotti  added the comment:

There are two options here:

1. fix the doc;
2. fix the code;

Matthew, do you have any opinion on this?  Does this work on regex?

--
stage:  -> needs patch
type: behavior -> enhancement
versions: +Python 2.7, Python 3.3

___
Python tracker 

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



[issue14405] Some "Other Resources" in the sidebar are hopelessly out of date

2012-04-28 Thread Ezio Melotti

Ezio Melotti  added the comment:

Here's a patch that removes a few links:
 * FAQs: the link is already in the page;
 * Guido's Essays: the content is outdated;
 * New-style Classes: the content is outdated;
 * Other Doc Collections: link is broken;
 * Report a Bug: the link is already in the page;

Someone should also update the pages about New-style Classes and Guido's Essays.

--
assignee: docs@python -> ezio.melotti
keywords: +patch
nosy: +eric.araujo, georg.brandl
stage:  -> patch review
type:  -> enhancement
versions: +Python 2.7, Python 3.2, Python 3.3
Added file: http://bugs.python.org/file25401/issue14405.diff

___
Python tracker 

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



[issue14244] No information about behaviour with groups in pattern in the docstring for re.split

2012-04-28 Thread Ezio Melotti

Changes by Ezio Melotti :


--
stage:  -> committed/rejected
type:  -> enhancement
versions: +Python 3.3

___
Python tracker 

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



[issue14236] re: Docstring for \s and \S doesn’t mention Unicode

2012-04-28 Thread Roundup Robot

Roundup Robot  added the comment:

New changeset da9179248118 by Ezio Melotti in branch '3.2':
#14236: mention Unicode whitespace in \s documentation.
http://hg.python.org/cpython/rev/da9179248118

New changeset db39b9513e71 by Ezio Melotti in branch 'default':
#14236: merge with 3.2.
http://hg.python.org/cpython/rev/db39b9513e71

--
nosy: +python-dev

___
Python tracker 

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



[issue14236] re: Docstring for \s and \S doesn’t mention Unicode

2012-04-28 Thread Ezio Melotti

Ezio Melotti  added the comment:

Fixed, thanks for the report!

--
assignee: docs@python -> ezio.melotti
resolution:  -> fixed
stage:  -> committed/rejected
status: open -> closed
type:  -> enhancement
versions:  -Python 2.7

___
Python tracker 

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



[issue6085] Logging in BaseHTTPServer.BaseHTTPRequestHandler causes lag

2012-04-28 Thread Senthil Kumaran

Senthil Kumaran  added the comment:

The original change was introduced in this issue401197 which seems to use  fqdn 
at *all appropriate places*. In this case, after about a decade, it was 
realized that using fdqn for client connection may not be appropriate when 
hostname is not set.

In 3.3, this is fixed by making address_string return client ip instead of 
client hostname.

In 2.7 and 3.2, I would like to see it fixed wherein, inside the log_message 
call, the address_string is not called instead direct client address is used. 
In this manner, we are not changing any return values of public api 
(address_string), but we are effectively eliminating the delay cased by fqdn 
looking while logging to sys.stderr.

--

___
Python tracker 

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



[issue6085] Logging in BaseHTTPServer.BaseHTTPRequestHandler causes lag

2012-04-28 Thread Roundup Robot

Roundup Robot  added the comment:

New changeset fb1e71c7619a by Senthil Kumaran in branch '2.7':
Fix issue6085 - Remove the delay caused by fqdn lookup while logging in 
BaseHTTPRequestHandler
http://hg.python.org/cpython/rev/fb1e71c7619a

New changeset 6adad27fcc8c by Senthil Kumaran in branch '3.2':
Fix issue6085 - Remove the delay caused by fqdn lookup while logging in 
BaseHTTPRequestHandler
http://hg.python.org/cpython/rev/6adad27fcc8c

New changeset f9f11998a20d by Senthil Kumaran in branch 'default':
issue6085 - update docs in default branch
http://hg.python.org/cpython/rev/f9f11998a20d

--

___
Python tracker 

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



[issue6085] Logging in BaseHTTPServer.BaseHTTPRequestHandler causes lag

2012-04-28 Thread Senthil Kumaran

Senthil Kumaran  added the comment:

Fixed in all codelines. Closing this.

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

___
Python tracker 

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



[issue14468] Update cloning guidelines in devguide

2012-04-28 Thread Ezio Melotti

Ezio Melotti  added the comment:

Are you referring to 
http://docs.python.org/devguide/committing.html#forward-porting ?

--
stage:  -> needs patch
type:  -> enhancement

___
Python tracker 

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



[issue14304] Implement utf-8-bmp codec

2012-04-28 Thread Serhiy Storchaka

Serhiy Storchaka  added the comment:

Andrew, imagine that the utf-8-bmp codec is already there (I will do it
for you, if I see its necessity). How are you going to use it? Show a
patch that fixes IDLE and tkinter using this codec. It seems to me that
any result can be achieved without the codec, and not higher cost. And
that's not counting cost of the codec itself.

--

___
Python tracker 

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



[issue1739648] zipfile.testzip() using progressive file reads

2012-04-28 Thread Serhiy Storchaka

Serhiy Storchaka  added the comment:

I'm not sure about new tests, but the changes in the docstring and old tests 
look necessary.

--
Added file: http://bugs.python.org/file25402/testzip-patch4.patch

___
Python tracker 

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



[issue14315] zipfile.ZipFile() unable to open zip File

2012-04-28 Thread Serhiy Storchaka

Serhiy Storchaka  added the comment:

Anyone can look at the patch? This same problem reported in 
http://bugs.python.org/msg73317 .

--

___
Python tracker 

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