mike bayer added the comment:
patch w/ test
--
keywords: +patch
Added file: http://bugs.python.org/file38882/issue23898.patch
___
Python tracker
<http://bugs.python.org/issue23
New submission from mike bayer:
this bug appeared in Python 3.4.The inspect.classify_class_attrs compares
the identity objects of unknown type using the `==` operator unnecessarily and
also evaluates objects of unknown type assuming they return `True` for a
straight boolean evaluation
mike bayer added the comment:
my star went through.
let's merge.
--
___
Python tracker
<http://bugs.python.org/issue23898>
___
___
Python-bugs-list m
mike bayer added the comment:
thanks for the merge!
--
___
Python tracker
<http://bugs.python.org/issue23898>
___
___
Python-bugs-list mailing list
Unsubscribe:
mike bayer added the comment:
SQLAlchemy suffered from this issue long ago as we use a Queue for connections,
which can be collected via weakref callback and sent back to put(), which we
observed can occur via gc.For many years (like since 2007 or so) we've
packaged a complete co
mike bayer added the comment:
yep, that's what im doing in my approach. though longer term thing, I noticed
it's very hard to find documentation on exactly when gc might run. E.g. would
it ever run if I did something innocuous, like "self.thread_id = None"
(probably
New submission from Mike Hagerty:
Here's the relevant code:
opts, args = getopt.getopt(sys.argv[1:], "ih", ["help", "f1Hz","startdate=",
"ndays="])
>main.py -i --f1H --startdat=2016-08-22 --ndays 2
Here's what getopt returns into
Mike Hagerty added the comment:
Huh ?
"documented behaviour" ?
How is silently failing to resolve input errors okay ?
On Thu, Sep 15, 2016 at 3:04 PM, SilentGhost wrote:
>
> SilentGhost added the comment:
>
> It's a documented behaviour: "Long options on the
Mike Hagerty added the comment:
You win. It's not a bug, it's a feature ... that renders the module
incorrect
by any reasonable definition.
argparse here I come!
On Thu, Sep 15, 2016 at 3:20 PM, Steven D'Aprano
wrote:
>
> Steven D'Aprano added the comment:
>
&
Mike Kaplinskiy added the comment:
Hey Nick,
Sorry for the long delay. Unfortunately Python isn't my main work language
anymore so working on this has proved to be quite a context switch. I'm going
to try to finish this up now.
The attached patch implements a new pattern for wrap
New submission from Mike Williamson:
Ran a test that I expected to pass. When the test failed, I was struck by the
strange (incorrect) assertion claim when using unittest.assertAlmostEqual:
AssertionError: 32.78 != 32.775 within 2 places
Uhmm... yes it does!
I delved in, discovering that
Mike Kaplinskiy added the comment:
Hey Nick,
Definitely agree that this refactor is big enough to try adding target modules.
There's a somewhat hidden feature in the second patch that does this:
`use_globals_from_sys_modules` takes `sys.globals` from the `sys.modules` entry
for the m
Mike La Spina added the comment:
I suspect the download stats are not a full indication of usage on “SunOS”
based on download stats. The bits are preinstalled. I do use it frequently via
Illumos. Please support the platform.
Regards,
Mike
--
nosy: +michael.laspina
601 - 613 of 613 matches
Mail list logo