Re: [Python-Dev] PEP 435: pickling enums created with the functional API

2013-05-08 Thread Eli Bendersky
On Tue, May 7, 2013 at 8:03 AM, Nick Coghlan wrote: > On Tue, May 7, 2013 at 11:34 PM, Eli Bendersky wrote: > > One of the contended issues with PEP 435 on which Guido pronounced was > the > > functional API, that allows created enumerations dynamically in a manner > > similar to namedtuple: > >

Re: [Python-Dev] Any script to create the installation pacakge of Python 3.3.1 on Windows and *NIX?

2013-05-08 Thread Brian Curtin
On Wed, May 8, 2013 at 7:37 PM, Jianfeng Mao wrote: > To Python-Dev committers: > > > > I am working on a project to embed a slightly customized Python interpreter > in our own software. For easy installation and setup, we want to be able to > do the standard Python installation as part of the ins

[Python-Dev] Any script to create the installation pacakge of Python 3.3.1 on Windows and *NIX?

2013-05-08 Thread Jianfeng Mao
To Python-Dev committers: I am working on a project to embed a slightly customized Python interpreter in our own software. For easy installation and setup, we want to be able to do the standard Python installation as part of the installation of our product. So far I have successfully customize

[Python-Dev] Call for testing: generator finalization

2013-05-08 Thread Antoine Pitrou
Hello, In http://bugs.python.org/issue17807 I've committed a patch to allow generator finalization (execution of "finally" blocks) even when a generator is part of a reference cycle. If you have some workload which is known for problems with generator finalization (or otherwise makes a heavy use

Re: [Python-Dev] this python string literals documentation couldn't explain me: single quote presence inside double quoted string and viceversa. Can Anyone explain me?

2013-05-08 Thread Alok Nayak
Thanks for you answer sir, I was thinking its regular expressions(automata) not BNF grammer. Aint I right ? And I thought even if it is for human reading, if we write literal grammer ( regular expression, in my view) using documentation, we would end up with python not allowing strings like"python

Re: [Python-Dev] this python string literals documentation couldn't explain me: single quote presence inside double quoted string and viceversa. Can Anyone explain me?

2013-05-08 Thread Steven D'Aprano
On 08/05/13 21:31, Alok Nayak wrote: I asked this question here, http://stackoverflow.com/questions/16435233/this-python-string-literals-documentation-couldnt-explain-me-single-quote-pres, . I was advised to ask here They were wrong. It is not relevant here, since it is not a question about d

[Python-Dev] this python string literals documentation couldn't explain me: single quote presence inside double quoted string and viceversa. Can Anyone explain me?

2013-05-08 Thread Alok Nayak
This python string literals documentationcouldn't explain: single quote presence inside double quoted string and viceversa. I think both double quoted string and single quoted string need to be defined differently for repr

Re: [Python-Dev] this python string literals documentation couldn't explain me: single quote presence inside double quoted string and viceversa. Can Anyone explain me?

2013-05-08 Thread Alok Nayak
I asked this question here, http://stackoverflow.com/questions/16435233/this-python-string-literals-documentation-couldnt-explain-me-single-quote-pres, . I was advised to ask here On Wed, May 8, 2013 at 4:56 PM, Alok Nayak wrote: > > This python string literals > documentation

Re: [Python-Dev] PEP 435: pickling enums created with the functional API

2013-05-08 Thread Nick Coghlan
On 8 May 2013 01:26, "Antoine Pitrou" wrote: > > Le Wed, 8 May 2013 01:03:38 +1000, > Nick Coghlan a écrit : > > > > What if there was a variant of the class statement that bound the > > result of a function call rather than using the normal syntax: > > > > class Animal from enum.Enum(members