[issue11484] `with_traceback` in 2.7 docs but not implemented

2011-03-13 Thread Jonas H.

New submission from Jonas H. jo...@lophus.org:

Either a `BaseException.with_traceback` implementation is missing or the docs 
are wrong.

http://docs.python.org/library/exceptions.html?highlight=with_traceback#exceptions.BaseException.with_traceback

python3 -c 'print(with_traceback in dir(BaseException))'
True
python2 -c 'print(with_traceback in dir(BaseException))'
False

--
assignee: docs@python
components: Documentation
messages: 130760
nosy: docs@python, jonash
priority: normal
severity: normal
status: open
title: `with_traceback` in 2.7 docs but not implemented
versions: Python 2.7

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



[issue11484] `with_traceback` in 2.7 docs but not implemented

2011-03-13 Thread Roundup Robot

Roundup Robot devnull@devnull added the comment:

New changeset 22f991bb9b0b by Ezio Melotti in branch '2.7':
#11484: remove paragraph about with_traceback from 2.7 doc.
http://hg.python.org/cpython/rev/22f991bb9b0b

--
nosy: +python-dev

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



[issue11484] `with_traceback` in 2.7 docs but not implemented

2011-03-13 Thread Ezio Melotti

Ezio Melotti ezio.melo...@gmail.com added the comment:

It's a documentation bug, with_traceback is available in 3.x only.
I now fixed the doc for 2.7, thanks for the report!

--
assignee: docs@python - ezio.melotti
nosy: +ezio.melotti
resolution:  - fixed
stage:  - committed/rejected
status: open - closed

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