Re: [Python-Dev] Why does STORE_MAP not take a parameter?

2015-01-21 Thread Greg Ewing
On 01/21/2015 11:16 PM, Neil Girdhar wrote: Why not have BUILD_MAP work like BUILD_LIST? I.e., STORE_MAP takes a parameter n and adds the last n pairs of stack elements into the n-1 stack element (the dictionary). It probably wouldn't make much difference. Building a list is substantially che

Re: [Python-Dev] Undefined dlopen When Building Module On Android

2015-01-21 Thread Guido van Rossum
Maybe try a list focused on Android development? Few people in the Python core development community have any Android experience. But the issues and context you offer seem to be related to the Android world, not to Python. (dlopen is used by a lot of systems, not just Python.) On Wed, Jan 21, 2015

Re: [Python-Dev] Undefined dlopen When Building Module On Android

2015-01-21 Thread Cyd Haselton
On Mon, Jan 19, 2015 at 5:23 PM, Cyd Haselton wrote: > On Mon, Jan 19, 2015 at 8:51 AM, Cyd Haselton wrote: >> Hello, >> I'm struggling with a build issue on Android; I've posted to the >> general python list with no result, so I'm re-posting here in hopes >> that someone can help. If this is th

Re: [Python-Dev] incorrect docstring for sys.int_info.sizeof_digit?

2015-01-21 Thread R. David Murray
On Wed, 21 Jan 2015 14:53:19 +, Tim Golden wrote: > On 21/01/2015 11:07, Pfeiffer, Phillip E., IV wrote: > > Apologies if this has already been reported; I couldn't find a > > readily searchable archive for this mailing list (and apologies if > > I've just missed it). > > Depending on "readil

Re: [Python-Dev] incorrect docstring for sys.int_info.sizeof_digit?

2015-01-21 Thread Tim Golden
On 21/01/2015 11:07, Pfeiffer, Phillip E., IV wrote: > Apologies if this has already been reported; I couldn't find a > readily searchable archive for this mailing list (and apologies if > I've just missed it). Depending on "readily searchable", this isn't too bad: http://markmail.org/search/?q=l

[Python-Dev] incorrect docstring for sys.int_info.sizeof_digit?

2015-01-21 Thread Pfeiffer, Phillip E., IV
Apologies if this has already been reported; I couldn't find a readily searchable archive for this mailing list (and apologies if I've just missed it). Issue: the docstring for sys.int_info_.sizeof_digit appears to be amiss; see below. -- Microsoft Windows [Version 6.1.7601] Copyright (c) 2

[Python-Dev] sorry for the last e-mail

2015-01-21 Thread Pfeiffer, Phillip E., IV
Apologies for being stupid. I've been away from Python for awhile, and just realized that I'm simply seeing the docstring for int when I check out sys.int_info.whatever, where .whatever is an int-valued attribute. While it would be nice to have a clearer description of the sys.int_info's attri

[Python-Dev] Why does STORE_MAP not take a parameter?

2015-01-21 Thread Neil Girdhar
Building argument lists and dicts in python entails the following opcode pattern: 1 0 BUILD_MAP3 3 LOAD_CONST 0 (2) 6 LOAD_CONST 1 (1) 9 STORE_MAP 10 LOAD_CONST 2 (4)