[issue16386] imp.find_module does not specify registry key it searches on windows

2021-06-22 Thread Irit Katriel


Change by Irit Katriel :


--
stage:  -> resolved
status: pending -> closed

___
Python tracker 

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



[issue16386] imp.find_module does not specify registry key it searches on windows

2021-04-24 Thread Irit Katriel


Irit Katriel  added the comment:

Both 
http://docs.python.org/3/library/importlib.html#importlib.machinery.WindowsRegistryFinder
 
and 
http://docs.python.org/3/library/imp.html#imp.find_module:

are now deprecated. Is this issue still relevant?

--
nosy: +iritkatriel
resolution:  -> out of date
status: open -> pending

___
Python tracker 

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



[issue16386] imp.find_module does not specify registry key it searches on windows

2012-11-17 Thread Jan Duzinkiewicz

Jan Duzinkiewicz added the comment:

Ok, didn't knew much about importlib, I can work on a patch but have a few 
questions/suggestions:

1. For importlib, simply referencing the "Using on Windows" guide imo won't be 
ok - the importlib sources show that the key being used is 
"Software\\Python\\PythonCore\\{sys_version}\\Modules\\{fullname}", while guide 
refers to \\PythonPath. Am I missing something here?
2. Considering that importlib code is Python, easy to retrieve without having C 
sources (which is common case on Windows) - do you think this should go into 
3.3 docs? 
3. Do you think the current version of the patch is applicable to Python 2.7?

--

___
Python tracker 

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



[issue16386] imp.find_module does not specify registry key it searches on windows

2012-11-15 Thread Eric Snow

Eric Snow added the comment:

I agree with Andrew.

--

___
Python tracker 

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



[issue16386] imp.find_module does not specify registry key it searches on windows

2012-11-15 Thread Andrew Svetlov

Andrew Svetlov added the comment:

I think much more important to mention registry key in 
http://docs.python.org/3/library/importlib.html#importlib.machinery.WindowsRegistryFinder
 
``imp`` is private module to access implementation internals but ``importlib`` 
is public interface to import system

--
nosy: +asvetlov

___
Python tracker 

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



[issue16386] imp.find_module does not specify registry key it searches on windows

2012-11-12 Thread Eric Snow

Changes by Eric Snow :


--
nosy: +eric.snow

___
Python tracker 

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



[issue16386] imp.find_module does not specify registry key it searches on windows

2012-11-02 Thread Jan Duzinkiewicz

New submission from Jan Duzinkiewicz:

quote from http://docs.python.org/3/library/imp.html#imp.find_module:

"...on some systems some other places are looked in as well (on Windows, it 
looks in the registry which may point to a specific file)."

I actually didn't know the registry key is listed in "using Python on Window" 
guide until I grepped for PythonCore (which kind of requires to know the key 
already) - so I'm submitting a patch that cross references find_module docs and 
using Python on Windows guide.

--
assignee: docs@python
components: Documentation
files: import_nt_reg.patch
keywords: patch
messages: 174508
nosy: dhgmgn, docs@python
priority: normal
severity: normal
status: open
title: imp.find_module does not specify registry key it searches on windows
versions: Python 2.7, Python 3.3
Added file: http://bugs.python.org/file27843/import_nt_reg.patch

___
Python tracker 

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