[issue26086] Bug in standardmodule os

2016-01-11 Thread Hana Larsen

New submission from Hana Larsen:

I get a error in the stardard module "os" (I use Python 3.5.1 64bit for Windows 
10!)
What is wrong and have someone a patch
See the "os-bug.PNG"-file.

--
files: os-bug.PNG
messages: 258023
nosy: Johano
priority: normal
severity: normal
status: open
title: Bug in standardmodule os
type: crash
versions: Python 3.5
Added file: http://bugs.python.org/file41586/os-bug.PNG

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



[issue26088] re

2016-01-12 Thread Hana Larsen

New submission from Hana Larsen:

-- 
Hans Larsen Galgebakken Sønder 4-11A 2620 Albertslund Danmark/Danio

--
messages: 258073
nosy: Johano
priority: normal
severity: normal
status: open
title: re

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



[issue26086] Bug in standardmodule os

2016-01-12 Thread Hana Larsen

Hana Larsen added the comment:

I thank you much for thisse answer!
I Python is in "C:\Python35\" in the root of C-Drive (OS)
=-O
Den 11-01-2016 kl. 23:57 skrev Eryk Sun:
> Eryk Sun added the comment:
>
> The "yield from" syntax was added in Python 3.3, so somehow you're using the 
> 3.5 standard library with either an old 3.x or 2.x version. The older version 
> shouldn't use 3.5's standard library, unless you have either PYTHONHOME or 
> PYTHONPATH defined. Generally neither of these variables should be defined, 
> especially not PYTHONHOME. In the command prompt run "set PYTHON" to list all 
> environment variables that start with "PYTHON".
>
> You also appear to be running with the 3.5 site-packages as the working 
> directory. Even without the other problems, I recommend against this since 
> the current directory has precedence in sys.path. You're moving site-packages 
> to the head of the list, in front of the standard library. For example:
>
>  C:\Program Files\Python35\Lib\site-packages>type subprocess.py
>  print("This isn't the subprocess you're looking for.")
>
>  C:\Program Files\Python35\Lib\site-packages>py -3 -c "import subprocess"
>  This isn't the subprocess you're looking for.
>
> Save your scripts in the top-level Scripts directory or a directory in your 
> user profile. Generally leave everything under Lib alone, to be managed by 
> pip and other installers.
>
> --
> nosy: +eryksun
>
> ___
> Python tracker 
> <http://bugs.python.org/issue26086>
> ___
>

--

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