[issue18365] Idle: mock Text class and test thereof

2013-07-05 Thread Terry J. Reedy

New submission from Terry J. Reedy:

test_rstrip2.patch contain a Text class to be added to mock_tk.py. The purpose 
of a mock class is to imitate another class with respect to certain behaviors. 
The way to verify that is does that is to run the same set of tests for those 
behaviors with both. This is similar in idea and will be the same in execution 
as running the same set of tests with a Python-coded module and a c-coded 
accelerator version of at least some functions of the module. The trick is to 
do this without code duplication is write a mixin class with the tests and 
derive two testcase classes using the mixin.

--
assignee: terry.reedy
components: IDLE
messages: 192327
nosy: Todd.Rovito, philwebster, terry.reedy
priority: normal
severity: normal
stage: test needed
status: open
title: Idle: mock Text class and test thereof
type: enhancement
versions: Python 2.7, Python 3.3, Python 3.4

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



[issue18226] IDLE Unit test for FormatParagrah.py

2013-07-05 Thread Terry J. Reedy

Changes by Terry J. Reedy tjre...@udel.edu:


--
assignee:  - terry.reedy
dependencies: +Idle: mock Text class and test thereof

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



[issue18365] Idle: mock Text class and test thereof

2013-07-05 Thread Terry J. Reedy

Terry J. Reedy added the comment:

The rstrip patch is with #18279. Design discussion occurred on #18226. Both 
issues and other future issues depend on this one.

--

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



[issue18279] IDLE Unit test for RstripExtension.py

2013-07-05 Thread Terry J. Reedy

Terry J. Reedy added the comment:

I decided that the first commit should be a separate issue that this issue 
depends on.

--
assignee:  - terry.reedy
dependencies: +Idle: mock Text class and test thereof

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



[issue18221] abspath strips trailing spaces on win32

2013-07-05 Thread Ezio Melotti

Changes by Ezio Melotti ezio.melo...@gmail.com:


--
nosy: +ezio.melotti

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



[issue18222] os.path.abspath should accept multiple path parts and join them

2013-07-05 Thread Ezio Melotti

Changes by Ezio Melotti ezio.melo...@gmail.com:


--
stage:  - committed/rejected

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



[issue18231] What's new in Python should explain what's new in UCD

2013-07-05 Thread Ezio Melotti

Ezio Melotti added the comment:

I agree with Martin, mentioning that the database has been updated should be 
enough.

--

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



[issue18232] running a suite with no tests is not an error

2013-07-05 Thread Ezio Melotti

Ezio Melotti added the comment:

 I'm thinking I'll add a '--min-tests=X' parameter to unittest.main,
 with the semantic that if there are less than X tests executed, the
 test run will be considered a failure,

The minimum number of tests is a fast moving target, and unless you know 
exactly how many tests you have and use that value, missing tests will be 
undetected.  If you only want to distinguish between 0 and more tests, a 
boolean flag is enough, but checking that at least 1 test in the whole test 
suite is run is quite pointless IMHO (I assume it's quite easy to notice 
if/when it happens).

Making this per-module or even per-class would be more interesting (because 
it's harder to spot these problems), but OTOH there's no way to know for sure 
if this is what the user wants.  A good compromise might be using a boolean 
flag that generates a warning by using some heuristic (e.g. test discovery 
found a test_*.py file that defines no tests, or a TestCase class that defines 
no test_* methods and has no subclasses (or have no subclasses with test_* 
methods)).

--

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



[issue18200] Update stdlib to use ModuleNotFoundError

2013-07-05 Thread Brett Cannon

Brett Cannon added the comment:

Discussion occurred on http://bugs.python.org/issue15767

--

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



[issue15767] add ModuleNotFoundError

2013-07-05 Thread Jesús Cea Avión

Changes by Jesús Cea Avión j...@jcea.es:


--
nosy: +jcea

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



[issue18360] Won't install. Keeps telling me DLL is missing.

2013-07-05 Thread Dale Smith

Dale Smith added the comment:

Was that all the correct information? Do you need more... i.e. about my 
computer etc?

On 7/4/2013 4:17 PM, R. David Murray wrote:
 R. David Murray added the comment:

 Exactly which installer are you trying to run and where did you download it 
 from?

 --
 nosy: +r.david.murray

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

--

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



[issue18354] http://www.python.org/doc/ has outdated note

2013-07-05 Thread Tshepang Lekhonkhobe

Changes by Tshepang Lekhonkhobe tshep...@gmail.com:


--
nosy: +tshepang

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



[issue18335] Add textwrap.dedent, .indent, as str methods.

2013-07-05 Thread Tshepang Lekhonkhobe

Changes by Tshepang Lekhonkhobe tshep...@gmail.com:


--
nosy: +tshepang

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



[issue18362] Make build_cpython.py from dev-in-a-box work outside of a box

2013-07-05 Thread Eric Snow

Eric Snow added the comment:

Out of the box thinking, eh? wink

--
nosy: +eric.snow

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



[issue18353] PyUnicode_WRITE_CHAR macro definition missing

2013-07-05 Thread STINNER Victor

STINNER Victor added the comment:

I don't remember where this macro come from. 

It is mention in my review of the PEP (the text of the PEP, not the 
implementation):
http://mail.python.org/pipermail/python-dev/2011-September/113668.html

PyUnicode_WRITE_CHAR() was removed from the PEP by the following commit:
http://hg.python.org/peps/rev/5c69799e1a94

I'm not sure that the macro ever existed :-)

Anyway, it should be removed from the doc!

--
nosy: +haypo

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



[issue18356] help(numpy) causes segfault on exit

2013-07-05 Thread STINNER Victor

Changes by STINNER Victor victor.stin...@gmail.com:


--
nosy: +haypo

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



[issue18356] help(numpy) causes segfault on exit

2013-07-05 Thread STINNER Victor

STINNER Victor added the comment:

 For a full trackdown and workaround of the problem see 
 http://stackoverflow.com/questions/17344974/python-helpnumpy-causes-segfault-on-exit

The gdb trace is not interesting because it stopped at SIGPIPE, which is not an 
error. Please rerun your program in gdb and ignore SIGPIPE (type handle 
SIGPIPE noprint nostop) or continue on PIPE (type cont). Then when you get 
the crash, please copy/paste the gdb traceback here.

--

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



[issue18351] Incorrect variable name in importlib._bootstrap._get_sourcefile

2013-07-05 Thread Madison May

Madison May added the comment:

I'd be glad to -- I'll get right to work =).  On a related note, rpartition is 
also misspelled in _get_sourcefile() on line 446.

--

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



[issue18351] Incorrect variable name in importlib._bootstrap._get_sourcefile

2013-07-05 Thread Madison May

Madison May added the comment:

You might have to bear with me -- I'm a bit new to this.  What's the protocol 
for functions like _get_sourcepath() that require support files for testing?  
I'll should probably have a couple .pyc's, .pyo's and .py files to use for 
testing purposes.

Additionally, would you recommend writing tests for _get_sourcepath() in 
test_imp.py, or would another location prove better in your opinion?

--

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



[issue18351] Incorrect variable name in importlib._bootstrap._get_sourcefile

2013-07-05 Thread Madison May

Madison May added the comment:

Yet another _get_sourcefile() related bug to report.  Line 453 should be:

source_path = bytcode_path[:-1]

instead of 

source_path = bytcode_path[-1:]

--

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



[issue18351] Incorrect variable name in importlib._bootstrap._get_sourcefile

2013-07-05 Thread Brett Cannon

Brett Cannon added the comment:

Wow, I really botched that function. And no one seems to really use it to 
notice the errors (or at least the branches in the function where the errors 
exist are never reached). =)

So the tests should go in test_importlib or test_import (I'm leaning towards 
the latter since this function is for the C API). As for the files, I wouldn't 
create any and instead mock out importlib._bootstrap._path_isfile() to return 
the value you want.

And one last thing, Madison, is to do the patch against Python 3.3 if you can. 
This obviously needs to be backported so it's best to start there and then work 
forward.

--

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



[issue18326] Mention keywork only in list.sort docs

2013-07-05 Thread Terry J. Reedy

Changes by Terry J. Reedy tjre...@udel.edu:


--
title: Not Clear Docs - Mention keywork only in list.sort docs
type:  - enhancement

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



[issue18357] add tests for dictview set difference operations

2013-07-05 Thread Éric Araujo

Éric Araujo added the comment:

Looks good to me.

--
nosy: +eric.araujo
stage:  - patch review
versions: +Python 3.3, Python 3.4

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



[issue18366] Look into using setuptools 0.8 with devinabox

2013-07-05 Thread Brett Cannon

New submission from Brett Cannon:

Setuptools 0.8 uses a Python 2/3 compatible codebase so it should simplify the 
instructions for running coverage.py.

--
assignee: brett.cannon
messages: 192343
nosy: brett.cannon
priority: normal
severity: normal
status: open
title: Look into using setuptools 0.8 with devinabox

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



[issue18354] http://www.python.org/doc/ has outdated note

2013-07-05 Thread Éric Araujo

Éric Araujo added the comment:

The HHGP was an opinionated, distribute-centric user guide, which is now 
outdated and obsoleted by the upcoming Python packaging user documentation, 
which will cover more tools and be blessed by Nick Coghlan and the developers 
of packaging tools.

--
nosy: +eric.araujo

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



[issue18354] http://www.python.org/doc/ has outdated note

2013-07-05 Thread Éric Araujo

Éric Araujo added the comment:

Also I don’t think we’ll ever have documentation for non-stdlib libs/tools in 
the standard docs, so the HHGP or new packaging user doc won’t «be merged into 
the Python documentation».

--

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



[issue18326] Mention 'keyword only' for list.sort, improve glossary.

2013-07-05 Thread Terry J. Reedy

Terry J. Reedy added the comment:

'keyword argument' refers one to 'argument'. The entry for the latter says that 
there are only two types of arguments, keyword and positional. That is true as 
to how actual arguments are passed.

There are 3 possibilities for how a single argument for a parameter might be 
passed:
standard - positional or keyword
positional only (args for many C functions, not specifically indicated)
keyword only (follow '*' or '*args' after signature.

These are explained in the parameter entry. Keyword-only parameters have to be 
matched by keyword arguments.

I think it a bit misleading to say There are two types of arguments. That 
actually means There are two ways of passing an argument. Precede it by 
'name=' or not. An object is the same whether passed by name or position.

Calling a name a keyword in this context is also misleading since 'keyword' 
otherwise means a reserved word that cannot be used as a name. Using an actual 
keyword to name an argument is illegal: 'for = 2' raises.

--
nosy: +terry.reedy
title: Mention keywork only in list.sort docs - Mention 'keyword only' for 
list.sort, improve  glossary.

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



[issue18266] Fix test discovery for test_largefile.py

2013-07-05 Thread Zachary Ware

Zachary Ware added the comment:

After testing on Windows, here's version 3.  This version changes tearDownClass 
to truncate the file rather than unlink it, and adds a check to make sure the 
file is properly truncated to 0 length.  Unlinking the file makes the test take 
an extra 40 seconds on my machine, I suspect due to Windows trying to 
simultaneously deallocate one 2GB file and build another.  To go with that 
change, tearDownModule is added, which does unlink TESTFN.

Also changed in this version, I've removed the use_resources = ['largefile',] 
assignment I had added to the if __name__ == '__main__' stanza; I've since 
learned that it has no effect (support.requires lets anything pass if the test 
module's __name__ is 
__main__).

--
Added file: 
http://bugs.python.org/file30780/test_largefile_discovery.v3-3.3.diff

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



[issue18354] http://www.python.org/doc/ has outdated note

2013-07-05 Thread Brian Curtin

Brian Curtin added the comment:

Fixed in r14798 of the site.

--
assignee: docs@python - brian.curtin
resolution:  - fixed
stage:  - committed/rejected
status: open - closed

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



[issue18357] add tests for dictview set difference operations

2013-07-05 Thread Eric Snow

Eric Snow added the comment:

Same here.

--
nosy: +eric.snow

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



[issue18367] See if a venv setup can be used for devinabox for coverage

2013-07-05 Thread Brett Cannon

New submission from Brett Cannon:

Right now there is a bunch of contorting with setuptools and coverage.py's 
checkout to get things in reasonable places, etc. Might be easiest to create a 
venv from the built checkout and then install both setuptools and the 
coverage.py checkout into the venv for easier setup/cleanup.

Might even be lucky enough that the venv can be left in place and simply have 
users do ``../cpython/python Tools/scripts/pyvenv --upgrade`` to have it start 
using their own built version so that the basic setup for at least setuptools 
works and then they only need to build coverage.py themselves (which is already 
scripted).

--
messages: 192349
nosy: brett.cannon
priority: normal
severity: normal
status: open
title: See if a venv setup can be used for devinabox for coverage

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



[issue18360] Won't install. Keeps telling me DLL is missing.

2013-07-05 Thread Terry J. Reedy

Terry J. Reedy added the comment:

When responding by email, *please* delete the quote, except perhaps for a line 
or two if really needed. The email signature is *never* needed and *always* 
noise.

I install on Windows with no problem. I presume you too see 'Install' by 
right-clicking on the .msi file in Explorer or elsewhere. Does the message tell 
you *what* .dll is missing? I suspect that it is one of the Windows dlls that 
are needed for msi installs and not included in the .msi.

--
nosy: +terry.reedy

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



[issue18368] PyOS_StdioReadline() leaks memory when realloc() fails

2013-07-05 Thread Christian Heimes

New submission from Christian Heimes:

PyOS_StdioReadline() contains code such as:

   p = (char *)PyMem_REALLOC(p, n + incr);

The code looses its pointer to p when realloc fails and has no chance to free 
the memory in p.

Also the code sets PyExc_OverflowError when incr  INT_MAX but it doesn't 
return NULL to signal the error.

--
components: Interpreter Core
files: osreadline.patch
keywords: patch
messages: 192352
nosy: christian.heimes
priority: normal
severity: normal
stage: patch review
status: open
title: PyOS_StdioReadline() leaks memory when realloc() fails
type: resource usage
versions: Python 3.3, Python 3.4
Added file: http://bugs.python.org/file30782/osreadline.patch

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



[issue18326] Mention 'keyword only' for list.sort, improve glossary.

2013-07-05 Thread Zachary Ware

Zachary Ware added the comment:

How about this patch?

I agree that types of arguments/parameters has great potential for confusion, 
so the glossary has been changed to kinds of argument/parameter (dropping the 
pluralization as well; it is unnecessary).  I think just taking the word type 
out of it makes the rest of each entry unambiguous.

To list.sort, I simply added a line: :meth:`sort` accepts two arguments which 
can only be passed by keyword:.  I considered making each parameter's 
description an indented block after that, but that seems like more change than 
is really necessary, and the patched version doesn't look too bad to me.

--
keywords: +patch
nosy: +zach.ware
Added file: http://bugs.python.org/file30781/issue18326.diff

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



[issue18369] X509 cert class for ssl module

2013-07-05 Thread Christian Heimes

New submission from Christian Heimes:

I'm working on a X509 certificate class for the SSL module. Eventually methods 
like getpeercert() are going to return X509 instances and the Python interface 
can decide if it should return a dict, DER bytes or whatever. IMHO it's a 
mandatory requirement for OCSP support, too.

The patch contains a very real proof of concept.

--
components: Extension Modules
files: ssl_pyx509cert.patch
keywords: patch
messages: 192353
nosy: christian.heimes, pitrou
priority: normal
severity: normal
status: open
title: X509 cert class for ssl module
type: enhancement
versions: Python 3.4
Added file: http://bugs.python.org/file30783/ssl_pyx509cert.patch

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



[issue18369] X509 cert class for ssl module

2013-07-05 Thread Antoine Pitrou

Antoine Pitrou added the comment:

Yeah, this is probably inevitable. Major concern is how to maintain 
compatibility with getpeercert() currently returning a dict. Should we make 
X509 a dict subclass? (yikes :-))

--

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



[issue18370] ast.parse produces -1 as col_offset for triple-quoted strings

2013-07-05 Thread Aivar Annamaa

New submission from Aivar Annamaa:

AST nodes for triple-quoted strings have -1 in col_offset field, as presented 
in the attached file.

--
components: Interpreter Core
files: col_offset_bug.py
messages: 192355
nosy: Aivar.Annamaa
priority: normal
severity: normal
status: open
title: ast.parse produces -1 as col_offset for triple-quoted strings
type: behavior
versions: Python 3.1, Python 3.2, Python 3.3
Added file: http://bugs.python.org/file30784/col_offset_bug.py

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



[issue17202] Add .bat line to .hgeol

2013-07-05 Thread Zachary Ware

Zachary Ware added the comment:

I have recently learned why this issue had seemed transient to me previously: 
the hg eol extension apparently causes hg to create all files that are not 
explicitly set to LF or BIN using CRLF on Windows.  Thus, this is what happens:


P:\Python\cpython\Docrem In a fresh checkout made with the 'eol' extension 
disabled:

P:\Python\cpython\Docmake.bat update
The system cannot find the batch label specified - update

P:\Python\cpython\Doccd ..

P:\Python\cpythonhg up null
0 files updated, 0 files merged, 3689 files removed, 0 files unresolved

P:\Python\cpythonhg --config extensions.eol= up default
3689 files updated, 0 files merged, 0 files removed, 0 files unresolved

P:\Python\cpythoncd Doc

P:\Python\cpython\Docmake.bat update
Updating 'tools\sphinx':
At revision 89001.
Updating 'tools\docutils':
At revision 89001.
Updating 'tools\jinja2':
At revision 89001.
Updating 'tools\pygments':
At revision 89001.

P:\Python\cpython\Doc


Thus, a usable workaround is to enable the eol extension in hgrc and make your 
checkout that way.  However, this doesn't help anyone who is trying to build 
from a tarball; Doc/make.bat will have LF line endings and at least 'update' 
will not work.

Perhaps a less extensive change would be to add **.bat  = BIN, and then 
convert Doc/make.bat to CRLF explicitly?

--

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



[issue18233] SSLSocket.getpeercertchain()

2013-07-05 Thread Michele Orrù

Changes by Michele Orrù maker...@gmail.com:


--
nosy: +maker

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



[issue18326] Mention 'keyword only' for list.sort, improve glossary.

2013-07-05 Thread Terry J. Reedy

Terry J. Reedy added the comment:

The new 'which' should be 'that'. Other than that, looks good to me.

--

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



[issue18326] Mention 'keyword only' for list.sort, improve glossary.

2013-07-05 Thread Zachary Ware

Changes by Zachary Ware zachary.w...@gmail.com:


Added file: http://bugs.python.org/file30785/issue18326.that.diff

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



[issue18369] X509 cert class for ssl module

2013-07-05 Thread Michele Orrù

Changes by Michele Orrù maker...@gmail.com:


--
nosy: +maker

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



[issue18371] Should be able to specify SSL version for smtplib

2013-07-05 Thread YS

New submission from YS:

Currently, smtplib is not able to connect to hotmail, giving an SSL version 
error (at least on some platfroms). See 
http://stackoverflow.com/q/17434143/429850 and 
http://stackoverflow.com/q/17011816/429850. Perhaps there should be an option 
like smtplib.SMTP(ssl_version=SSLV3)?

--
components: Library (Lib)
messages: 192358
nosy: yasaharu
priority: normal
severity: normal
status: open
title: Should be able to specify SSL version for smtplib
type: behavior
versions: Python 2.6, Python 2.7

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



[issue18370] ast.parse produces -1 as col_offset for triple-quoted strings

2013-07-05 Thread Aivar Annamaa

Aivar Annamaa added the comment:

Didn't notice before: the lineno attribute is also wrong

--

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



[issue3692] improper scope in list comprehension, when used in class declaration

2013-07-05 Thread John McDonald

John McDonald added the comment:

Could we possibly revisit this? This feels like an implementation detail, not 
something specified. Consider the different cases:

Type help, copyright, credits or license for more information.
 class A:
...   b = 5
...   print(locals())
...   x = [i*i for i in range(b)]
...
{'__qualname__': 'A', '__locals__': {...}, '__module__': '__main__', 'b': 5}

This case works, and shows that 'b' is clearly in locals(). 

 class A:
...   b = 5
...   c = b * b
...   print(locals())
...   d = []
...   for i in range(b):
... d.append(i*i)
...   print(locals())
...   e = [i*i for i in range(b) if i*i  c]
...
{'__locals__': {...}, '__qualname__': 'A', 'b': 5, '__module__': '__main__', 
'c': 25}
{'__qualname__': 'A', 'b': 5, '__module__': '__main__', 'c': 25, 'i': 4, 'd': 
[0, 1, 4, 9, 16], '__locals__': {...}}
Traceback (most recent call last):
  File stdin, line 1, in module
  File stdin, line 9, in A
  File stdin, line 9, in listcomp
NameError: global name 'c' is not defined

Again, it feels really arbitrary that the variable can be used in certain 
places in the list comprehension, but not others.

And of course, all of this works properly if you place the definitions either 
at global scope or within a function.

--
nosy: +John.McDonald

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



[issue18370] ast.parse produces wrong lineno and col_offset for triple-quoted strings

2013-07-05 Thread Aivar Annamaa

Changes by Aivar Annamaa aivar.anna...@gmail.com:


--
title: ast.parse produces -1 as col_offset for triple-quoted strings - 
ast.parse produces wrong lineno and col_offset for triple-quoted strings

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



[issue18369] X509 cert class for ssl module

2013-07-05 Thread Christian Heimes

Christian Heimes added the comment:

A dict subclass? Oh heck ...

I have slightly different plans. But first, do you agree that the _ssl C 
extension and all its methods are consider an internal API? How about the _ssl 
module's method returns X509 objects and the Python module calls methods on the 
X509 object like get_info() - dict or get_der() - bytes?

--

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



[issue18369] X509 cert class for ssl module

2013-07-05 Thread Antoine Pitrou

Antoine Pitrou added the comment:

 I have slightly different plans. But first, do you agree that the _ssl
 C extension and all its methods are consider an internal API? How
 about the _ssl module's method returns X509 objects and the Python
 module calls methods on the X509 object like get_info() - dict or
 get_der() - bytes?

Sounds fine, yes.

--

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



[issue18351] Incorrect variable name in importlib._bootstrap._get_sourcefile

2013-07-05 Thread Madison May

Madison May added the comment:

Here's a preliminary attempt at a patch and a small set of test cases for 
_get_sourcefile.  I fixed one more spelling error in _get_sourcefile (bytcode 
- bytecode) and tweaked a bit of logic.

Instead of:

extension.lower()[-3:-1] != '.py' 

I think we needed

extension.lower()[-3:-1] != 'py'

You must have been having a rough day, Brett =).  Anyhow, when you get a 
chance, take a look at this first attempt and let me know what you'd do 
differently.

Thanks,

Madison

--
Added file: http://bugs.python.org/file30786/Issue18351_Python3-3.patch

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



[issue18371] Should be able to specify SSL version for smtplib

2013-07-05 Thread Christian Heimes

Christian Heimes added the comment:

As this counts as a new feature it can't be implemented in Python 2.7. Only 
fixes are applied to 2.7. You have to roll your own subclass that overwrites 
starttls() or _get_socket(). I'm sorry for the inconvenience.

Starting with Python 3.3 the methods support SSLContext object as argument. 
http://docs.python.org/3/library/smtplib.html#smtplib.SMTP.starttls

--
nosy: +christian.heimes, pitrou
resolution:  - out of date
stage:  - committed/rejected
status: open - closed

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



[issue8931] '#' has no affect with 'c' type

2013-07-05 Thread Christian Heimes

Christian Heimes added the comment:

I'm moving the patch to Python 3.4. 2.7 to 3.3 are out of scope as the change 
might break software.

--
nosy: +christian.heimes
stage:  - patch review
versions: +Python 3.4 -Python 2.6, Python 2.7, Python 3.1, Python 3.2

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



[issue14748] spwd.getspall() is returning LDAP (non local) users too

2013-07-05 Thread Christian Heimes

Christian Heimes added the comment:

Dave has explained the problem very well. I like to add one thing. The module 
just returns what your operation system's getspent() API returns. 
http://linux.die.net/man/3/getspnam

Please ask your vendor for more details, too.

--
nosy: +christian.heimes
resolution:  - invalid
stage:  - committed/rejected
status: open - closed

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



[issue6642] returning after forking a child thread doesn't call Py_Finalize

2013-07-05 Thread Christian Heimes

Christian Heimes added the comment:

Python 3.x is affected, too.

--
nosy: +christian.heimes
versions: +Python 2.7, Python 3.3, Python 3.4 -Python 2.6

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



[issue6642] returning after forking a child thread doesn't call Py_Finalize

2013-07-05 Thread Christian Heimes

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


--
components: +Interpreter Core
stage:  - patch review
type:  - behavior

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



[issue9175] ctypes doesn't build on hp-ux

2013-07-05 Thread Christian Heimes

Christian Heimes added the comment:

Is this issue still relevant?

--
nosy: +christian.heimes
status: open - languishing

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



[issue18372] _Pickler_New() doesn't call PyObject_GC_Track(self)

2013-07-05 Thread Christian Heimes

New submission from Christian Heimes:

In _Pickler_New() PicklerObject is allocated with 

   self = PyObject_GC_New(PicklerObject, Pickler_Type);

but PyObject_GC_Track(self) is never called, same for _Unpickler_New(). I think 
it's a bug.

--
components: Extension Modules
messages: 192369
nosy: christian.heimes
priority: normal
severity: normal
stage: needs patch
status: open
title: _Pickler_New() doesn't call PyObject_GC_Track(self)
type: behavior

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



[issue6642] returning after forking a child thread doesn't call Py_Finalize

2013-07-05 Thread Richard Oudkerk

Richard Oudkerk added the comment:

Shouldn't the child process be terminating using os._exit()?

--
nosy: +sbt

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



[issue6128] Consequences of using Py_TPFLAGS_HAVE_GC are incompletely explained

2013-07-05 Thread Christian Heimes

Christian Heimes added the comment:

Python's extension modules aren't consistent. Some places deallocate the object 
with PyObject_Del(), other places are using PyObject_GC_Del() or simple 
Py_DECREF().

--
nosy: +christian.heimes
priority: normal - low
stage:  - needs patch
type:  - enhancement
versions: +Python 3.4

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



[issue18373] implement sys.get/setbyteswarningflag()

2013-07-05 Thread Daniel Holth

New submission from Daniel Holth:

This patch lets the user get/set the byteswarningflag() to control whether 
warnings are emitted at runtime (pursuant to the configuration of the warnings 
module, of course).

The idea is that a user who is concerned with interacting with bytes correctly 
would use a context manager to set str(bytes) to raise exceptions during a 
critical serialization.

TODO the hypothetical context manager would also have to push/pop the warnings 
state to work correctly. Maybe str(bytes) can raise a regular exception if 
byteswarningflag() is high enough?

TODO don't know if this plays nicely when there are no threads

--
files: byteswarningflag.patch
keywords: patch
messages: 192372
nosy: dholth
priority: normal
severity: normal
status: open
title: implement sys.get/setbyteswarningflag()
versions: Python 3.4
Added file: http://bugs.python.org/file30787/byteswarningflag.patch

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



[issue9679] unicode DNS names in urllib, urlopen

2013-07-05 Thread Christian Heimes

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


--
nosy: +christian.heimes
versions: +Python 3.4

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



[issue10179] os.stat fails on mapped network drive

2013-07-05 Thread Christian Heimes

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


--
versions: +Python 3.3, Python 3.4

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



[issue11366] xml.etree.ElementTree.Element: docs should mention immediate subelement

2013-07-05 Thread Christian Heimes

Christian Heimes added the comment:

The introduction [1] to etree explains it:

Element.findall() finds only elements with a tag which are direct children of 
the current element. 

IMHO it's also the obvious outcome for anybody familiar with XML and XPath.

[1] 
http://docs.python.org/3/library/xml.etree.elementtree.html#finding-interesting-elements

--
nosy: +christian.heimes
resolution:  - works for me
status: open - closed

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



[issue1703592] have a way to ignore nonexisting locales in locale.setlocale

2013-07-05 Thread Christian Heimes

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


--
versions: +Python 3.4 -Python 2.7, Python 3.1

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



[issue17221] Resort Misc/NEWS

2013-07-05 Thread Christian Heimes

Christian Heimes added the comment:

I think this issue can be closed. :)

--
nosy: +christian.heimes
resolution:  - fixed
status: open - closed

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



[issue12807] Optimization/refactoring for {bytearray, bytes, unicode}.strip()

2013-07-05 Thread Christian Heimes

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


--
versions: +Python 3.4

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



[issue17628] str==str: compare the first character before calling memcmp()

2013-07-05 Thread Christian Heimes

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


--
nosy: +christian.heimes

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



[issue13651] Improve redirection in urllib

2013-07-05 Thread Christian Heimes

Christian Heimes added the comment:

New features have to go into 3.4

--
nosy: +christian.heimes
versions:  -Python 3.1, Python 3.2, Python 3.3

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



[issue18281] tarfile defines stat constants

2013-07-05 Thread Christian Heimes

Christian Heimes added the comment:

OK, your proposal is more appealing. Any last words before the constants are 
gone for good?

--
assignee:  - christian.heimes

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



[issue11757] test_subprocess.test_communicate_timeout_large_ouput failure on select(): negative timeout?

2013-07-05 Thread Christian Heimes

Christian Heimes added the comment:

Is there anything left to do here?

--
nosy: +christian.heimes
resolution:  - fixed
stage: needs patch - committed/rejected
status: open - pending

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



[issue1298813] sysmodule.c: realpath() is unsafe

2013-07-05 Thread Christian Heimes

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


--
nosy: +christian.heimes
versions: +Python 3.4

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



[issue10080] Py_Initialize crashes when stdout has been redirected with freopen

2013-07-05 Thread Christian Heimes

Christian Heimes added the comment:

I can't reproduce the issue with Python 3.2 and dup2 on Linux.

$ gcc -o py_main py_main_dup2.c  -I/usr/include/python3.2mu -lpython3.2mu -lm 
-pthread -ldl -lutil
$ ./py_main

log.txt contains 'foo' and the debug message, too. Is this still an issue for 
you?

--
nosy: +christian.heimes
resolution:  - works for me
status: open - languishing
versions: +Python 3.3, Python 3.4 -Python 3.1

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



[issue11309] #include wctype.h in Objects/unicodetype_db.h and Objects/unicodectype.c

2013-07-05 Thread Christian Heimes

Christian Heimes added the comment:

Python 2.7 fails even with --enable-unicode=ucs4:

$ ./configure --with-wctype-functions --enable-unicode=ucs4
$ make 
...
In file included from Objects/unicodectype.c:34:0:
Objects/unicodetype_db.h: In function '_PyUnicodeUCS4_IsWhitespace':
Objects/unicodetype_db.h:3277:5: warning: implicit declaration of function 
'iswspace' [-Wimplicit-function-declaration]
Objects/unicodectype.c: In function '_PyUnicodeUCS4_IsLowercase':
Objects/unicodectype.c:192:5: warning: implicit declaration of function 
'iswlower' [-Wimplicit-function-declaration]
Objects/unicodectype.c: In function '_PyUnicodeUCS4_IsUppercase':
Objects/unicodectype.c:197:5: warning: implicit declaration of function 
'iswupper' [-Wimplicit-function-declaration]
Objects/unicodectype.c: In function '_PyUnicodeUCS4_ToLowercase':
Objects/unicodectype.c:202:5: warning: implicit declaration of function 
'towlower' [-Wimplicit-function-declaration]
Objects/unicodectype.c:202:12: warning: incompatible implicit declaration of 
built-in function 'towlower' [enabled by default]
Objects/unicodectype.c: In function '_PyUnicodeUCS4_ToUppercase':
Objects/unicodectype.c:207:5: warning: implicit declaration of function 
'towupper' [-Wimplicit-function-declaration]
Objects/unicodectype.c:207:12: warning: incompatible implicit declaration of 
built-in function 'towupper' [enabled by default]
Objects/unicodectype.c: In function '_PyUnicodeUCS4_IsAlpha':
Objects/unicodectype.c:212:5: warning: implicit declaration of function 
'iswalpha' [-Wimplicit-function-declaration]

I have attached a patch that checks for wctype.h and includes it for 
WANT_WCTYPE_FUNCTIONS.

--
keywords: +patch
nosy: +christian.heimes
stage:  - patch review
Added file: http://bugs.python.org/file30788/11309_wctype.patch

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



[issue9660] PEP 383: socket module doesn't handle undecodable protocol or service names

2013-07-05 Thread Christian Heimes

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


--
nosy: +christian.heimes
versions: +Python 3.3, Python 3.4 -Python 3.1

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



[issue10760] tarfile doesn't handle sysfs well

2013-07-05 Thread Christian Heimes

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


--
versions: +Python 3.3, Python 3.4

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



[issue6284] C/API PyErr_AsUnicode()

2013-07-05 Thread Christian Heimes

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


--
components: +Interpreter Core -None
versions: +Python 3.4 -Python 3.3

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



[issue17792] Unhelpful UnboundLocalError due to del'ing of exception target

2013-07-05 Thread Christian Heimes

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


--
nosy: +christian.heimes

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



[issue15197] test_gettext failure on Win64 buildbot

2013-07-05 Thread Christian Heimes

Christian Heimes added the comment:

Looks fine now. I haven't seen that error in a while. Thanks!

--
nosy: +christian.heimes
resolution:  - fixed
status: open - closed

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



[issue3591] elementtree tests do not include bytes handling

2013-07-05 Thread Christian Heimes

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


--
versions: +Python 3.4 -Python 3.0, Python 3.1, Python 3.2

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



[issue6671] webbrowser doesn't respect xfce default browser

2013-07-05 Thread Christian Heimes

Christian Heimes added the comment:

I have a box with Ubuntu 12.04 and XFCE4:

declare -x XDG_CURRENT_DESKTOP=XFCE
declare -x DESKTOP_SESSION=xubuntu

--
nosy: +christian.heimes

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



[issue6671] webbrowser doesn't respect xfce default browser

2013-07-05 Thread Éric Araujo

Éric Araujo added the comment:

I don’t understand what your message is saying, Christian.

--

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



[issue18373] implement sys.get/setbyteswarningflag()

2013-07-05 Thread R. David Murray

R. David Murray added the comment:

Why wouldn't you just enable bytes warning and fix all the code to work 
correctly?

--
nosy: +r.david.murray

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