[issue16454] Mostly for discussion: _winapi as builtin for bootstrapping distutils.

2012-11-11 Thread Richard Oudkerk
Changes by Richard Oudkerk : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue16457] Allow operator 'getter' methods to take a list and return a tuple

2012-11-11 Thread R. David Murray
New submission from R. David Murray: Consider this code snippet, simplified from a real application: def display(self, *columns) getter = attrgetter(*columns) toprint = [[str(x) for x in getter(row)] for row in self._rows] This works great...as long as there are two or more columns to p

[issue16444] Use support.TESTFN_UNDECODABLE on UNIX

2012-11-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6017f09ead53 by Victor Stinner in branch '3.3': Issue #16218, #16444: Backport improvment on tests for non-ASCII characters http://hg.python.org/cpython/rev/6017f09ead53 -- ___ Python tracker

[issue16218] Python launcher does not support unicode characters

2012-11-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6017f09ead53 by Victor Stinner in branch '3.3': Issue #16218, #16444: Backport improvment on tests for non-ASCII characters http://hg.python.org/cpython/rev/6017f09ead53 -- ___ Python tracker

[issue16457] Allow operator 'getter' methods to take a list and return a tuple

2012-11-11 Thread Nick Coghlan
Nick Coghlan added the comment: Lists can't be dictionary keys, but they can appear in other mappings (e.g. an id-keyed mapping). So, while you could add this capability to attrgetter without breaking backwards compatibility, it's not possible for itemgetter. -- nosy: +ncoghlan __

[issue16458] subprocess.py throw "The handle is invalid" error on duplicating the STD_INPUT_HANDLE

2012-11-11 Thread Karthk Rajagopalan
New submission from Karthk Rajagopalan: Please download subprocess.zip and extract the archive. Run - perl test.pl you will notice 'invalid handle' error on duplicating STD_INPUT_HANDLE in python. This is observed in Windows XP SP3. Vista SP2 and higher platforms doesn't show this failure wh

[issue16267] order of decorators @abstractmethod and @classmethod is significant (is not documented to be in @abstractclassmethod which advises their combined use)

2012-11-11 Thread Nick Coghlan
Nick Coghlan added the comment: It took me a while to get my brain back up to speed with the full rationale behind the current design (mostly by rereading the multitude of comment on #11610). As Darren says, the main advantage of the current scheme is that the wrapper descriptors deliberately

[issue12082] Python/import.c still references fstat even with DONT_HAVE_FSTAT/!HAVE_FSTAT

2012-11-11 Thread Petri Lehtinen
Petri Lehtinen added the comment: Should the defines be removed then, because they're kind of false promises for the user. -- ___ Python tracker ___

[issue16459] sys.stdout.write printing length of string

2012-11-11 Thread Firat Ozgul
New submission from Firat Ozgul: On Python 3.3 under Windows and GNU/Linux, sys.stdout.write prints the length of string along with the string itself: >>> sys.stdout.write("a_string") a_string8 Note the '8' at the end of 'a_string'. Is it expected behavior? -- components: None messa

[issue16459] sys.stdout.write printing length of string

2012-11-11 Thread Firat Ozgul
Firat Ozgul added the comment: Although I do not know the reason for change, it seems that this is expected behavior as of Python 3.0 in interactive shell. Closing the record as 'invalid'. -- resolution: -> invalid ___ Python tracker

[issue16459] sys.stdout.write printing length of string

2012-11-11 Thread Firat Ozgul
Changes by Firat Ozgul : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue16459] sys.stdout.write printing length of string

2012-11-11 Thread Kushal Das
Kushal Das added the comment: sys.stdout.write returns the length of the string it printed. try these: x = sys.stdout.write("abc") print x or from console python -c 'import sys ; sys.stdout.write("abc")' -- nosy: +kushaldas ___ Python tracker

[issue16459] sys.stdout.write printing length of string

2012-11-11 Thread Firat Ozgul
Firat Ozgul added the comment: Thank you for the explanation, kushaldas. -- ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue16451] Remove duplication between slice_indices and compute_slice_indices

2012-11-11 Thread Mark Dickinson
Changes by Mark Dickinson : -- assignee: -> mark.dickinson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue16459] sys.stdout.write printing length of string

2012-11-11 Thread Ezio Melotti
Changes by Ezio Melotti : -- components: -None stage: -> committed/rejected type: -> behavior ___ Python tracker ___ ___ Python-bug

<    1   2