[issue18454] distutils crashes when uploading to PyPI having only the username (no pw) defined

2013-09-08 Thread Andrea Corbellini
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

[issue18807] Allow venv to create copies, even when symlinks are supported

2013-08-22 Thread Andrea Corbellini
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

[issue9417] Declaring a class creates circular references

2010-07-29 Thread Andrea Corbellini
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__

[issue9417] Declaring a class creates circular references

2010-07-29 Thread Andrea Corbellini
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

[issue9417] Declaring a class creates circular references

2010-07-29 Thread Andrea Corbellini
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

[issue9417] Declaring a class creates circular references

2010-07-29 Thread Andrea Corbellini
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

[issue812369] module shutdown procedure based on GC

2010-07-29 Thread Andrea Corbellini
Changes by Andrea Corbellini corbellini.and...@gmail.com: -- nosy: +candrea ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue812369 ___ ___ Python

[issue5082] Let frameworks to register attributes as builtins

2009-01-27 Thread Andrea Corbellini
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

[issue5082] Let frameworks to register attributes as builtins

2009-01-27 Thread Andrea Corbellini
Changes by Andrea Corbellini andrea.corbell...@beeseek.org: -- type: - feature request ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5082

[issue5082] Let frameworks to register attributes as builtins

2009-01-27 Thread Andrea Corbellini
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