[issue46285] protocol_version in http.server.test can be ignored

2022-02-03 Thread Éric Araujo
Change by Éric Araujo : -- dependencies: +Pass the -d/--directory command-line option to http.server.CGIHTTPRequestHandler versions: -Python 3.10, Python 3.9 ___ Python tracker

[issue46285] protocol_version in http.server.test can be ignored

2022-01-28 Thread Géry
Change by Géry : -- keywords: +patch pull_requests: +29181 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/30999 ___ Python tracker ___

[issue46285] protocol_version in http.server.test can be ignored

2022-01-27 Thread Éric Araujo
Éric Araujo added the comment: There is no bug with partial itself. I have tried to explain this and I can’t write it in another way. -- ___ Python tracker ___

[issue46285] protocol_version in http.server.test can be ignored

2022-01-26 Thread Hugo Almeida
Hugo Almeida added the comment: Hi Éric, thank you so much. I know only a little usage of closure and functools.partial but not the historical/relative knowledge of their design/feature, I mean this issue have 2 visual, the partical object not working as it expected or we are not calling

[issue46285] protocol_version in http.server.test can be ignored

2022-01-23 Thread Géry
Géry added the comment: Thanks Hugo for opening this issue and Éric for inviting me. As you guys pointed out, function test in module http.server expects a real handler class argument (SimpleHTTPRequestHandler or CGIHTTPRequestHandler), not a partial object partial(SimpleHTTPRequestHandler,

[issue46285] protocol_version in http.server.test can be ignored

2022-01-22 Thread Éric Araujo
Change by Éric Araujo : -- nosy: +maggyero, matrixise ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46285] protocol_version in http.server.test can be ignored

2022-01-22 Thread Éric Araujo
Éric Araujo added the comment: I think we have a valid bug, and you correctly attributed it to the use of partial! (No worry about your English — thank you for reporting the problem here!) To answer your questions: 1) partial: Imagine we have a function with many parameters: def