[issue46703] boolean operation issue (True == False == False)

2022-02-09 Thread jung mo sohn
New submission from jung mo sohn : In python 3.6.8, 3.7.3, 3.7.4, 3.7.5, 3.7.12, 3.8.8 versions, the output is False as shown below. Python 3.7.5 (tags/v3.7.5:5c02a39a0b, Oct 15 2019, 00:11:34) [MSC v.1916 64 bit (AMD64)] on win32 Type "help", "copyright", "credi

[issue38583] The activate script in Windows is not correct for venvs created in git-bash

2019-11-06 Thread Mo
Mo added the comment: I had also tested with pathlib and posixpath and come to the same conclusion. As suggested by you, I looked into `activate` determining path when run. I believe this should do the trick (My bashfoo isn't strong, this is mostly from https://stackoverflow.com/a/1

[issue38583] The activate script in Windows is not correct for venvs created in git-bash

2019-10-25 Thread Mo
Mo added the comment: The issue comes as a result of abspath on line 59 of venv/__init__.py: env_dir = os.path.abspath(env_dir) This returns a Windows-style path, and os.path.abspath returning in this way is *probably* correct, as the OS is Windows, despite trying to forget that by

[issue38583] The activate script in Windows is not correct for venvs created in git-bash

2019-10-24 Thread Mo
New submission from Mo : When creating a virtual environment on Windows from git-bash (using python -m venv), VIRTUAL_ENV in the activate script is set using a windows style path (C:\some\path) instead of the bash style (/c/some/path). This means the system python and pip get used, despite

[issue29191] liblzma is missing from pcbuild.sln

2017-02-23 Thread Mo Jia
Mo Jia added the comment: I think let user add the liblzma project by hand is not good enough. While the build.bat don't have this problem. So they should work similar. -- nosy: +Mo.Jia versions: -Python 3.5, Python 3.6 ___ Python tracker

[issue29297] python3 open() does not check argument type before attempting to read() or write()

2017-01-17 Thread Mo Ali
Mo Ali added the comment: Serhiy, I expected a type error or a filenotfound like you received, however mine doesn't return the same. It just hangs. I've attached a picture. Also, I meant this to be for 3.6 not 3.5. >>> test = False >>> with open(test)

[issue29297] python3 open() does not check argument type before attempting to read() or write()

2017-01-17 Thread Mo Ali
New submission from Mo Ali: Python3 open(), read(), or write()doesn't check argument type before action causing a hang. Would like to catch exceptions but not without an exception to return. See below. Python3.6: Python 3.6.0 (default, Dec 24 2016, 08:01:42) [GCC 4.2.1 Compatible Apple

[issue21623] build ssl failed use vs2010 express

2014-06-03 Thread Mo Jia
Mo Jia added the comment: @Roundup Robot . Clone the newest 3.4 tag. The unicode problem is ok now . @Zachary Ware , don't change anything after clone from the repo. What i do is just cd python src dir and runing : Tools\buildbot\build.bat . the openssl verison is 1.0.1g . See

[issue21623] build ssl failed use vs2010 express

2014-06-01 Thread Mo Jia
Mo Jia added the comment: Another error is . cd "D:\Hg\Python\Python\PCbuild\" "D:\Hg\Python\Python\PCbuild\python_d.exe" build_ssl.py Release Win32 -a Found a working perl at 'C:\Perl\bin\perl.exe' Traceback (most recent call last): File "buil

[issue21623] build ssl failed use vs2010 express

2014-05-31 Thread Mo Jia
New submission from Mo Jia: Here is the failed message . Project "D:\Hg\Python\Python\PCbuild\_ssl.vcxproj" (17) is building "D:\Hg\Python\Python\PCbuild\ssl.vcxproj" (18) on node 1 (default targets).