[issue1689617] Intel icc build fails with optimizations -O2

2007-11-10 Thread Michael Forbes
Michael Forbes added the comment: This appears to have been a bug with the intel compilers. With the latest version 10.1 20070913 everything seems to work. _ Tracker <[EMAIL PROTECTED]> __

[issue1689617] Intel icc build fails with optimizations -O2

2007-11-10 Thread Martin v. Löwis
Martin v. Löwis added the comment: Ok. Closing it as third-party. -- resolution: -> invalid status: open -> closed versions: +3rd party -Python 2.5 _ Tracker <[EMAIL PROTECTED]> __

[issue1417] Weakref not working properly

2007-11-10 Thread MHOOO
New submission from MHOOO: The following code is not working as expected: import weakref class cls1: def giveTo( self, to ): to.take( self.bla ) def bla(self ): pass class cls2: def take( self, what ): self.r

[issue1415] py3k: pythonw.exe fails because std streams a missing

2007-11-10 Thread Christian Heimes
Christian Heimes added the comment: Congratulations Amaury and welcome on board! :) I like to get your opinion on the problem. So far I've figured out that Windows doesn't create the std streams for Windows WinMain() programs. As first step towards the solution I like to separate the close check

[issue1418] Python/hypot.c is never used

2007-11-10 Thread Mark Dickinson
New submission from Mark Dickinson: With the current ./configure setup, it looks to me as though there are no circumstances under which the file Python/hypot.c is compliled. There's a line AC_REPLACE_FUNCS(hypot) in configure.in; which is supposed (if I understand correctly) to check for a s

[issue1405] Garbage collection not working correctly in Python 2.3

2007-11-10 Thread Paul Pogonyshev
Paul Pogonyshev added the comment: Looks like the memory _is_ freed. As Guido said, "It may be available for reallocation within Python, just not given back to the operating system". I suggest closing this as invalid. [EMAIL PROTECTED]:~$ python Python 2.3.5 (#2, Oct 16 2006, 19:19:48) [GCC 3.

[issue1405] Garbage collection not working correctly in Python 2.3

2007-11-10 Thread Paul Pogonyshev
Paul Pogonyshev added the comment: Meh, copied too much. Disregard first part, second shows it. __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list m

[issue1417] Weakref not working properly

2007-11-10 Thread Paul Pogonyshev
Paul Pogonyshev added the comment: Because self.bla is a bound-method object, which is created and then instantly deleted as unreferenced. This is not a bug, it is expected. >>> class X: ... def foo (self): pass ... >>> x = X () >>> x.foo is x.foo False Note how the objects are different. -

[issue1416] @prop.setter decorators

2007-11-10 Thread Paul Pogonyshev
Paul Pogonyshev added the comment: Looks great (regardless of how this is implemented). I always hated this def get_foo / def set_foo / foo = property (get_foo, set_foo). -- nosy: +_doublep __ Tracker <[EMAIL PROTECTED]>

[issue1417] Weakref not working properly

2007-11-10 Thread Georg Brandl
Georg Brandl added the comment: Closing as invalid. -- nosy: +georg.brandl resolution: -> invalid status: open -> closed __ Tracker <[EMAIL PROTECTED]> __

[issue1418] Python/hypot.c is never used

2007-11-10 Thread Georg Brandl
Changes by Georg Brandl: -- assignee: -> loewis nosy: +loewis __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe:

[issue1405] Garbage collection not working correctly in Python 2.3

2007-11-10 Thread Guido van Rossum
Changes by Guido van Rossum: -- resolution: -> invalid status: open -> closed __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing li

[issue1416] @prop.setter decorators

2007-11-10 Thread Guido van Rossum
Guido van Rossum added the comment: propset2.diff is a new version that improves upon the heuristic for making the deleter match the setter: when changing setters, if the old deleter is the same as the old setter, it will replace both the deleter and setter. This diff is relative to the 2.6 trun

[issue1418] Python/hypot.c is never used

2007-11-10 Thread Mark Dickinson
Mark Dickinson added the comment: hypot.patch contains a possible fix, together with a fix for the includes in hypot.c itself. (As it was, compilation of hypot.c would fail due to ssize_t being referenced before definition, in pyport.h.) Added file: http://bugs.python.org/file8727/hypot.patch

[issue1416] @prop.setter decorators

2007-11-10 Thread Guido van Rossum
Guido van Rossum added the comment: propset3.diff removes the hack that makes the deleter equal to the setter when no separate deleter has been specified. If you want a single method to be used as setter and deleter, write this: @foo.setter @foo.deleter def foo(self, value=None): ... Added fil

[issue1416] @prop.setter decorators

2007-11-10 Thread Christian Heimes
Christian Heimes added the comment: Fixed a typo: +PyDoc_STRVAR(getter_doc, +"Descriptor to change the setter on a property."); ^^^ -- nosy: +tiran Added file: http://bugs.python.org/file8729/propset4.diff __

[issue1412] test_subprocess fails on SuSE 10

2007-11-10 Thread Christian Heimes
Christian Heimes added the comment: Please try this: $ mkdir -p ~/tmp $ TMP=~/tmp make test -- nosy: +tiran __ Tracker <[EMAIL PROTECTED]> __ _

[issue1416] @prop.setter decorators

2007-11-10 Thread Guido van Rossum
Guido van Rossum added the comment: Checked into trunk as revision 58929. -- resolution: -> accepted status: open -> closed __ Tracker <[EMAIL PROTECTED]> __ _

[issue1417] Weakref not working properly

2007-11-10 Thread Raymond Hettinger
Raymond Hettinger added the comment: It's easier to see what is going on if you print the object ids. The id of self.bla is different than the subsequent c1.bla. The first is freed before the second gets created. -- nosy: +rhettinger __ Tracker <[EMAI

[issue1415] py3k: pythonw.exe fails because std streams a missing

2007-11-10 Thread Christian Heimes
Christian Heimes added the comment: PATCH: * remove the analogy fd < 0 -> file is closed from _fileio.FileIO * added new flag closed to _fileio.FileIO * renamed closefd to close_fd to distinguish it from closed * make it impossible to instantiate another stdprinter * added repr and fileno methods

[issue1419] ssl module version 1.10 causes TypeError when accepting connection

2007-11-10 Thread Viktor Ferenczi
New submission from Viktor Ferenczi: The SSLSocket.accept() method passes arguments to SSLSocket's constructor in wrong order which causes TypeError later in the constructor. Proposed patch to ssl.__init__.py: @@ -257,7 +257,7 @@ SSL channel, and the address of the remote client."""

[issue1415] py3k: pythonw.exe fails because std streams a missing

2007-11-10 Thread Christian Heimes
Christian Heimes added the comment: The new patch fixes the startup problem with pythonw.exe on Windows. I still wonder if print(sometest) is raising an exception when stdout is not available. Added file: http://bugs.python.org/file8731/py3k_fileio_fixes.patch __