[issue16805] when building docs on Debian 7 -- ERROR: Error in note directive

2012-12-29 Thread Georg Brandl

Georg Brandl added the comment:

In this case it's more of a docutils version problem, I would guess. Tshepang, 
can you find out your docutils version?

But proper use of the note directive is with an empty line, so we should fix 
these instances anyway.

--
nosy: +georg.brandl

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



[issue15112] argparse: nargs='*' positional argument doesn't accept any items if preceded by an option and another positional

2012-12-29 Thread Chris Jerdonek

Chris Jerdonek added the comment:

Was argparse ever supposed to support inputs of the form given in the example 
(i.e. different positional arguments straddling optional arguments): 'yy -x zz'?

The usage string shows up as: usage: test.py [-h] [-x] y [z [z ...]]  The 
original example seems to work with the current code if given as: '-x yy zz'.

Also, substituting argparse.REMAINDER for '*' in the original example gives the 
following both with and without the patch:

Namespace(x=False, y='yy', z=['-x', 'zz'])

That doesn't seem consistent with straddling being supported.

Lastly, passing just '-x' gives the following error with and without the patch 
(z should be optional):

error: the following arguments are required: y, z

--
nosy: +chris.jerdonek

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



[issue16811] email.message.Message flatten dies of list index out of range

2012-12-29 Thread Helmut Jarausch

New submission from Helmut Jarausch:

The following code triggers the bug:

#!/usr/bin/python3.3
#-*- coding: latin1 -*-
from email.message import Message
from email import policy
from email.parser import FeedParser

Parser= FeedParser(policy=policy.SMTP)
Parser.feed('From jarau...@igpm.rwth-aachen.de  Tue Apr 24 15:09:24 2012\n')
Parser.feed('X-Status:\n')  # this triggers the bug
Parser.feed('From: Helmut Jarausch jarau...@igpm.rwth-aachen.de\n')

Msg= Parser.close()
Msg_as_str= Msg.as_string(unixfrom=True)

This triggers
  File Email_Parse_Bug.py, line 13, in module
Msg_as_str= Msg.as_string(unixfrom=True)
  File /usr/lib64/python3.3/email/message.py, line 151, in as_string
g.flatten(self, unixfrom=unixfrom)
  File /usr/lib64/python3.3/email/generator.py, line 112, in flatten
self._write(msg)
  File /usr/lib64/python3.3/email/generator.py, line 171, in _write
self._write_headers(msg)
  File /usr/lib64/python3.3/email/generator.py, line 198, in _write_headers
self.write(self.policy.fold(h, v))
  File /usr/lib64/python3.3/email/policy.py, line 153, in fold
return self._fold(name, value, refold_binary=True)
  File /usr/lib64/python3.3/email/policy.py, line 176, in _fold
(len(lines[0])+len(name)+2  maxlen or
IndexError: list index out of range


If I strip the '\n' from the lines feeded to the Parser,
the bug does not occur.

Thanks for looking into it,
Helmut.

This is with  Python 3.3.0+ 3.3:ccc372b37fbb+

--
components: Library (Lib)
messages: 178482
nosy: HJarausch
priority: normal
severity: normal
status: open
title: email.message.Message flatten dies of list index out of range
type: crash
versions: Python 3.3

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



[issue16806] col_offset is -1 for multiline string expressions resembling docstrings

2012-12-29 Thread Carsten Klein

Carsten Klein added the comment:

Please see the attached patch that will resolve the issue. It also includes a 
test case in test_ast.py.

What the patch does is as follows:

- tok_state is extended by two fields, namely first_lineno
  and multi_line_start

- first_lineno will be set by tok_get as soon as the beginning
  of a STRING is detected and it will be set to the current line
  tok-lineno.

- multi_line_start is the beginning of the first line of a string

- in parsetok we now distinguish between STRING nodes and other
  nodes. in case of STRING nodes, we will use the values of the
  above fields for determining the actual lineno and the col_offset,
  otherwise tok-col_offset and tok-lineno will be used when
  creating the token.

The included test case ensures that the col_offset and lineno of
multi line strings is calculated correctly.

--
keywords: +patch
Added file: http://bugs.python.org/file28477/issue1680.diff

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



[issue16806] col_offset is -1 and lineno is wrong for multiline string expressions

2012-12-29 Thread Carsten Klein

Changes by Carsten Klein carsten.kl...@axn-software.de:


--
title: col_offset is -1 for multiline string expressions resembling docstrings 
- col_offset is -1 and lineno is wrong for multiline string expressions

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



[issue16806] col_offset is -1 and lineno is wrong for multiline string expressions

2012-12-29 Thread Carsten Klein

Changes by Carsten Klein carsten.kl...@axn-software.de:


Removed file: http://bugs.python.org/file28477/issue1680.diff

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



[issue16806] col_offset is -1 and lineno is wrong for multiline string expressions

2012-12-29 Thread Carsten Klein

Changes by Carsten Klein carsten.kl...@axn-software.de:


Added file: http://bugs.python.org/file28478/issue16806.diff

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



[issue16805] when building docs on Debian 7 -- ERROR: Error in note directive

2012-12-29 Thread Tshepang Lekhonkhobe

Tshepang Lekhonkhobe added the comment:

docutils 0.8.1-8

--

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



[issue16808] inspect.stack() should return list of named tuples

2012-12-29 Thread Daniel Shahaf

Daniel Shahaf added the comment:

Why did you set stage to 'needs patch'?  One is already attached.

--

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



[issue16805] when building docs on Debian 7 -- ERROR: Error in note directive

2012-12-29 Thread Sandro Tosi

Sandro Tosi added the comment:

On Sat, Dec 29, 2012 at 4:33 AM, Tshepang Lekhonkhobe
rep...@bugs.python.org wrote:
 It is my preference to be able to build all of CPython with the
 already-installed distro packages, instead of pulling in foreign ones.

IMO, I think with a project as bit as CPython, you should leave you
personal preferences apart and use (as much as possible) the tools the
project has decided to use: having a consistent set of tools to build
doc across everyone/everything (like auto-build doc machines) trying
to generate the doc is the proper way to handle it.

 Any reason why not use later versions?

no-one has done the work of testing, preparation and migration: do you
volunteer? :)

 Can't the docs be written such
 that they can run on various versions of these tools anyway?

Not always, but of course, as Georg said, if for note directive we can
have a syntax working with current and higher versions of
sphinx/docutils, that's ok to do it.

I only think that using a non-standard set of doc-build-tools is to be
discouraged, and sticking to what Makefile will fetch is the proper
way to build the doc and contribute to it.

Regards,
--
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi

--

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



[issue16801] Preserve original representation for integers / floats in docstrings

2012-12-29 Thread Carsten Klein

Carsten Klein added the comment:

The problem with this is that at the time that pydoc gets the information via 
inspect, the numbers have already been parsed as long or double and the 
original notation is no longer available.

This is due to the fact that during build of the AST node for the NUMBER type, 
the value will already be deserialized into its machine representation, which 
is either long or double.

The only way to preserve that information would be to extend the NUM_type with 
an additional 's' field which then would preserve its original notation and 
which can be retrieved from the AST.

pydoc, however, would still fail as it does not use the AST. In order to 
restore the original information, pydoc must then source the original file or 
source of the function or class method and parse it using the AST.

A much simpler approach would be to simply get the function or method source 
and extract its formal parameter list using for example a regular expression.

However, preserving the original notation in the runtime is not required and 
shouldn't be done.

--
nosy: +carsten.kl...@axn-software.de

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



[issue16801] Preserve original representation for integers / floats in docstrings

2012-12-29 Thread Carsten Klein

Carsten Klein added the comment:

Here are some links into the sources:

Python/ast.c, ast_for_atom(), line 1872ff.
Python/ast.c, parsenumber(), line 3632ff.

--

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



[issue16805] when building docs on Debian 7 -- ERROR: Error in note directive

2012-12-29 Thread Tshepang Lekhonkhobe

Tshepang Lekhonkhobe added the comment:

 no-one has done the work of testing, preparation and migration: do you
 volunteer? :)

What needs doing exactly? I would volunteer if guided. I normally
build with the Debian-provided tools, and the docs look good, all but
those note directive errors.

Also, can I submit a patch that adds the missing newlines, or will
some committer take care of it, or does this need further discussion?

--

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



[issue16801] Preserve original representation for integers / floats in docstrings

2012-12-29 Thread Carsten Klein

Carsten Klein added the comment:

However, hinting inspect to use a different format when serializing the default 
values for existing keyword parameters of methods or functions
seems to be a good idea and +1 by me for that.

Personally, I'd rather have the decorator based solution than having to 
manually add additional fields to a given method or function.

--

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



[issue16798] DTD not checked

2012-12-29 Thread Eli Bendersky

Eli Bendersky added the comment:

I have no plans adding this feature to etree.

--

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



[issue16805] when building docs on Debian 7 -- ERROR: Error in note directive

2012-12-29 Thread Sandro Tosi

Sandro Tosi added the comment:

On Sat, Dec 29, 2012 at 4:07 PM, Tshepang Lekhonkhobe
rep...@bugs.python.org wrote:
 no-one has done the work of testing, preparation and migration: do you
 volunteer? :)

 What needs doing exactly? I would volunteer if guided. I normally

(you always can't expect to be guided) it's not much more than

- update sphinx (and the other tools it depends on, if needed).
- fix what's broken or what needs updating
- verify the doc is ok

for any supported branches.

 Also, can I submit a patch that adds the missing newlines, or will
 some committer take care of it, or does this need further discussion?

it won't hurt to have a patch. But please build the doc it with the
CPython selected tools before submitting the patch, and verifying the
doc sections you've changed are still ok.

--

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



[issue16804] python3 -S -m site fails

2012-12-29 Thread Christian Heimes

Changes by Christian Heimes li...@cheimes.de:


--
nosy: +christian.heimes

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



[issue16812] os.symlink can return wrong FileExistsError/WindowsError information

2012-12-29 Thread Andrew

New submission from Andrew:

When attempting to make a symlink using a name that already exists, a 
FileExistsError is raised (and rightfully so), but it lists the source name 
rather than the destination name. However, the existing destination name is 
what causes the exception to be raised, not the existing source. Since the 
FileExistsError is WinError 183 and I haven't attempted this on another OS, I'm 
marking this as Windows-specific. Issue 13775 seems to be related.

--
components: Windows
messages: 178493
nosy: IAmTheClaw
priority: normal
severity: normal
status: open
title: os.symlink can return wrong FileExistsError/WindowsError information
type: behavior
versions: Python 3.3

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



[issue16813] use paths relative to CPython root

2012-12-29 Thread Tshepang Lekhonkhobe

New submission from Tshepang Lekhonkhobe:

I think it's a good idea to simply list the 'full' path.

--
assignee: docs@python
components: Devguide, Documentation
files: use-paths-relative-to-root.diff
keywords: patch
messages: 178494
nosy: docs@python, ezio.melotti, tshepang
priority: normal
severity: normal
status: open
title: use paths relative to CPython root
Added file: http://bugs.python.org/file28479/use-paths-relative-to-root.diff

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



[issue16814] use --directory option of make

2012-12-29 Thread Tshepang Lekhonkhobe

New submission from Tshepang Lekhonkhobe:

This avoids having to run 2 separate commands.

--
components: Devguide
files: make-can-specify-build-directory.diff
keywords: patch
messages: 178495
nosy: ezio.melotti, tshepang
priority: normal
severity: normal
status: open
title: use --directory option of make
Added file: 
http://bugs.python.org/file28480/make-can-specify-build-directory.diff

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



[issue16814] use --directory option of make

2012-12-29 Thread Sandro Tosi

Sandro Tosi added the comment:

i'd use

make -C Doc html

much more compact and what you would usually find on the internet for cd into 
the dir and run the html target in it

--
nosy: +sandro.tosi

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



[issue16814] use --directory option of make

2012-12-29 Thread Tshepang Lekhonkhobe

Tshepang Lekhonkhobe added the comment:

I like long-form options for documentation purposes since it's clearer
what the option is for.

--

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



[issue16219] segfault when using xml.etree.ElementTree.XMLTreeBuilder

2012-12-29 Thread Eli Bendersky

Changes by Eli Bendersky eli...@gmail.com:


--
status: open - closed

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



[issue16076] xml.etree.ElementTree.Element and xml.etree.ElementTree.TreeBuilder are no longer pickleable

2012-12-29 Thread Eli Bendersky

Eli Bendersky added the comment:

Daniel, is your patch made vs. the 3.3 branch? I'll need to apply there first, 
and then merge up to default (3.4).

[Also, removing the 3.2 tag here. 3.2 won't be fixed to make _elementtree 
pickleable - it never was].

--
versions:  -Python 3.2

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



[issue16076] xml.etree.ElementTree.Element and xml.etree.ElementTree.TreeBuilder are no longer pickleable

2012-12-29 Thread Daniel Shahaf

Daniel Shahaf added the comment:

I wrote the patch against default (3.4), but it applies cleanly to 3.3.

--

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



[issue16076] xml.etree.ElementTree.Element and xml.etree.ElementTree.TreeBuilder are no longer pickleable

2012-12-29 Thread Eli Bendersky

Eli Bendersky added the comment:

Also, could you explain what makes test___all__ start failing with this patch? 
What are you adding that makes that happen?

P.S. I suspect the root reason is the bad way etree tests are structured in 
general. See issue 15083

--

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



[issue15651] PEP 3121, 384 refactoring applied to elementtree module

2012-12-29 Thread Eli Bendersky

Eli Bendersky added the comment:

Thanks for the patch. I'll take a look.

--
assignee:  - eli.bendersky

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



[issue16811] email.message.Message flatten dies of list index out of range

2012-12-29 Thread R. David Murray

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


--
components: +email
nosy: +barry, r.david.murray
stage:  - needs patch
type: crash - behavior
versions: +Python 3.4

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



[issue16811] email.message.Message flatten dies of list index out of range

2012-12-29 Thread R. David Murray

R. David Murray added the comment:

Thanks for the report.

We thought we fixed this once already (in issue 11401).  It looks like that 
only fixed the old folding algorithm, and that the new one has the same bug.  
I thought the test ran against both algorithms, but I must have made a mistake.

--

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



[issue16805] when building docs on Debian 7 -- ERROR: Error in note directive

2012-12-29 Thread Tshepang Lekhonkhobe

Tshepang Lekhonkhobe added the comment:

I have tested the attached patch using official tools (make -C Doc html) and 
the only differences, between before and after, are:

* The genindex files, where some of the keywords that are duplicated in the 
documentation would end up getting randomly swapped around. An example is 
DEDENT token, which appears twice in the documentation (see 
http://docs.python.org/3/genindex-D.html). In its case, the 1st url points to 
where the 2nd url used to point and vice versa.

* objects.inv: related to genindex changes?

* searchindex.js: also related to genindex changes?

I suspect these differences do not matter though, since these are just indexes.

--
keywords: +patch
Added file: http://bugs.python.org/file28481/remove-directives-warnings.diff

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



[issue16813] use paths relative to CPython root in documentation building instructions

2012-12-29 Thread R. David Murray

R. David Murray added the comment:

Thanks for the suggestion, but the context is that you are in the Doc directory 
in order to run make, so I think the existing documentation is preferable.  I'd 
let George decide, though.

--
nosy: +georg.brandl, r.david.murray
title: use paths relative to CPython root - use paths relative to CPython root 
in documentation building instructions

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



[issue16814] use --directory option of make

2012-12-29 Thread R. David Murray

R. David Murray added the comment:

I think the fact that the cd paradigm is more commonly encountered is a fairly 
strong argument in favor of keeping it, but I'm only -0 on this change.

--
nosy: +r.david.murray

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



[issue16814] use --directory option of make in describing how to build the docs

2012-12-29 Thread R. David Murray

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


--
title: use --directory option of make - use --directory option of make in 
describing how to build the docs

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



[issue16805] when building docs on Debian 7 -- ERROR: Error in note directive

2012-12-29 Thread Tshepang Lekhonkhobe

Tshepang Lekhonkhobe added the comment:

The previous patch applies cleanly to 3.3 and 3.4. I am now attaching one that 
applies cleanly to 3.2.

--
versions: +Python 3.3
Added file: http://bugs.python.org/file28482/remove-directives-warnings-3.2.diff

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



[issue16805] when building docs on Debian 7 -- ERROR: Error in note directive

2012-12-29 Thread Tshepang Lekhonkhobe

Tshepang Lekhonkhobe added the comment:

And this one patch applies to 2.7.

--
versions: +Python 2.7, Python 3.2
Added file: http://bugs.python.org/file28483/remove-directives-warnings-2.7.diff

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



[issue16778] Logger.findCaller needs to be smarter

2012-12-29 Thread Vinay Sajip

Vinay Sajip added the comment:

 Passing a globals() instance looks hackish.

Agreed it's not ideal, but we're constrained by what's available to compare 
against via the frame. Apart from globals() there's only really the filename, 
which isn't ideal either.

--

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



[issue16076] xml.etree.ElementTree.Element and xml.etree.ElementTree.TreeBuilder are no longer pickleable

2012-12-29 Thread Daniel Shahaf

Daniel Shahaf added the comment:

Any attempt to pickle an Element object in test_xml_etree.py causes that test 
to fail if test___all__ had been run before it; see attached transcript.  It's 
against 3.4, with no changes other than the testsuite changes shown within.

I don't know what the root cause is.  As noted before, adding 'xml.etree' to 
test___all__.AllTest.test_all.blacklist is a workaround, so I assume the root 
cause lies within the test framework --- a bad interaction between the import 
magics in test___all__ and test_xml_etree.

--
Added file: http://bugs.python.org/file28484/transcript-test___all__.txt

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



[issue15083] Rewrite ElementTree tests in a cleaner and safer way

2012-12-29 Thread Daniel Shahaf

Changes by Daniel Shahaf pyt...@danielsh.fastmail.net:


--
nosy: +danielsh

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



[issue16801] Preserve original representation for integers / floats in docstrings

2012-12-29 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

 And if os.open were supplied in os.py:

 @inspect.override_string_representation('mode',
 'os.O_CREAT | os.O_RDWR')
 def open(file, flags, mode=0o777, *, dir_fd=None):

Other use case is a sentinel default. foo(arg={}) looks better than 
foo(arg=object object) for function which use a sentinel idiom:

_sentinel = object()
def foo(arg=_sentinel):
if arg is _sentinel:
arg = {}
...

Sometimes full signature overwriting is needed (see for example Python 
implementation of operator.methodcaller() in issue16694).

--
nosy: +serhiy.storchaka

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



[issue16809] Tk 8.6.0 introduces TypeError. (Tk 8.5.13 works)

2012-12-29 Thread Serhiy Storchaka

Changes by Serhiy Storchaka storch...@gmail.com:


--
nosy: +serhiy.storchaka

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



[issue16812] os.symlink can return wrong FileExistsError/WindowsError information

2012-12-29 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

See also issue16074.

--
nosy: +serhiy.storchaka

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



[issue13810] refer people to Doc/Makefile when not using 'make' to build main documentation

2012-12-29 Thread Tshepang Lekhonkhobe

Tshepang Lekhonkhobe added the comment:

 Additionally, the whole way we're fetching those tools will be revisited soon.

What are/were your plans ?

--

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



[issue13775] Access Denied message on symlink creation misleading for an existing file/directory target.

2012-12-29 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

See also issue16074.

--
nosy: +serhiy.storchaka

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



[issue16074] bad error message in os.rename

2012-12-29 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

As I see, now 3.4 behavior differs from 3.3 behavior.

 os.link('non-existent-name', 'new-name')
Traceback (most recent call last):
  File stdin, line 1, in module
FileNotFoundError: [Errno 2] No such file or directory: 'non-existent-name'
 os.symlink('long-name'*1000, 'new-name')
Traceback (most recent call last):
  File stdin, line 1, in module
OSError: [Errno 36] File name too long: 
'long-namelong-namelong-namelong-namelong-namelong-name...

--

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



[issue16815] Is all OK!!

2012-12-29 Thread Bernie Keimel

Changes by Bernie Keimel unowne...@gmail.com:


--
nosy: Bernie.Keimel
priority: normal
severity: normal
status: open
title: Is all OK!!

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



[issue16815] Is all OK!!

2012-12-29 Thread Hynek Schlawack

New submission from Hynek Schlawack:

Glad to hear.

--
nosy: +hynek
resolution:  - invalid
stage:  - committed/rejected
status: open - closed

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



[issue16813] use paths relative to CPython root in documentation building instructions

2012-12-29 Thread Georg Brandl

Georg Brandl added the comment:

Fine with me.

--

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



[issue16814] use --directory option of make in describing how to build the docs

2012-12-29 Thread Georg Brandl

Georg Brandl added the comment:

Agree with David.

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

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



[issue16805] when building docs on Debian 7 -- ERROR: Error in note directive

2012-12-29 Thread Georg Brandl

Georg Brandl added the comment:

LGTM.

--

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



[issue16801] Preserve original representation for integers / floats in docstrings

2012-12-29 Thread Georg Brandl

Georg Brandl added the comment:

A simple, minimal-invasive solution would be to allow a signature for 
documentation purposes as the first line of the docstrings.

pydoc could recognize this (if docstring.startswith(func.__name__ + '(') or 
something like that), and display the given signature instead of the 
introspected one.

--
nosy: +georg.brandl

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



[issue16810] inconsistency in weekday

2012-12-29 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

I don't see a difference.

$ ./python -c 'import time; print(time.localtime())'
time.struct_time(tm_year=2012, tm_mon=12, tm_mday=29, tm_hour=19, tm_min=36, 
tm_sec=35, tm_wday=5, tm_yday=364, tm_isdst=0)
$ ./python -c 'import datetime; print(datetime.date.today().timetuple())'
time.struct_time(tm_year=2012, tm_mon=12, tm_mday=29, tm_hour=0, tm_min=0, 
tm_sec=0, tm_wday=5, tm_yday=364, tm_isdst=-1)

Can you please provide a full code which demonstrate a problem?

--
nosy: +serhiy.storchaka

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



[issue16801] Preserve original representation for integers / floats in docstrings

2012-12-29 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

 pydoc could recognize this (if docstring.startswith(func.__name__ + '(') or 
 something like that), and display the given signature instead of the 
 introspected one.

Looks good for me.

--

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



[issue16810] inconsistency in weekday

2012-12-29 Thread Glenn Linderman

Glenn Linderman added the comment:

Thanks for the response, Serhiy.  I misreported, but there is still a bug in 
this area, it seems.  Attached is some code.

I was printing out (too) many values from datetime to learn how it worked. I 
got confused on which ones were printed in which order. The attached code 
reduces the number of values printed to just those that should be consistent, 
but according to the docs, aren't.  However, now that I figured out which ones 
were printed by which code, I no longer find a discrepancy between code and 
documentation, just a confusing interface whereby weekday can be obtained in 
three different forms.

--
Added file: http://bugs.python.org/file28485/t38.py

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



[issue16810] inconsistency in weekday

2012-12-29 Thread Glenn Linderman

Changes by Glenn Linderman v+pyt...@g.nevcal.com:


--
resolution:  - invalid
status: open - closed

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



[issue16642] Mention new kwargs named tuple parameter in sched module

2012-12-29 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 5db0833f135b by Serhiy Storchaka in branch '3.3':
Issue #16642: Document kwargs field in sched.Event named tuple.
http://hg.python.org/cpython/rev/5db0833f135b

New changeset cf6425df1cb8 by Serhiy Storchaka in branch 'default':
Issue #16642: Document kwargs field in sched.Event named tuple.
http://hg.python.org/cpython/rev/cf6425df1cb8

--
nosy: +python-dev

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



[issue16641] sched.scheduler.enter arguments should not be modifiable

2012-12-29 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 1c9c0f92df65 by Serhiy Storchaka in branch '3.3':
Issue #16641: Fix default values of sched.scheduler.enter arguments were 
modifiable.
http://hg.python.org/cpython/rev/1c9c0f92df65

New changeset e22ebc34a8eb by Serhiy Storchaka in branch 'default':
Issue #16641: Fix default values of sched.scheduler.enter arguments were 
modifiable.
http://hg.python.org/cpython/rev/e22ebc34a8eb

--
nosy: +python-dev

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



[issue16165] sched.scheduler.run() blocks scheduler

2012-12-29 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 467c46e312eb by Serhiy Storchaka in branch '3.3':
Issue #16165: Fix sched.scheduler.run() method was block a scheduler for
http://hg.python.org/cpython/rev/467c46e312eb

New changeset ac919a281643 by Serhiy Storchaka in branch 'default':
Issue #16165: Fix sched.scheduler.run() method was block a scheduler for
http://hg.python.org/cpython/rev/ac919a281643

--
nosy: +python-dev

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



[issue16640] Less code under lock in sched.scheduler

2012-12-29 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 1bed43c0a5af by Serhiy Storchaka in branch 'default':
Issue #16640: Run less code under a lock in sched module.
http://hg.python.org/cpython/rev/1bed43c0a5af

--
nosy: +python-dev

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



[issue16642] Mention new kwargs named tuple parameter in sched module

2012-12-29 Thread Serhiy Storchaka

Changes by Serhiy Storchaka storch...@gmail.com:


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

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



[issue16641] sched.scheduler.enter arguments should not be modifiable

2012-12-29 Thread Serhiy Storchaka

Changes by Serhiy Storchaka storch...@gmail.com:


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

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



[issue16165] sched.scheduler.run() blocks scheduler

2012-12-29 Thread Serhiy Storchaka

Changes by Serhiy Storchaka storch...@gmail.com:


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

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



[issue16640] Less code under lock in sched.scheduler

2012-12-29 Thread Serhiy Storchaka

Changes by Serhiy Storchaka storch...@gmail.com:


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

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



[issue16813] use paths relative to CPython root in documentation building instructions

2012-12-29 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 20333d160f4e by Chris Jerdonek in branch 'default':
Issue #16813: Use the full relative path in the documentation-building 
instructions.
http://hg.python.org/devguide/rev/20333d160f4e

--
nosy: +python-dev

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



[issue16813] use paths relative to CPython root in documentation building instructions

2012-12-29 Thread Chris Jerdonek

Chris Jerdonek added the comment:

Thanks for the patch.

Out of curiosity, does anyone know if the following works on all or most 
systems?

$ open _build/html/index.html

That could also be added to save time for people that don't already know.

--
nosy: +chris.jerdonek
resolution:  - fixed
stage:  - patch review
status: open - closed

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



[issue16813] use paths relative to CPython root in documentation building instructions

2012-12-29 Thread Sandro Tosi

Sandro Tosi added the comment:

 Out of curiosity, does anyone know if the following works on all or most 
 systems?

 $ open _build/html/index.html

it doesn't work on my Debian system:

$ open _build/html/index.html
Couldn't get a file descriptor referring to the console

as open is a link to openvt - start a program on a new virtual terminal (VT).

--
nosy: +sandro.tosi

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



[issue16813] use paths relative to CPython root in documentation building instructions

2012-12-29 Thread Chris Jerdonek

Chris Jerdonek added the comment:

Thanks.  Btw, it works for me on Mac OS X I believe out of the box:

Help: Open opens files from a shell.
  By default, opens each file using the default application for that file.  
  If the file is in the form of a URL, the file will be opened as a URL.

--

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



[issue16813] use paths relative to CPython root in documentation building instructions

2012-12-29 Thread Tshepang Lekhonkhobe

Tshepang Lekhonkhobe added the comment:

The Linux (and Unix?) equivalent is xdg-open.

--

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



[issue16778] Logger.findCaller needs to be smarter

2012-12-29 Thread Vinay Sajip

Changes by Vinay Sajip vinay_sa...@yahoo.co.uk:


Added file: http://bugs.python.org/file28486/aecafebb7880.diff

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



[issue16813] use paths relative to CPython root in documentation building instructions

2012-12-29 Thread Ezio Melotti

Ezio Melotti added the comment:

FTR there's also make htmlview that already opens a browser to the index of 
the locally built docs.

--

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



[issue16485] FD leaks in aifc module

2012-12-29 Thread Roundup Robot

Roundup Robot added the comment:

New changeset cf8d692cc847 by Serhiy Storchaka in branch '2.7':
Issue #16485: Fix file descriptor not being closed if file header patching 
fails on closing of aifc file.
http://hg.python.org/cpython/rev/cf8d692cc847

New changeset e3c4e9f4ea0f by Serhiy Storchaka in branch '3.2':
Issue #16485: Fix file descriptor not being closed if file header patching 
fails on closing of aifc file.
http://hg.python.org/cpython/rev/e3c4e9f4ea0f

New changeset 9a571c4a16d1 by Serhiy Storchaka in branch '3.3':
Issue #16485: Fix file descriptor not being closed if file header patching 
fails on closing of aifc file.
http://hg.python.org/cpython/rev/9a571c4a16d1

New changeset 79a8f6e1dfb0 by Serhiy Storchaka in branch 'default':
Issue #16485: Fix file descriptor not being closed if file header patching 
fails on closing of aifc file.
http://hg.python.org/cpython/rev/79a8f6e1dfb0

--
nosy: +python-dev

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



[issue16813] use paths relative to CPython root in documentation building instructions

2012-12-29 Thread Tshepang Lekhonkhobe

Tshepang Lekhonkhobe added the comment:

Nice. Didn't know about that one.

--

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



[issue16486] Add context manager support to aifc module

2012-12-29 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 9beb11071dd1 by Serhiy Storchaka in branch 'default':
Issue #16486: Make aifc files work with 'with' as context managers.
http://hg.python.org/cpython/rev/9beb11071dd1

--
nosy: +python-dev

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



[issue16485] FD leaks in aifc module

2012-12-29 Thread Serhiy Storchaka

Changes by Serhiy Storchaka storch...@gmail.com:


--
resolution:  - works for me
stage: patch review - committed/rejected
status: open - closed
versions: +Python 2.7

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



[issue16486] Add context manager support to aifc module

2012-12-29 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

I have added the test that the file was actually closed using external file (as 
in test_close()).

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

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



[issue16485] FD leaks in aifc module

2012-12-29 Thread Serhiy Storchaka

Changes by Serhiy Storchaka storch...@gmail.com:


--
resolution: works for me - fixed

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



[issue16694] Add pure Python operator module

2012-12-29 Thread Serhiy Storchaka

Changes by Serhiy Storchaka storch...@gmail.com:


--
assignee:  - serhiy.storchaka

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



[issue16320] Establish order in bytes/string dependencies

2012-12-29 Thread Serhiy Storchaka

Changes by Serhiy Storchaka storch...@gmail.com:


--
assignee:  - serhiy.storchaka

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



[issue12004] PyZipFile.writepy gives internal error on syntax errors

2012-12-29 Thread Serhiy Storchaka

Changes by Serhiy Storchaka storch...@gmail.com:


--
assignee:  - serhiy.storchaka

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



[issue16782] No curses.initwin: Incorrect package docstring for curses

2012-12-29 Thread Roundup Robot

Roundup Robot added the comment:

New changeset cbee422ca727 by Andrew Svetlov in branch '3.2':
Fix docstring in curses (#16782)
http://hg.python.org/cpython/rev/cbee422ca727

New changeset e9cbe583156f by Andrew Svetlov in branch '3.3':
Fix docstring in curses (#16782)
http://hg.python.org/cpython/rev/e9cbe583156f

New changeset 2cae7bde45ef by Andrew Svetlov in branch 'default':
Fix docstring in curses (#16782)
http://hg.python.org/cpython/rev/2cae7bde45ef

New changeset 52900f205e6e by Andrew Svetlov in branch '2.7':
Fix docstring in curses (#16782)
http://hg.python.org/cpython/rev/52900f205e6e

--
nosy: +python-dev

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



[issue16688] Backreferences make case-insensitive regex fail on non-ASCII strings.

2012-12-29 Thread Serhiy Storchaka

Changes by Serhiy Storchaka storch...@gmail.com:


--
assignee:  - serhiy.storchaka

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



[issue16782] No curses.initwin: Incorrect package docstring for curses

2012-12-29 Thread Andrew Svetlov

Andrew Svetlov added the comment:

Fixed in active development branches. 
Thanks.

--
nosy: +asvetlov

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



[issue16782] No curses.initwin: Incorrect package docstring for curses

2012-12-29 Thread Andrew Svetlov

Changes by Andrew Svetlov andrew.svet...@gmail.com:


--
resolution:  - fixed
stage:  - committed/rejected
status: open - closed
versions: +Python 2.7, Python 3.2, Python 3.4

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



[issue16816] Bug in hash randomization

2012-12-29 Thread Domen Kožar

New submission from Domen Kožar:

Script to reproduce the issue https://gist.github.com/4409304

--
components: Interpreter Core
messages: 178539
nosy: iElectric
priority: normal
severity: normal
status: open
title: Bug in hash randomization
type: behavior
versions: Python 3.3

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



[issue16688] Backreferences make case-insensitive regex fail on non-ASCII strings.

2012-12-29 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 44a4f9289faa by Serhiy Storchaka in branch '3.3':
Issue #16688: Fix backreferences did make case-insensitive regex fail on 
non-ASCII strings.
http://hg.python.org/cpython/rev/44a4f9289faa

New changeset c59ee1ff6f27 by Serhiy Storchaka in branch 'default':
Issue #16688: Fix backreferences did make case-insensitive regex fail on 
non-ASCII strings.
http://hg.python.org/cpython/rev/c59ee1ff6f27

--
nosy: +python-dev

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



[issue16688] Backreferences make case-insensitive regex fail on non-ASCII strings.

2012-12-29 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Fixed. Thank you for a patch, Matthew. I hope to see more your patches.

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

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



[issue15861] ttk.Treeview unmatched open brace in list

2012-12-29 Thread Serhiy Storchaka

Changes by Serhiy Storchaka storch...@gmail.com:


--
assignee:  - serhiy.storchaka

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



[issue16686] audioop overflow issues

2012-12-29 Thread Serhiy Storchaka

Changes by Serhiy Storchaka storch...@gmail.com:


--
assignee:  - serhiy.storchaka

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



[issue16550] pickletools.py treats 32bit lengths as signed, but pickle.py as unsigned

2012-12-29 Thread Serhiy Storchaka

Changes by Serhiy Storchaka storch...@gmail.com:


--
assignee:  - serhiy.storchaka

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



[issue16601] Restarting iteration over tarfile continues from where it left off.

2012-12-29 Thread Serhiy Storchaka

Changes by Serhiy Storchaka storch...@gmail.com:


--
assignee:  - serhiy.storchaka

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



[issue16659] Pure Python implementation of random

2012-12-29 Thread Serhiy Storchaka

Changes by Serhiy Storchaka storch...@gmail.com:


--
assignee:  - serhiy.storchaka

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



[issue16674] Faster getrandbits() for small integers

2012-12-29 Thread Serhiy Storchaka

Changes by Serhiy Storchaka storch...@gmail.com:


--
assignee:  - serhiy.storchaka

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



[issue11159] Sax parser crashes if given unicode file name

2012-12-29 Thread Serhiy Storchaka

Changes by Serhiy Storchaka storch...@gmail.com:


--
assignee:  - serhiy.storchaka

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



[issue16638] support multi-line docstring signatures in IDLE calltips

2012-12-29 Thread Serhiy Storchaka

Changes by Serhiy Storchaka storch...@gmail.com:


--
assignee:  - serhiy.storchaka

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



[issue16624] subprocess.check_output should allow specifying stdin as a string

2012-12-29 Thread Serhiy Storchaka

Changes by Serhiy Storchaka storch...@gmail.com:


--
assignee:  - serhiy.storchaka

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



[issue16630] IDLE: Calltip fails if __getattr__ raises exception

2012-12-29 Thread Serhiy Storchaka

Changes by Serhiy Storchaka storch...@gmail.com:


--
assignee:  - serhiy.storchaka

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



[issue16569] Preventing errors of simultaneous access in zipfile

2012-12-29 Thread Serhiy Storchaka

Changes by Serhiy Storchaka storch...@gmail.com:


--
assignee:  - serhiy.storchaka

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



[issue11344] Add os.path.splitpath(path) function

2012-12-29 Thread Serhiy Storchaka

Changes by Serhiy Storchaka storch...@gmail.com:


--
assignee:  - serhiy.storchaka

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



[issue15989] Possible integer overflow of PyLong_AsLong() results

2012-12-29 Thread Serhiy Storchaka

Changes by Serhiy Storchaka storch...@gmail.com:


--
assignee:  - serhiy.storchaka

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



[issue9720] zipfile writes incorrect local file header for large files in zip64

2012-12-29 Thread Serhiy Storchaka

Changes by Serhiy Storchaka storch...@gmail.com:


--
assignee:  - serhiy.storchaka

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



[issue8745] zipimport is a bit slow

2012-12-29 Thread Serhiy Storchaka

Changes by Serhiy Storchaka storch...@gmail.com:


--
assignee:  - serhiy.storchaka

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



  1   2   >