[issue32446] ResourceLoader.get_data() should accept a PathLike

2018-01-26 Thread Barry A. Warsaw

Barry A. Warsaw  added the comment:

Hi Jay.  Thanks for your interest in contributing to Python!

Actually, I'm going to close this issue since we ultimately decided to 
deprecate the ResourceLoader ABC:

https://docs.python.org/3.7/library/importlib.html?highlight=resourceloader#importlib.abc.ResourceLoader

I'd also suggest that if you're interested in answering your questions for the 
curiosity, or want to contribute to Python in other areas, you should join the 
python-dev mailing list.

--
resolution:  -> wont fix
stage:  -> resolved
status: open -> closed

___
Python tracker 

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



[issue32446] ResourceLoader.get_data() should accept a PathLike

2018-01-26 Thread Jay Yin

Jay Yin  added the comment:

I hope this isn't a dumb question but where is ResourceLoader.get_data() 
implemented, using ATOM to search the whole project and I can't seem to find it.

--

___
Python tracker 

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



[issue32446] ResourceLoader.get_data() should accept a PathLike

2018-01-26 Thread Jay Yin

Jay Yin  added the comment:

nvm I temporarily forgot I was working with python here, I'd need to use "is" 
to check what the entered "path" is huh?

--

___
Python tracker 

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



[issue32446] ResourceLoader.get_data() should accept a PathLike

2018-01-26 Thread Jay Yin

Jay Yin  added the comment:

this would extend to set and get data right?, also would it be good to use the 
current get_data() (one that reads only string) function for the overloaded one 
and extract the string path from the os.path object? or would we want the 
os.path object to be handled separately?

--

___
Python tracker 

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



[issue32446] ResourceLoader.get_data() should accept a PathLike

2018-01-26 Thread Jay Yin

Jay Yin  added the comment:

I'm taking a look now, this looks interesting

--
nosy: +jayyin11043

___
Python tracker 

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



[issue32446] ResourceLoader.get_data() should accept a PathLike

2017-12-29 Thread Barry A. Warsaw

New submission from Barry A. Warsaw :

Currently get_data() only accepts a string.  It should also accept a os.PathLike

--
messages: 309178
nosy: barry, brett.cannon
priority: normal
severity: normal
status: open
title: ResourceLoader.get_data() should accept a PathLike
versions: Python 3.7

___
Python tracker 

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