[issue44127] urllib.parse.ParseResult._replace() does not allow replacing username, password, hostname, port

2021-05-13 Thread Jamie Bliss
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

[issue37839] makesetup Doesn't Handle Defines with Equal Sign

2019-10-29 Thread Jamie Bliss
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

[issue29221] ABC Recursion Error on isinstance() with less than recursion limit class hierarchy depth

2017-01-12 Thread Jamie Bliss
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

[issue29221] ABC Recursion Error on isinstance() with less than recursion limit class hierarchy depth

2017-01-12 Thread Jamie Bliss
Changes by Jamie Bliss <astronouth7...@gmail.com>: -- nosy: +astronouth7303 ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue29221> ___

[issue2211] Cookie.Morsel interface needs update

2008-03-06 Thread Jamie Bliss
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

[issue2211] Cookie.Morsel interface needs update

2008-03-06 Thread Jamie Bliss
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

[issue2212] Cookie.BaseCookie has ambiguous unicode handling

2008-02-29 Thread Jamie Bliss
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

[issue1728] distutils.cmd breaks inspect

2008-01-03 Thread Jamie Bliss
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

[issue1728] distutils.cmd breaks inspect

2008-01-03 Thread Jamie Bliss
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