On Sun, Jan 12, 2020 at 6:38 PM Steven D'Aprano wrote:
>
> On Sun, Jan 12, 2020 at 11:59:20AM +1100, Chris Angelico wrote:
>
> > The biggest difference is that scripts can't do relative imports.
>
> How is that relevent? People keep mentioning minor differences between
> different ways of executin
On 1/10/20, Andrew Barnert via Python-ideas wrote:
> On Jan 10, 2020, at 03:45, Inada Naoki wrote:
>
> Also, PYTHONUTF8 is only supported on Unix, so presumably it’s ignored if
> you set it on Windows, right?
The implementation of UTF-8 mode (i.e. -Xutf8) is cross-platform,
though I think it cou
Consider a directory structure like this one:
ganarchy/
├── cli
│ ├── debug.py
│ ├── __init__.py
│ └── __pycache__
├── config.py
├── __init__.py
├── __main__.py
└── __pycache__
abdl/
├── exceptions.py
├── __init__.py
├── _parser.py
├── __pycache__
├── validators.py
└── _vm.py
If one cd'd t
PS: typoed "~/git" as "~/.git", oops.
sorry.
On 2020-01-12 11:09 a.m., Soni L. wrote:
Consider a directory structure like this one:
ganarchy/
├── cli
│ ├── debug.py
│ ├── __init__.py
│ └── __pycache__
├── config.py
├── __init__.py
├── __main__.py
└── __pycache__
abdl/
├── exceptions.py
├
On Jan 12, 2020, at 06:10, Soni L. wrote:
>
> And yes this is a real project structure. Also note that there's no setup.py
> because setup.py has too many unnecessary knobs
Who cares what knobs it has? The ones you don’t need to twiddle don’t matter.
For most projects, writing an appropriate s
On 2020-01-11 23:34, Steven D'Aprano wrote:
On Sun, Jan 12, 2020 at 11:59:20AM +1100, Chris Angelico wrote:
>The biggest difference is that scripts can't do relative imports.
How is that relevent? People keep mentioning minor differences between
different ways of executing different kinds of e
None of this is even about relative imports. Absolute imports are also
broken between them, as I tried to demonstrate using my project
structure. The *whole* import system breaks.
On 2020-01-12 3:12 p.m., Brendan Barnwell wrote:
On 2020-01-11 23:34, Steven D'Aprano wrote:
On Sun, Jan 12, 2020
Inada Naoki wrote:
> Current header is:
> Python 3.8.1 (tags/v3.8.1:1b293b6, Dec 18 2019, 23:11:46) [MSC
> v.1916 64 bit (AMD64)] on win32
> Type "help", "copyright", "credits" or "license" for more information.
> I'm proposing adding one more line:
> UTF-8 mode is disabled. (See https://url.to/