[issue7980] time.strptime not thread safe

2014-03-18 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: This bug has not been fixed in 2.7.6 on OSX 10.9.2. -- nosy: +matrixise ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7980

[issue21219] WARNING: Inline literal start-string without end-string.

2014-04-14 Thread Stéphane Wirtel
New submission from Stéphane Wirtel: When I build the documentation, I get a warning about the NEWS file. Just add a new patch for this warning. (sphinx) make html sphinx-build -b html -d build/doctrees -D latex_paper_size= . build/html Making output directory... Running Sphinx v1.2.2

[issue21219] WARNING: Inline literal start-string without end-string.

2014-04-14 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Here is the patch for this bug. -- keywords: +patch Added file: http://bugs.python.org/file34833/issue21219_1.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21219

[issue4744] asynchat documentation needs to be more precise

2014-04-14 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Could you review your patch, there is a mistake in the name of the project, it's asynchat and not asychat. The content seems to be right, not the reference and the title. Thank you so much for your help. -- nosy: +matrixise versions: +Python 3.5

[issue20874] Tutorial section on starting python is out of date

2014-04-14 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: In your patch, you do not explain how to enable the command line editing. Can you add this part, or just add the reference to the existing doc? -- nosy: +matrixise ___ Python tracker rep...@bugs.python.org http

[issue21224] BaseHTTPRequestHandler, update the protocol version to http 1.1 by default?

2014-04-14 Thread Stéphane Wirtel
New submission from Stéphane Wirtel: Hi, With this issue, I would like to ask you to use the last version of the HTTP protocol in the BaseHTTPRequestHandler for Python 3.5. Because this one uses the version 1.0 of the protocol for the backward-compatibility. https://docs.python.org/3/library

[issue20874] Tutorial section on starting python is out of date

2014-04-14 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: David, thank you for this comment about the automatic activation of the command line editing. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20874

[issue21224] BaseHTTPRequestHandler, update the protocol version to http 1.1 by default?

2014-04-14 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: gunicorn has an implementation of the HTTP/1.1 protocol, we can ask to the author of this project if we can use its code and reuse it in the standard library. -- ___ Python tracker rep...@bugs.python.org http

[issue12916] Add inspect.splitdoc

2014-04-14 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: I move the pydoc.splitdoc function to the inspect module. Update the documentation. Add a unittest for this new function. I can provide an other patch for the backward-compatiblity if this function is used by an other module than pydoc. -- keywords

[issue12916] Add inspect.splitdoc

2014-04-14 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Yury and David, please, can you discuss about this point, or just close this ticket if this one is useless. Thank you -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12916

[issue20438] inspect: Deprecate getfullargspec?

2014-04-15 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: In this patch, I deprecate the inspect.getfullargspec function in the documentation and raise an warnings.warn with DeprecationWarning. Need feedback, because the inspect.getargspec() informs the user that it can use the getfullargspec() and I think we

[issue20438] inspect: Deprecate getfullargspec?

2014-04-15 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Here is the output of my test: ./python3.5 -Wd test.py test.py:9: DeprecationWarning: Deprecated warnings.warn('Deprecated', DeprecationWarning) /private/tmp/python/lib/python3.5/inspect.py:955: DeprecationWarning: Use inspect.signature() instead

[issue20438] inspect: Deprecate getfullargspec?

2014-04-15 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Just one thing, how do you work for the deprecation? 1. you deprecate in the doc for 3.5? 2. you deprecate in the code for 3.6? 3. you remove the code in 3.7? What's the strategy in this case or in general? Thanks

[issue20438] inspect: Deprecate getfullargspec?

2014-04-15 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: ok, so in this case, I can only change the documentation with a .. deprecated:. But for the future, how can we know we have to deprecate this function for = 3.6 ? Will you parse the documentation and check there is an deprecation to add in the code

[issue20438] inspect: Deprecate getfullargspec?

2014-04-15 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Brett, If you agree with Yury, I will provide a patch with these tasks. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20438

[issue20438] inspect: Deprecate getfullargspec?

2014-04-15 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Need your feedback for this patch Thank you -- Added file: http://bugs.python.org/file34890/issue20438_deprecate_inspect_getfullargspec-2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org

[issue12916] Add inspect.splitdoc

2014-04-15 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Yury, what's your feedback about this point? Thanks -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12916

[issue5420] Queue deprecation warning patch

2014-04-15 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: No news for 2 years. -- nosy: +matrixise ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5420 ___ ___ Python-bugs

[issue21259] replace except: pass by except Exception: pass

2014-04-16 Thread Stéphane Wirtel
New submission from Stéphane Wirtel: Hi guys, Via this issue, I will attach a patch where I replace all the except: pass in the source code by a clear except Exception: pass. -- components: Library (Lib) messages: 216524 nosy: matrixise priority: normal severity: normal status: open

[issue21259] replace except: pass by except Exception: pass

2014-04-16 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: I attach the patch. Need review. Thanks -- keywords: +patch nosy: +haypo Added file: http://bugs.python.org/file34918/issue21259-replace_except_pass.patch ___ Python tracker rep...@bugs.python.org http

[issue21260] python malloc mach_vm_map failed

2014-04-16 Thread Stéphane Wirtel
New submission from Stéphane Wirtel: Hi all, Sometimes, I get this error on my laptop : OSX 10.9 with Python 3.5 [386/388] test_io python.exe(33496,0x7fff7367d310) malloc: *** mach_vm_map(size=9223372036854779904) failed (error code=3) *** error: can't allocate region *** set a breakpoint

[issue21259] replace except: pass by except Exception: pass

2014-04-16 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: I disabled the patch for pybench and the grammar. Thanks for your review. -- Added file: http://bugs.python.org/file34919/issue21259-replace_except_pass-2.patch ___ Python tracker rep...@bugs.python.org http

[issue4744] asynchat documentation needs to be more precise

2014-04-16 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: In your issue4744_2.patch, the anchor contains 'asychat' and not 'asynchat'. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4744

[issue12916] Add inspect.splitdoc

2014-04-16 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: On 16 Apr 2014, at 17:24, Yury Selivanov wrote: Yury Selivanov added the comment: The current patch proposes to add inspect.splitdoc(obj), instead of pydoc.splitdoc(doc). The former takes an object, extracts documentation out of it, and returns a tuple

[issue12916] Add inspect.splitdoc

2014-04-16 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Yury, An other point, as you proposed, I will check the version of Python in an unit test. But is there a good practice? Here is my way to check that: Example from my patch for the issue with inspect.getfullargspec() +getfullargspec = getattr

[issue12916] Add inspect.splitdoc

2014-04-16 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Totally agree with you, I want to learn how to contribute to cpython and there is a learning curve and it's normal. So, if you think we need to change the names or the signature of the function, I can work on this issue

[issue12916] Add inspect.splitdoc

2014-04-16 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Ok, I will work on this bug after the feedback of Eric and David. Thanks for your time. -- Stéphane Wirtel - http://wirtel.be - @matrixise -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org

[issue12916] Add inspect.splitdoc

2014-04-16 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: And it takes a string or an object? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12916 ___ ___ Python-bugs

[issue12916] Add inspect.splitdoc

2014-04-21 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: I will fix this issue asap, but I was too tired with the travel to Belgium. Hope to propose patch during this week. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12916

[issue12916] Add inspect.splitdoc

2014-04-29 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Hi all, Here is a new version of the patch, please, keep me informed and I think I have to modify some parts, but give me your feedback. Thanks -- Added file: http://bugs.python.org/file35093/issue12916-2.patch

[issue20438] inspect: Deprecate getfullargspec?

2014-04-30 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: @Larry Hasting: If you check my patch, it's the case where I modify the documentation and add a DeprecationWarning in the code. @Yury Selivanov, @Nick Coghlan, @Brett Cannon: From your point of views, I need to propose a patch just for the documentation, I

[issue21224] BaseHTTPRequestHandler, update the protocol version to http 1.1 by default?

2014-04-30 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: In this case, I suggest than by default, we use the version 1.1 of HTTP and not 1.0. We are in 2014, I suppose that all the old http clients use the version 1.1 of the protocol, otherwise, the user can specify the version 1.0

[issue21390] readline: setlocale() returns NULL on Android

2014-04-30 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: +1 for the patch -- nosy: +matrixise ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21390 ___ ___ Python-bugs

[issue21393] Python/random.c: close hCryptProv at exit

2014-04-30 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: +1 for the patch -- nosy: +matrixise ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21393 ___ ___ Python-bugs

[issue21398] pydoc heapq leaves terminal in an unusable state

2014-04-30 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: the pydoc module works fine but when I use CTRL-C to quit it, I get this error in the terminal. I think it's an other bug but the traceback is really similar. Stephane Traceback (most recent call last): File /Users/stephane/src/projects/externals/cpython

[issue21398] pydoc heapq leaves terminal in an unusable state

2014-04-30 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: locale LANG=en_US.UTF-8 LC_COLLATE=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 LC_MONETARY=en_US.UTF-8 LC_NUMERIC=en_US.UTF-8 LC_TIME=en_US.UTF-8 LC_ALL=en_US.UTF-8 -- ___ Python tracker rep

[issue21398] LC_CTYPE=C: pydoc leaves terminal in an unusable state

2014-04-30 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: I use OSX 10.9 on my laptop, Python 3.5 and I get this error in one case. If I use CTRL-C to quit the application and if LC_CTYPE=C. with the 'q' key, I don't get this problem. Just LC_CTYPE=C and CTRL-C and I have to reset my terminal

[issue21398] LC_CTYPE=C: pydoc leaves terminal in an unusable state

2014-04-30 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: In python 2.7, If I use my working locales (utf-8) and I use CTRL-C, pydoc does not quit but leave a message when the screen is cleaned. same result with LC_CTYPE=C bash-4.3$ python -m pydoc heapq Traceback (most recent call last): File /usr/local/Cellar

[issue21400] Code coverage documentation is out-of-date.

2014-04-30 Thread Stéphane Wirtel
New submission from Stéphane Wirtel: In the section Increase Test Coverage of the DevGuide : https://docs.python.org/devguide/_sources/coverage.txt You can read this paragraph where there is a url for a website, but the website is out-of-date and don't reflect the right version of Python

[issue21400] Code coverage documentation is out-of-date.

2014-04-30 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Ok thanks for your feedback about your script. Where can I find the scripts of Ned? Thank you -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21400

[issue12916] Add inspect.splitdoc

2014-05-08 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Hi all, No news about this issue, Do you have time for a feedback? Thanks -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12916

[issue22218] Fix more compiler warnings comparison between signed and unsigned integers

2014-10-11 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Hi Victor, Here is a small patch for the unicodeobject.c file. I am not sure if it's the correct solution to this problem, but for me, the size parameter should be a unsigned long and not a signed. -- nosy: +matrixise Added file: http

[issue12916] Add inspect.splitdoc

2014-10-11 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Hi all, Here is the last version of this patch for a review, the tests are ok. Thank you in advance for the time. Stephane -- Added file: http://bugs.python.org/file36880/issue12916-3.patch ___ Python tracker rep

[issue21224] BaseHTTPRequestHandler, update the protocol version to http 1.1 by default?

2014-10-13 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: ping -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21224 ___ ___ Python-bugs-list mailing list Unsubscribe

[issue21991] The new email API should use MappingProxyType instead of returning new dicts.

2014-10-13 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: David, do you have an example, I am at the CPython sprint in Dublin, and I think I can work on this issue. Thanks -- nosy: +matrixise ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21991

[issue21991] The new email API should use MappingProxyType instead of returning new dicts.

2014-10-14 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Hi David, I didn't find an other example of a copy(dict), the rest is just some lists. If you have an other example in the email library, I will agree to provide an other patch. -- keywords: +patch Added file: http://bugs.python.org/file36914

[issue21991] The new email API should use MappingProxyType instead of returning new dicts.

2014-10-14 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: In fact, I am really dubious with my patch because this one is really small and I think there is a missing part somewhere because the description of this issue takes 4 lines and the patch only 2. -- ___ Python

[issue21991] The new email API should use MappingProxyType instead of returning new dicts.

2014-10-14 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Here is the new version of this patch with a test. -- Added file: http://bugs.python.org/file36915/issue21991.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21991

[issue21991] The new email API should use MappingProxyType instead of returning new dicts.

2014-10-14 Thread Stéphane Wirtel
Changes by Stéphane Wirtel steph...@wirtel.be: Removed file: http://bugs.python.org/file36914/issue21991.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21991

[issue20020] modernize the modulefinder module

2014-10-14 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: The code of Thomas has not the same API than the modulefinder module. If you want a patch, we need to rework the code of Thomas and provide an equivalent API with the existing one. What do you suggest? -- nosy: +matrixise

[issue22237] sorted() docs should state that the sort is stable

2014-10-14 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: For this issue, I have read the source code of sorted and list.sort to be sure they use the same algorithm (not sure). But in the builtin_sorted function, I read PyId_sort, but when I grep the code, I don't find it. Where can I find the reference

[issue21991] The new email API should use MappingProxyType instead of returning new dicts.

2014-10-15 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Tell me if you will review this patch and maybe accept it ;-) In fact I checked all the return keywords in the email library and I didn't find any other copy of a dict. This is the reason why I am dubious about my patch

[issue22237] sorted() docs should state that the sort is stable

2014-10-15 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Hi Mark, Without your explanation, I was really lost. Thank you. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22237

[issue22237] sorted() docs should state that the sort is stable

2014-10-15 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: My patch for the documentation of Python 3.5, just need a small feedback. If you agree with this patch, I will provide the same patch for 2.7 and 3.4 Thank you -- keywords: +patch Added file: http://bugs.python.org/file36933/issue22237.patch

[issue13236] unittest needs more flush calls

2014-10-15 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: ping about this bug, do you have the same problem with the last version of Python 3.4 and with Python 2.7.8 ? -- nosy: +matrixise ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13236

[issue17095] Modules/Setup *shared* support broken

2014-10-15 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Hi Ned, What are the news for this issue? -- nosy: +matrixise ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17095

[issue11844] Update json to upstream simplejson latest release

2014-10-15 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Hi all, ping this issue for Python 3.5. -- nosy: +matrixise ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11844

[issue21991] The new email API should use MappingProxyType instead of returning new dicts.

2014-10-15 Thread Stéphane Wirtel
Changes by Stéphane Wirtel steph...@wirtel.be: Removed file: http://bugs.python.org/file36915/issue21991.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21991

[issue21991] The new email API should use MappingProxyType instead of returning new dicts.

2014-10-15 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: New version of the patch -- Added file: http://bugs.python.org/file36935/issue21991.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21991

[issue21991] The new email API should use MappingProxyType instead of returning new dicts.

2014-10-15 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: sorry, but how to update a patch without losing the rietveld review? Is there a documentation about that? Thanks. Stephane -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21991

[issue21991] The new email API should use MappingProxyType instead of returning new dicts.

2014-10-18 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Thanks David, -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21991 ___ ___ Python-bugs-list mailing list

[issue17095] Modules/Setup *shared* support broken

2014-10-18 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Hi Ned, For the first point, maybe close this issue and open a new bug for the second. What do you think? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17095

[issue17095] Shared modules built with Modules/Setup are not found when run from build directory

2014-10-18 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Thanks Ned -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17095 ___ ___ Python-bugs-list mailing list

[issue22237] sorted() docs should state that the sort is stable

2014-10-25 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: ping. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22237 ___ ___ Python-bugs-list mailing list Unsubscribe

[issue12916] Add inspect.splitdoc

2014-10-25 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: @berker.peksag Could you review the last patch? and keep me informed? Thanks, -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12916

[issue12916] Add inspect.splitdoc

2015-02-01 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Hi Martin, you reused my own patch for this issue? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12916

[issue12916] Add inspect.splitdoc

2015-02-01 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: On 1 Feb 2015, at 22:03, Martin Panter wrote: Martin Panter added the comment: Yes, this is based on your patch, Stéphane. On top of it I added support for splitdoc(None), and made the other changes in the bullet points. Great good news. Hope

[issue12916] Add inspect.splitdoc

2015-03-09 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Ok, so in this case, you are right to move this issue to the Python 3.6 version, and it's too late for 3.5 Thank you for your help and feedbacks. Stephane -- ___ Python tracker rep...@bugs.python.org http

[issue23730] Document return value for ZipFile.extract()

2015-04-13 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: fix for the documentation of ZipFile.extract. In the code of _extract_member, there is a normalisation of the target path, I use this term normalized for the fix. -- keywords: +patch nosy: +matrixise Added file: http://bugs.python.org/file38943

[issue13850] Summary tables for argparse add_argument options

2015-04-13 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Hi all, If you think the patch is ok, please merge it, we will close this issue. Thanks -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13850

[issue21243] Auto-generate exceptions.c from a Python file

2015-04-29 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: I think I have understood your issue, but can you explain with more details. If I can develop this part, I can propose a patch for your issue. Thank you for your time -- nosy: +matrixise ___ Python tracker rep

[issue24110] zipfile.ZipFile.write() does not accept bytes arcname

2015-05-01 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: This documentation is correct for python2 but maybe not for python3. To check. -- nosy: +matrixise ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24110

[issue24075] list.sort() should do quick exit if len(list) = 1

2015-04-29 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: The patch is ok for me, -- nosy: +matrixise, r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24075

[issue19625] IDLE 2.7 should use UTF-8 as it's default encoding

2015-04-29 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: On OS X and with IDLE 3, I get utf-8 with sys.stdout.encoding, not sure, but I think you have to check the default encoding on Windows. What’s the result if you execute: python3 -c 'import sys; print(sys.getdefaultencoding())' -- nosy: +matrixise

[issue24075] list.sort() should do quick exit if len(list) = 1

2015-04-29 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Yep, add a regression test. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24075 ___ ___ Python-bugs-list

[issue22829] Add --prompt option to venv

2015-04-16 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Based on the patch of Łukasz, I have updated it to the last revision of Python 3.5a3 (today, 16th April) stephane@sg1 ~/p/c/bin ./python3.5 --version Python 3.5.0a3+ stephane@sg1 ~/p/c/bin ./python3.5 Python 3.5.0a3+ (default:c969413584cf+, Apr 16 2015, 15:17

[issue5497] openssl compileerror with original source

2015-04-16 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: what's the status of this issue? about SSL and Python on Windows for the builder script. -- nosy: +matrixise ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5497

[issue22829] Add --prompt option to venv

2015-04-17 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: ok, I will propose an update with the comments of the review. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22829

[issue13850] Summary tables for argparse add_argument options

2015-04-13 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: On 13 Apr 2015, at 10:56, Stéphane Wirtel wrote: Stéphane Wirtel added the comment: Just updated this patch with x instead of the unicode character. Sorry bad patch, I have read the last comment (“replace by x or “yes/no”) and not the other comments

[issue13850] Summary tables for argparse add_argument options

2015-04-13 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Just updated this patch with x instead of the unicode character. -- nosy: +matrixise Added file: http://bugs.python.org/file38917/argparse-actions-matrix-v2 ___ Python tracker rep...@bugs.python.org http

[issue25475] use argparse instead of getopt

2015-10-25 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: it's not for the pleasure, but there are two api for the command line. getopt and argparse. so in this case, what's the reason to keep both ? in particular if the documentation of getopt has a note with an alternative. maybe to keep the backward

[issue25496] Default value for compresslevel is not documented

2015-10-28 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Hi Sworddragon, Where compresslevel is not mentioned in the doc ? Thank you -- nosy: +matrixise ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/i

[issue25499] use argparse for the calendar module

2015-10-28 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Why do you close it ? Ok, it's a duplicated issue, but the other issue is not closed. So, in that issue, there is no tests, maybe we can add some tests and re-submit a new patch. What do you think? -- ___ Python

[issue25485] Add a context manager to telnetlib.Telnet

2015-10-28 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: totally agree, I will work on this issue tomorrow -- ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/i

[issue25495] binascii documentation incorrect

2015-10-28 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Here is a patch with the submitted description. -- keywords: +patch nosy: +matrixise Added file: http://bugs.python.org/file40878/issue25495.patch ___ Python tracker <rep...@bugs.python.org> <http://bugs.p

[issue18973] Use argparse in the calendar module

2015-10-28 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Hi Serhiy, I just reviewed your patch, works fine with 3.6. -- nosy: +matrixise ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/i

[issue25485] Add a context manager to telnetlib.Telnet

2015-10-28 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Here is a small patch -- keywords: +patch nosy: +matrixise Added file: http://bugs.python.org/file40879/issue25485.patch ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/i

[issue25485] Add a context manager to telnetlib.Telnet

2015-10-28 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Maybe, modify the documentation or improve the current examples. -- ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/i

[issue25475] use argparse instead of getopt

2015-10-25 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: and optparse. In fact, we have getopt, optparse and argparse. 3 API for the command line. optparse is marked as deprecated. maybe we can add getopt in this list. -- ___ Python tracker <rep...@bugs.python.

[issue25475] use argparse instead of getopt

2015-10-25 Thread Stéphane Wirtel
New submission from Stéphane Wirtel: not sure, but in the documentation, there is a note "Module argparse: Alternative command line option and argument parsing library." may be it's time to move from getopt to argparse and mark getopt as deprecated. We have to modify 45 files, but I

[issue25485] Add a context manager to telnetlib.Telnet

2015-11-17 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Should I develop a mock telnet server for the unittest ? -- ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/i

[issue18973] Use argparse in the calendar module

2015-11-01 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Serhiy, welcome. -- ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue18973> ___ ___ Python-bugs-

[issue25485] Add a context manager to telnetlib.Telnet

2015-10-30 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: New version of the patch, I have modified the 'test' function. In this function, I use the with statement with the __enter__ and __exit__. -- Added file: http://bugs.python.org/file40902/issue25485-2.patch

[issue25543] locale.atof keep '.' even if not part of the localeconv

2015-11-03 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: @eric.smith maybe we can add a new strict function. -- nosy: +matrixise ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/i

[issue12300] Document pydoc.help

2015-11-03 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: What can we do for this issue ? -- nosy: +matrixise ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/i

[issue21243] Auto-generate exceptions.c from a Python file

2015-11-03 Thread Stéphane Wirtel
Changes by Stéphane Wirtel <steph...@wirtel.be>: -- versions: +Python 3.6 -Python 3.5 ___ Python tracker <rep...@bugs.python.org> <http://bugs.python

[issue25569] Memory leak in SSLSocket.getpeercert()

2015-11-07 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Hi alex, Thank you for your feeback, I will propose an other patch with your remarks. Stephane -- ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/i

[issue25579] def is not a keyword with tokenize.py

2015-11-07 Thread Stéphane Wirtel
New submission from Stéphane Wirtel: For tokenize.py, 'def' is not a keyword but just a simple identifier. >>> tokens = tokenize.generate_tokens(io.StringIO('async def foo(): >>> pass').readline) >>> pprint.pprint(list(tokens)) [TokenInfo(type=55 (ASYNC), string='a

[issue25569] Memory leak in SSLSocket.getpeercert()

2015-11-07 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: sorry for the delay. here is a new version of my patch, if I can have feedback about this patch, I will really appreciate. thank you -- Added file: http://bugs.python.org/file40976/issue25569-2.patch ___ Python

[issue25579] def is not a keyword with tokenize.py

2015-11-07 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: ?? -- ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue25579> ___ ___ Python-bugs-list mailing list

  1   2   3   4   5   >