[issue11559] Increase test coverage in dis module

2011-03-15 Thread Matias Bordese

New submission from Matias Bordese mbord...@gmail.com:

Attaching patch to add new tests for dis module.

--
components: Tests
files: add_dis_tests.patch
keywords: patch
messages: 131018
nosy: matiasb
priority: normal
severity: normal
status: open
title: Increase test coverage in dis module
type: behavior
versions: Python 3.3
Added file: http://bugs.python.org/file21224/add_dis_tests.patch

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



[issue11559] Increase test coverage in dis module

2011-03-15 Thread Matias Bordese

Matias Bordese mbord...@gmail.com added the comment:

Updated patch following Benjamin advice (1. and 2.).

Re 3. Why is dist(None) a RuntimeError and anything else invalid TypeError?

When the dis argument is None, the last traceback is disassembled; if something 
different to None and that does not have code (ie. no class, method, function 
or bytecode) is passed, the TypeError exception is raised [0].

[0] http://hg.python.org/cpython/file/1c0cded97280/Lib/dis.py#l28

--
Added file: http://bugs.python.org/file21225/updated_add_dis_tests.patch

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



[issue11497] Devguide: re-run configure in Unix setup step after installing deps

2011-03-14 Thread Matias Bordese

New submission from Matias Bordese mbord...@gmail.com:

When setting up dev environment in Unix and there are missing dependencies 
after running make, you may need to re-run configure before a new make (relates 
to #11496).

--
assignee: docs@python
components: Documentation
messages: 130820
nosy: docs@python, matiasb
priority: normal
severity: normal
status: open
title: Devguide: re-run configure in Unix setup step after installing deps
type: resource usage

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



[issue11497] Devguide: re-run configure in Unix setup step after installing deps

2011-03-14 Thread Matias Bordese

Matias Bordese mbord...@gmail.com added the comment:

Adding patch.

--
keywords: +patch
Added file: http://bugs.python.org/file21114/issue11497.patch

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