[issue11317] Documentation not updated to show string exceptions have been deprecated

2011-02-25 Thread Laurence Rowe

New submission from Laurence Rowe :

The documentation at 
http://docs.python.org/c-api/exceptions.html#deprecation-of-string-exceptions 
states that "String exceptions are still supported in the interpreter to allow 
existing code to run unmodified, but this will also change in a future 
release." String exceptions were removed in 2.6.

--
assignee: docs@python
components: Documentation
messages: 129353
nosy: docs@python, lrowe
priority: normal
severity: normal
status: open
title: Documentation not updated to show string exceptions have been deprecated
versions: Python 2.6, Python 2.7

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



[issue21159] configparser.InterpolationMissingOptionError is not very intuitive

2016-01-06 Thread Laurence Rowe

Laurence Rowe added the comment:

This change is causing a problem for boto under 3.5.1 (works on 3.5.0):

TypeError: get() got an unexpected keyword argument 'raw'
> /usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/configparser.py(406)_interpolate_some()
-> rawval = parser.get(section, option, raw=True, fallback=rest)

boto bug report: https://github.com/boto/boto/issues/3433

This is because boto is subclassing ConfigParser and its get method does not 
include the raw argument. A quick search shows that this also affects Kazam am 
circus.

Circus fixed it by adding **kwargs to the method. 
https://github.com/circus-tent/circus/commit/d0d2ac4fd843bb9f050a8c678956fe3682371001

--
nosy: +lrowe

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