On 4/1/2013 5:47 PM, Daniel Holth wrote:
users expect .py to be opened with a text editor.
This user expects .py to be executed as an executable script, and thinks
that is the default after an installation of Python on Windows. Windows
has a separate option, Edit, to use to edit things.
Bu
https://docs.google.com/document/d/1MKXgPzhWD5wIUpoSQX7dxmqgTZVO6l9iZZis8dnri78/edit?usp=sharing
PEP: 4XX
Title: Improving Python ZIP Application Support
Author: Daniel Holth
Status: Draft
Type: Standards Track
Python-Version: 3.4
Created: 30 March 2013
Post-History: 30 March 2013, 1 April
On Mon, Apr 1, 2013 at 12:28 AM, Mark Dickinson wrote:
> As written, int_check would do the wrong thing for bools, too: I
> definitely want int(True) to be 1, not True.
>
> For (2) and (4), it's not so clear. Are there use-cases for an __index__
> return value that's not directly of type int?
On Tue, Apr 2, 2013 at 6:20 AM, Kristján Valur Jónsson <
krist...@ccpgames.com> wrote:
> I just ran into the issue described in
> http://stackoverflow.com/questions/6351805/cyclic-module-dependencies-and-relative-imports-in-python
> .
>
> This is unfortunate, because we have been trying to move t
On Mon, Apr 1, 2013 at 4:20 PM, Kristján Valur Jónsson <
krist...@ccpgames.com> wrote:
> I just ran into the issue described in
> http://stackoverflow.com/questions/6351805/cyclic-module-dependencies-and-relative-imports-in-python
> .
>
> This is unfortunate, because we have been trying to move t
On Apr 01, 2013, at 08:20 PM, Kristján Valur Jónsson wrote:
>The relative import syntax
>
> (from foo import bar) is a getattr type of lookup (i.e. import foo, then get
> attr from it).
>
>This is in contrast with absolute import
>
> import foo.bar (get the module foo.bar from sys.modules or imp
I just ran into the issue described in
http://stackoverflow.com/questions/6351805/cyclic-module-dependencies-and-relative-imports-in-python.
This is unfortunate, because we have been trying to move towards relative
imports in order to aid flexibility in package and library design.
The relative
The new "distlib" also provides that feature
On Apr 1, 2013 4:58 PM, "Éric Araujo" wrote:
> Hello,
>
> Le 01/04/2013 16:51, Grigory Petrov a écrit :
> > But what python code is responsible for creation of this bootstrapper
> > executables? I have searched python 2.7.3 source code for some time, b
Hello,
Le 01/04/2013 16:51, Grigory Petrov a écrit :
> But what python code is responsible for creation of this bootstrapper
> executables? I have searched python 2.7.3 source code for some time, but
> can't find a place.
Setuptools is not in the standard library, so you would need to search
the
Hello.
On Windows, 'setuptools' and 'distribute' package systems allows to add
'entry_points' definition into 'setup.py' python distribution script. For
each entry in this definition, some kind of bootstrapper '.exe' file will
be created and placed into 'Scripts' python dir. For example, if i ins
Hello,
On Mon, 1 Apr 2013 01:14:11 +0200
Alfredo Solano Martínez wrote:
>
> The logic would then be something like this:
> - when increasing the refcount, a thread writes only to its own subcounter,
> creating one first if necessary.
> - similarly, when decreasing the refcount, there is no need
11 matches
Mail list logo