RE: To clarify how Python handles two equal objects

2023-01-12 Thread avi.e.gross
Jen, It is dangerous territory you are treading as there are times all or parts of objects are copied, or changed in place or the method you use to make a view is not doing quite what you want. As an example, you can create a named slice such as: middle_by_two = slice(5, 10, 2) The above is

Re: file.read Method Documentation (Python 2.7.10)

2023-01-12 Thread Chris Angelico
On Thu, 12 Jan 2023 at 21:25, Stephen Tucker wrote: > > Chris, > > Thanks for this clarification. > > I have not found documentation that disagrees with you. I simply observe that > the documentation that I have alluded to earlier in this chain (section 5.9 > File Objects) That's specifically t

Re: file.read Method Documentation (Python 2.7.10)

2023-01-12 Thread Stephen Tucker
Chris, Thanks for this clarification. I have not found documentation that disagrees with you. I simply observe that the documentation that I have alluded to earlier in this chain (section 5.9 File Objects) could have been made clearer by the addition of a note along the lines that the behaviour o