Changes by Andrea Corbellini corbellini.and...@gmail.com:
--
versions: +Python 3.1, Python 3.2, Python 3.3, Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18454
New submission from Andrea Corbellini:
I'd really appreciate if `venv` could create environments without symlinks.
Working on many Python projects, each one with different requirements, I prefer
to keep everything I need in a single virtualenv directory, rather than two
(one
New submission from Andrea Corbellini corbellini.and...@gmail.com:
Creating a class (either using the 'class' statement or using type()) creates a
circular reference.
I've attached a script that simply demonstrates this. The problem is caused by
the fact that MyClass.__dict__['__dict__
Andrea Corbellini corbellini.and...@gmail.com added the comment:
Disabling the GC can increase performances (although not significantly). But
this bug is the cause of other problems too: what if the metaclass contains a
__del__() method?
An another issue that I've found is that debugging
Andrea Corbellini corbellini.and...@gmail.com added the comment:
Having a __del__ inside a metaclass is strange, I know... but probably there
are situations where you need to do so. Why shouldn't a developer be able to
add a __del__ to a metaclass without creating uncollectable objects? I
Andrea Corbellini corbellini.and...@gmail.com added the comment:
This is an unwanted an unexpected behavior, so this is a bug by definition. If
it's not easy to fix, it's a different matter.
However here's a proposed solution:
* for the __mro__: instead of using a tuple, use a new object
Changes by Andrea Corbellini corbellini.and...@gmail.com:
--
nosy: +candrea
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue812369
___
___
Python
New submission from Andrea Corbellini andrea.corbell...@beeseek.org:
Most of the Python frameworks have some functions and classes that are
widely used. For example a 'log.debug' function will be used in almost
all modules. It is inconvenient to write 'import log' every time.
It would be useful
Changes by Andrea Corbellini andrea.corbell...@beeseek.org:
--
type: - feature request
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5082
Andrea Corbellini andrea.corbell...@beeseek.org added the comment:
Well, writing every time 'from X import Y' looks to me uncomfortable.
But of course what I'm asking is not essential :-)
___
Python tracker rep...@bugs.python.org
http://bugs.python.org
10 matches
Mail list logo