New submission from Jamie Bliss :
As it says in the title. ._replace() (inherited from namedtuple) doesn't allow
changing the generated properties.
While this is a natural consequence of how ParseResult is implemented, I would
describe it as a deficiency of developer experience.
My work
Jamie Bliss added the comment:
Similarly, stumbled across this working on
https://github.com/pyz-dispenser/cpython-static
This is particularly problematic because of the SQLite module's MODULE_NAME
macro.
--
nosy: +astronouth7303
___
Python
Jamie Bliss added the comment:
I consider it debatable as to if this is a bug in ABC (for using recursion in a
way that limits class tree depth) or in CPython (for accounting recursion in
such a way you can get significantly shallower stacks
Changes by Jamie Bliss <astronouth7...@gmail.com>:
--
nosy: +astronouth7303
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue29221>
___
Jamie Bliss added the comment:
Sure, I'll do that.
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2211
__
___
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org
Jamie Bliss added the comment:
* Should be backwards compatible with people who actually use Morsel
* Didn't even attempt to document it
* Instead of having the Morsel dict being filled initially, unset
attributes are, well, unset
* .key, .value, and .coded_value are now property()s
* .value
New submission from Jamie Bliss:
The primary offender is in BaseCookie.load(), which uses the test:
type(rawdata) == type()
which should be:
isinstance(rawdata, basestring)
--
components: Library (Lib)
messages: 63145
nosy: astronouth7303
severity: normal
status: open
title
Jamie Bliss added the comment:
depending on the use case, updatecache() will be passed
'distutils/cmd.py', but still turn that into '/usr/lib/python2.5/cmd.py'.
I have not messed with my stock Python modules. My sys.path is:
* /usr/lib/python2.5/site-packages/recaptcha_client-1.0.1-py2.5.egg
Jamie Bliss added the comment:
They might be the same bug, with different manifestations.
That bug is starting to get rather annoying.
(At first, I thought it wasn't. Surprise, surprise.)
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1728