[issue35817] IDLE 2.713 on debian 9.6 over WSL W10 IdentationError

2019-01-24 Thread Audric


New submission from Audric :

Hello,

The screenshot attached is a clear repro.

Environment:
Surface Pro 3 Win 10 1803 Python 2.7.14
WSL Debian 9.6 with Python 2.7.13

Code:
>>elements = []
>>for i in range(0, 6):
>>...elements.append(i)

---

Working:
>>print elements
>>[0, 1, 2, 3, 4, 5]

Non working:
  File "", line 2
elements.append(i)
   ^
IndentationError: expected an indented block

--
assignee: terry.reedy
components: IDLE
files: py27debian9wslw10indentationerror.PNG
messages: 334293
nosy: audricd, terry.reedy
priority: normal
severity: normal
status: open
title: IDLE 2.713 on debian 9.6 over WSL W10 IdentationError
type: behavior
versions: Python 2.7
Added file: 
https://bugs.python.org/file48076/py27debian9wslw10indentationerror.PNG

___
Python tracker 
<https://bugs.python.org/issue35817>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29438] SIGSEGV in PyObject_Malloc on python 3.6 and 3.7

2017-02-03 Thread Audric Schiltknecht

New submission from Audric Schiltknecht:

I've managed to create a minimal test file that causes python to crashe when 
run with python 3.6.0 (packaged in my distribution or from hg repository), 3.6 
branch from hg repository and 3.7 branch from hg repository, but works fine on 
3.5.3 and 3.5 branch.

It also does not crash when python is compiled with '--with-pydebug' option 
(3.6/3.7)

$ uname -a
Linux 4.8.13-1-ARCH #1 SMP PREEMPT Fri Dec 9 07:24:34 CET 2016 x86_64 GNU/Linux

$ python --version
Python 3.6.0

$ pip freeze
appdirs==1.4.0
packaging==16.8
pyparsing==2.1.10
python-dateutil==2.6.0
six==1.10.0
SQLAlchemy==1.1.5

To reproduce, use the attached file (minimal_crash.py):

$ virtualenv3  venv
$ source venv/bin/activate
$ pip install sqlalchemy

Run once to create DB and insert some stuff into it (no crash):
$ ./minimal_crash.py -d sqlite:///crash.db -v -c

Then re-run same thing WITHOUT re-creating the base:
$ ./minimal_crash.py -d sqlite:///crash.db -v
INFO:__main__:Connecting to DB 'sqlite:///crash.db'
Segmentation fault (core dumped)


Runing with GDB: 
https://gist.github.com/audricschiltknecht/5564034c5aac78d881e03f29e069a8f5

--
files: minimal_crash.py
messages: 286902
nosy: audric
priority: normal
severity: normal
status: open
title: SIGSEGV in PyObject_Malloc on python 3.6 and 3.7
type: crash
versions: Python 3.6, Python 3.7
Added file: http://bugs.python.org/file46505/minimal_crash.py

___
Python tracker 
<http://bugs.python.org/issue29438>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue27338] python 2.7 platform.system reports wrong

2016-06-16 Thread Audric D'Hoest (Dr. Pariolo)

New submission from Audric D'Hoest (Dr. Pariolo):

Mac mini late 2014, upgraded to El capitan.

Out of the box python 2.7 reports the wrong system info.

platform.system() should report El Capitan
platform.release() should report 10.11.5

--
components: Macintosh
files: pybug.png
messages: 268687
nosy: Audric D'Hoest (Dr. Pariolo), ned.deily, ronaldoussoren
priority: normal
severity: normal
status: open
title: python 2.7 platform.system reports wrong
versions: Python 2.7
Added file: http://bugs.python.org/file43423/pybug.png

___
Python tracker 
<http://bugs.python.org/issue27338>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue27338] python 2.7 platform.system reports wrong on Mac OS X El Capitan

2016-06-16 Thread Audric D'Hoest (Dr. Pariolo)

Changes by Audric D'Hoest (Dr. Pariolo) :


--
title: python 2.7 platform.system reports wrong -> python 2.7 platform.system 
reports wrong on Mac OS X El Capitan

___
Python tracker 
<http://bugs.python.org/issue27338>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue27338] python 2.7 platform.system reports wrong on Mac OS X El Capitan

2016-06-16 Thread Audric D'Hoest (Dr. Pariolo)

Audric D'Hoest (Dr. Pariolo) added the comment:

Hello Ned,

That is a brilliant answer!

After reporting this initially, I tried with 3.5.1, and uname... Convinced it 
was a 2.7.1, I could not be more wrong! What a stupid and confusing output does 
the OS report.

platform.mac_ver() does the trick!

thank you!

--

___
Python tracker 
<http://bugs.python.org/issue27338>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue27338] python 2.7 platform.system reports wrong on Mac OS X El Capitan

2016-06-16 Thread Audric D'Hoest (Dr. Pariolo)

Changes by Audric D'Hoest (Dr. Pariolo) :


--
resolution:  -> works for me
status: open -> closed

___
Python tracker 
<http://bugs.python.org/issue27338>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com