[issue18477] fix_import (2to3 fixer) is not case-sensitive

2021-10-20 Thread Irit Katriel


Change by Irit Katriel :


--
resolution:  -> wont fix
stage: test needed -> resolved
status: open -> closed
superseder:  -> Close 2to3 issues and list them here

___
Python tracker 

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



[issue18477] fix_import (2to3 fixer) is not case-sensitive

2019-04-26 Thread Mark Lawrence


Change by Mark Lawrence :


--
nosy:  -BreamoreBoy

___
Python tracker 

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



[issue18477] fix_import (2to3 fixer) is not case-sensitive

2014-07-30 Thread Mark Lawrence

Mark Lawrence added the comment:

Can we set the stage to patch review please.

--
nosy: +BreamoreBoy
versions: +Python 3.4, Python 3.5 -Python 3.3

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18477
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18477] fix_import (2to3 fixer) is not case-sensitive

2014-07-30 Thread Ezio Melotti

Changes by Ezio Melotti ezio.melo...@gmail.com:


--
stage:  - test needed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18477
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18477] fix_import (2to3 fixer) is not case-sensitive

2013-07-16 Thread ProgVal

New submission from ProgVal:

In a project, I have a package with a module named Socket.py, and the 
__init__.py imports the socket module (from the standard Python lib).
However, when fix_import went over it _on Windows_, it converted import 
socket to from . import Socket.
I also had this issue from a package containing a subpackage named Math, and 
a __init__.py importing math (from the standard Python lib).

This issue is caused by using os.path.exists(), which is case-insensitive on 
Windows. However, PEP 235 says imports are case-sensitive.

I'm including a patch I have wrote for this.

--
components: 2to3 (2.x to 3.x conversion tool), Windows
files: fix_case-sensitivity_of_fix-import.patch
keywords: patch
messages: 193193
nosy: Valentin.Lorentz
priority: normal
severity: normal
status: open
title: fix_import (2to3 fixer) is not case-sensitive
type: behavior
versions: Python 3.3
Added file: 
http://bugs.python.org/file30942/fix_case-sensitivity_of_fix-import.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18477
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18477] fix_import (2to3 fixer) is not case-sensitive

2013-07-16 Thread STINNER Victor

Changes by STINNER Victor victor.stin...@gmail.com:


--
nosy: +benjamin.peterson

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18477
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com