[Tutor] Working collaboratively

Alex Kleider akleider at sonic.net
Tue Oct 20 02:33:25 EDT 2015


On 2015-10-19 15:18, Emile van Sebille wrote:
> On 10/19/2015 3:04 PM, Alex Kleider wrote:
>> On 2015-10-19 13:08, Emile van Sebille wrote:
>> 
>>> This looks like the list of identified issues:
>>>   https://bitbucket.org/pypa/pypi/issues
>>> 
>>> Browse through and see if anything looks interesting/doable.
>> 
>> 
>> On 2015-10-19 13:34, Mark Lawrence wrote:
>> 
>>> How about https://mail.python.org/mailman/listinfo/core-mentorship ?
>> 
>> Thank you Emile and Mark for your suggestions.
>> I fear that both are better suited to someone much more advanced than 
>> I!
> 
> You'd think so, but digging into any of the issues shown there and
> simply trying to locate where a change may help resolve the issue is
> itself a learning experience that'll do more for you taking your first
> step then watching from the sidelines.
> 
> For example, take a look at http://bugs.python.org/issue25417 -- can
> you figure out what file this change may impact?  (Note -- I haven't
> looked)
> 
> Emile

Inspired by your encouragement (for which I'm grateful,) I had a look:
Here's the content of issue25417:
"""
The output of pydoc for Path.samefile currently reads

pathlib.Path.samefile = samefile(self, other_path)
     Return whether `other_file` is the same or not as this file.
     (as returned by os.path.samefile(file, other_file)).

It should arguably be something like

pathlib.Path.samefile = samefile(self, other_path)
     Return whether `other_path` is the same or not as this file.
     (as returned by os.path.samefile(file, other_file)).

or

pathlib.Path.samefile = samefile(self, other_path)
     Return whether `other_path` is the same or not as this file.
     (as returned by os.path.samefile(str(self), str(other_path))).
"""
The author suggests that the output A should in fact be more along the 
lines of
B or C but to my reading A==B==C!

Am I missing something?

I did look at the source: 
https://hg.python.org/cpython/file/3.5/Lib/pydoc.py
How would one download the source? (i.e. the equivalent of git clone 
...)

Thanks,
ak


More information about the Tutor mailing list