[issue4089] linking python2.6.dll crash on windows xp

2008-10-09 Thread Manuel
New submission from Manuel <[EMAIL PROTECTED]>: On some machines, the application (makehuman, an open source software) crash, immediately, as soon the user try to double click on the exe. The problem happen with the version compiled using python 2.6, while the one compiled with 2.5 wor

[issue4089] linking python2.6.dll crash on windows xp

2008-10-09 Thread Manuel
Manuel <[EMAIL PROTECTED]> added the comment: gdb output from one of our users: warning: LDR: LdrpWalkImportDescriptor() failed to probe python26.dll for its manifest, ntstatus 0xc0150002 Program received signal SIGSEGV, Segmentation fault. P

[issue4089] linking python2.6.dll crash on windows xp

2008-10-10 Thread Manuel
Manuel <[EMAIL PROTECTED]> added the comment: We have fixed the problem installing this: http://www.microsoft.com/downloads/details.aspx?FamilyID=9B2DA534-3E03-4391-8A4D-074B9F2BC1BF&displaylang=en Anyway, before consider the bug solved, we need to test this solution on different

[issue4089] linking python2.6.dll crash on windows xp

2008-10-10 Thread Manuel
Manuel <[EMAIL PROTECTED]> added the comment: Yes. This bug can be closed. The use of python26.dll require last Microsoft Visual C++ 2008 Redistributable Package. ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue45523] Python3 ThreadingHTTPServer fails to send chunked encoded response

2021-10-19 Thread Manuel
New submission from Manuel : I'm implementing an HTTPServer class that produces a response with transfer-encoding chunked mode. I'm sending the chunks as described in https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Transfer-Encoding#chunked_encoding If I send chunks of l

[issue34321] mmap.mmap() should not necessarily clone the file descriptor

2018-08-02 Thread Manuel
New submission from Manuel : mmap.mmap(fileno, length, flags, prot, access, offset) always clones the file descriptor that should be used [1]. The cloning of the file descriptor seems to be done to ensure that the file cannot be closed behind mmap's back, but if you are mmap()'in

[issue46070] _PyImport_FixupExtensionObject() regression causing a crash in subintepreters

2021-12-30 Thread Manuel Reimer
Change by Manuel Reimer : -- nosy: +M-Reimer ___ Python tracker <https://bugs.python.org/issue46070> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue13711] html.parser.HTMLParser doesn't parse tags in comments in scripts correctly

2012-01-04 Thread Manuel Bärenz
New submission from Manuel Bärenz : I've attached a script which demonstrates the bug. When feeding a

[issue13711] html.parser.HTMLParser doesn't parse tags in comments in scripts correctly

2012-01-04 Thread Manuel Bärenz
Manuel Bärenz added the comment: I forgot to say, I'm using python version 3.2.2. -- ___ Python tracker <http://bugs.python.org/issue13711> ___ ___ Pytho

[issue13711] html.parser.HTMLParser doesn't parse tags in comments in scripts correctly

2012-01-04 Thread Manuel Bärenz
Manuel Bärenz added the comment: Oh, I wasn't aware of that. Then, the bug is actually calling handle_endtag. -- ___ Python tracker <http://bugs.python.org/is

[issue13711] html.parser.HTMLParser doesn't parse tags in comments in scripts correctly

2012-01-04 Thread Manuel Bärenz
Manuel Bärenz added the comment: To clarify this even further: Consider parser_instance.feed("<td></td>") It should call: parser_instance.handle_starttag("script", []) parser_instance.handle_data("") parser_instance.hand

[issue13711] html.parser.HTMLParser doesn't parse tags in comments in scripts correctly

2012-01-04 Thread Manuel Bärenz
Manuel Bärenz added the comment: Great! Thank you! -- ___ Python tracker <http://bugs.python.org/issue13711> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11982] json.loads() returns str instead of unicode for empty strings

2011-05-02 Thread Manuel Cerón
New submission from Manuel Cerón : Python 2.7.1: >>> import json >>> json.loads('"hello"') u'hello' >>> .json.loads('""') '' Related: issue 10038 -- components: Library (Lib) messages: 135014 nosy:

[issue11146] Add a feature similar to C++ "using some_namespace"

2011-02-07 Thread Manuel Bärenz
New submission from Manuel Bärenz : In C++, the the approach to the namespace problem is having different namespaces that should not contain different definitions of the same name. Members of a namespace can be accessed explicitly by e.g. calling "std::cout << etc." or &quo

[issue2888] pprint produces different output in 2.6 and 3.0

2008-05-23 Thread Manuel Kaufmann
Manuel Kaufmann <[EMAIL PROTECTED]> added the comment: If the correct way is the first option, we can use this patch to solve that error. I attached diff file. I use Lib/test/test_pprint.py to ensure that's works. -- keywords: +patch nosy: +humitos Added file: http://bugs

[issue2888] pprint produces different output in 2.6 and 3.0

2008-05-29 Thread Manuel Kaufmann
Manuel Kaufmann <[EMAIL PROTECTED]> added the comment: Documentation fix. Added file: http://bugs.python.org/file10464/pprint.rst.diff ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue2834] re.IGNORECASE not Unicode-ready

2008-06-01 Thread Manuel Kaufmann
Manuel Kaufmann <[EMAIL PROTECTED]> added the comment: I have the same error with the re.LOCALE flag... [humitos] [~]$ python3.0 Python 3.0a5+ (py3k:63855, Jun 1 2008, 13:05:09) [GCC 4.1.3 20080114 (prerelease) (Debian 4.1.2-19)] on linux2 Type "help", "copyright",

[issue3085] chapter 17.1.3.5 'Replacing os.popen*' in the Python library reference contains an error

2008-06-21 Thread Manuel Kaufmann
Manuel Kaufmann <[EMAIL PROTECTED]> added the comment: I fixed this error, I attach the patch. -- keywords: +patch nosy: +humitos Added file: http://bugs.python.org/file10681/libsubprocess.diff ___ Python tracker <[EMAIL PROTECTE

[issue1044479] docs for Py_UNICODE are wrong

2008-06-21 Thread Manuel Muradás
Manuel Muradás <[EMAIL PROTECTED]> added the comment: This looks fixed to me. The current documentation is much more clear. Look: http://docs.python.org/api/unicodeObjects.html -- nosy: +dieresys ___ Python tracker <[EMAIL PROTECTE

[issue1044479] docs for Py_UNICODE are wrong

2008-06-21 Thread Manuel Muradás
Manuel Muradás <[EMAIL PROTECTED]> added the comment: This is the link to the current py_unicode documentation: http://docs.python.org/dev/c-api/unicode.html ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.o

[issue449227] rlcompleter add "(" to callables feature

2008-06-21 Thread Manuel Muradás
Manuel Muradás <[EMAIL PROTECTED]> added the comment: Here is a new patch against 2.6. -- nosy: +dieresys Added file: http://bugs.python.org/file10695/rlcompleter2.6.diff ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.

[issue3085] chapter 17.1.3.5 'Replacing os.popen*' in the Python library reference contains an error

2008-06-22 Thread Manuel Kaufmann
Manuel Kaufmann <[EMAIL PROTECTED]> added the comment: This bug was reported on Python 2.5 version and was applied on 2.6 branch. That's correct? ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.

[issue449227] rlcompleter add "(" to callables feature

2008-06-23 Thread Manuel Muradás
Manuel Muradás <[EMAIL PROTECTED]> added the comment: I have also updated the rlcompleter documentation. Here is the complete patch. rlcompleterAndDoc2.6.diff -- nosy: +facundobatista Added file: http://bugs.python.org/file10714/rlcompleterAndDoc2.

[issue449227] rlcompleter add "(" to callables feature

2008-06-23 Thread Manuel Muradás
Changes by Manuel Muradás <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file10695/rlcompleter2.6.diff ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.

[issue449227] rlcompleter add "(" to callables feature

2008-06-24 Thread Manuel Muradás
Manuel Muradás <[EMAIL PROTECTED]> added the comment: Guilherme, Thanks a lot for taking some time to review my patch. Here is a new version. Please take another look and tell me what do you think about it. Thanks again Added file: http://bugs.python.org/file10721/rlcompleter2.

[issue449227] rlcompleter add "(" to callables feature

2008-06-24 Thread Manuel Muradás
Changes by Manuel Muradás <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file10714/rlcompleterAndDoc2.6.diff ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.

[issue3396] rlcompleter can't autocomplete members of callable objects

2008-07-17 Thread Manuel Muradás
Manuel Muradás <[EMAIL PROTECTED]> added the comment: Oops, you are right. If that is the way we should handle this regression, I could upload a patch. I also thought we could use "hasattr", but that means using "getattr" twice. Something like: if word[:n] == attr and

[issue2202] urllib2 fails against IIS 6.0 (No support for MD5-sess auth)

2010-01-21 Thread Manuel Muradás
Manuel Muradás added the comment: Here is a patch for supporting MD5-sess, following RFC2617 specification. Some comments/warnings: * I've only tested the patch against IIS 6.0. I don't know about other servers supporting MD5-sess. * IIS 6.0 expects the User Agent to send the U

[issue7752] Add support for Digest authentication session (reuse nonces)

2010-01-21 Thread Manuel Muradás
New submission from Manuel Muradás : Description: As described in issue [2202], for each request we make, we get a new [401|407] message with a new nonce (depending if we're talking about a proxy with digest authentication or a web server). Then we generate another authenticated re

[issue1781] ConfigParser: add_section('DEFAULT') causes duplicate sections.

2008-02-23 Thread Manuel Kaufmann
Manuel Kaufmann added the comment: I tested the patch and works very well. I modified "Misc/NEWS" file beacuse the change wasn't reported and I uploaded diff file (NEWS.diff). -- nosy: +humitos Added file: http://bugs.python.org/fil

[issue1746071] class mutex doesn't do anything atomically

2008-02-23 Thread Manuel Kaufmann
Manuel Kaufmann added the comment: I tested the patch and I found an error. It was missing a line "if call:" in the unlock function. I added it, and tested again with the ex.py example and it didn't found any threads locked at the same time. -- nosy: +humitos A

[issue2729] Link error in What's New in Python 2.6

2008-04-30 Thread Manuel Kaufmann
New submission from Manuel Kaufmann <[EMAIL PROTECTED]>: I found a link error in section "What's New in Python 2.6" to Trac project. I attach the patch file -- assignee: georg.brandl components: Documentation files: patch.diff keywords: patch messages: 660

[issue2757] Little error in unittest documentation

2008-05-04 Thread Manuel Kaufmann
New submission from Manuel Kaufmann <[EMAIL PROTECTED]>: I found a more Enter -- assignee: georg.brandl components: Documentation files: unittest.diff keywords: patch messages: 66214 nosy: georg.brandl, humitos severity: normal status: open title: Little error in unittest documen

[issue5158] Document distutils 'depends' option for extensions

2009-02-05 Thread Manuel Balsera
New submission from Manuel Balsera : Add a paragraph describing distuils depends option. Its my first patch, let me know if I messed up formmating, etc. -- components: Distutils files: setupscript.diff keywords: patch messages: 81217 nosy: mbalsera severity: normal status: open title

[issue39390] shutil.copytree - ignore callback behaviour change

2020-01-19 Thread Manuel Barkhau
New submission from Manuel Barkhau : In Python 3.8, the types of the parameters to the ignore callable appear to have changed. Previously the `src` parameter was a string and the `names` parameter was a list of strings. Now the `src` parameter appears to be either a `pathlib.Path` or an

[issue39390] shutil.copytree - 3.8 changed argument types of the ignore callback

2020-01-19 Thread Manuel Barkhau
Change by Manuel Barkhau : -- title: shutil.copytree - ignore callback behaviour change -> shutil.copytree - 3.8 changed argument types of the ignore callback ___ Python tracker <https://bugs.python.org/issu

[issue39390] shutil.copytree - 3.8 changed argument types of the ignore callback

2020-01-19 Thread Manuel Barkhau
Change by Manuel Barkhau : -- keywords: +patch pull_requests: +17462 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18069 ___ Python tracker <https://bugs.python.org/issu

[issue39390] shutil.copytree - 3.8 changed argument types of the ignore callback

2020-01-20 Thread Manuel Barkhau
Manuel Barkhau added the comment: > This looks like a backward incompatible change in 3.8. Indeed. > Should not copytree convert arguments of the ignore callback to str and list > correspondingly? Well, since any existing code probably expects that behavior (or at least probably

[issue39390] shutil.copytree - 3.8 changed argument types of the ignore callback

2020-01-21 Thread Manuel Barkhau
Manuel Barkhau added the comment: Is there anything I can do to help move this forward? -- ___ Python tracker <https://bugs.python.org/issue39390> ___ ___ Pytho

[issue39390] shutil.copytree - 3.8 changed argument types of the ignore callback

2020-01-21 Thread Manuel Barkhau
Manuel Barkhau added the comment: Unless somebody else wants to, I could have a go at an PR to update shutil.py -- ___ Python tracker <https://bugs.python.org/issue39

[issue39390] shutil.copytree - 3.8 changed argument types of the ignore callback

2020-01-22 Thread Manuel Barkhau
Change by Manuel Barkhau : -- pull_requests: +17509 pull_request: https://github.com/python/cpython/pull/18122 ___ Python tracker <https://bugs.python.org/issue39

[issue39390] shutil.copytree - 3.8 changed argument types of the ignore callback

2020-01-24 Thread Manuel Barkhau
Change by Manuel Barkhau : -- pull_requests: +17554 pull_request: https://github.com/python/cpython/pull/18168 ___ Python tracker <https://bugs.python.org/issue39

[issue39390] shutil.copytree - 3.8 changed argument types of the ignore callback

2020-01-24 Thread Manuel Barkhau
Manuel Barkhau added the comment: > For completeness, a similar problem is present also on python < 3.8 Fair point. I'll have a look. -- ___ Python tracker <https://bugs.python.

[issue39390] shutil.copytree - 3.8 changed argument types of the ignore callback

2020-01-24 Thread Manuel Barkhau
Manuel Barkhau added the comment: > If you pass a string, you will get a string, so existing code will continue > to work as before. Somebody might have code that is running against a flat directory and have written their ignore function expecting to get a pathlib.Path, because that&

[issue40457] Python fails to compile/load _ssl module if OpenSSL is compiled with no-tls1-method

2020-05-31 Thread Manuel Jacob
Manuel Jacob added the comment: For the record, I’ve added a comment to the pull request about that ssl.PROTOCOL_TLSv1_1 / ssl.PROTOCOL_TLSv1_2 are now defined unconditionally. https://github.com/python/cpython/commit/6e8cda91d92da72800d891b2fc2073ecbc134d98#r39569316 -- nosy

[issue40868] io.TextIOBase.buffer is not necessarily a buffer

2020-06-04 Thread Manuel Jacob
New submission from Manuel Jacob : https://docs.python.org/dev/library/io.html#io.TextIOBase.buffer says: "The underlying binary buffer (a BufferedIOBase instance) that TextIOBase deals with. This is not part of the TextIOBase API and may not exist in some implementations."

[issue39229] library/functions.rst causes translated builds to fail

2020-06-14 Thread Manuel Kaufmann
Manuel Kaufmann added the comment: We are having a similar issue in python-docs-es translation. cpython/Doc/library/ctypes.rst:: WARNING: inconsistent term references in translated message. original: [], translated: [':ref:`evento de auditoría `'] https://travis-ci.org/github/pyt

[issue40983] Can’t configure encoding used by urllib.request.url2pathname()

2020-06-15 Thread Manuel Jacob
New submission from Manuel Jacob : On Python 2, it was possible to recover a percent-encoded byte: >>> from urllib import url2pathname >>> url2pathname('%ff') '\xff' On Python 3, the byte is decoded using the utf-8 encoding and the "replace" er

[issue40983] urllib.request.url2pathname() unconditionally uses utf-8 encoding and "replace" error handler

2020-06-16 Thread Manuel Jacob
Change by Manuel Jacob : -- title: Can’t configure encoding used by urllib.request.url2pathname() -> urllib.request.url2pathname() unconditionally uses utf-8 encoding and "replace" error handler ___ Python tracker <https:/

[issue40996] urllib should fsdecode percent-encoded parts of file URIs on Unix

2020-06-16 Thread Manuel Jacob
New submission from Manuel Jacob : On Unix, file names are bytes. Python mostly prefers to use unicode for file names. On the Python <-> system boundary, os.fsencode() / os.fsdecode() are used. In URIs, bytes can be percent-encoded. On Unix, most applications pass the percent-decoded

[issue40983] urllib.request.url2pathname() unconditionally uses utf-8 encoding and "replace" error handler

2020-06-16 Thread Manuel Jacob
Manuel Jacob added the comment: I’ve created issue40996, which suggests that urllib should fsdecode percent-encoded parts of file URIs on Unix. Since the two tickets are very related and I’d prefer if the issue was solved more generally for the whole module, I close this as a duplicate

[issue17110] sys.argv docs should explaining how to handle encoding issues

2020-06-17 Thread Manuel Jacob
Manuel Jacob added the comment: The actual startup code uses Py_DecodeLocale() for converting argv from bytes to unicode. Since which Python version is it guaranteed that Py_DecodeLocale() and os.fsencode() roundtrip? -- nosy: +mjacob ___ Python

[issue41012] Some code comments refer to removed initfsencoding()

2020-06-17 Thread Manuel Jacob
New submission from Manuel Jacob : Some code comments refer to initfsencoding(), which was however removed after Python 3.7. -- messages: 371779 nosy: mjacob priority: normal severity: normal status: open title: Some code comments refer to removed initfsencoding

[issue17110] sys.argv docs should explaining how to handle encoding issues

2020-06-18 Thread Manuel Jacob
Manuel Jacob added the comment: If the encoding supports it, since which Python version do Py_DecodeLocale() and os.fsencode() roundtrip? The background of my question is that Mercurial goes some extra rounds to determine the correct encoding to emulate what Py_EncodeLocale() would do

[issue41051] Flush file after warning is written

2020-06-20 Thread Manuel Jacob
New submission from Manuel Jacob : Calling warnings.warn() will write to a file, but not flush it. On Python 3.9+, it won’t usually be a problem because the file is most likely stderr, which is always line-buffered. However, on older Python versions or if a different file is used, the current

[issue41051] Flush file after warning is written

2020-06-20 Thread Manuel Jacob
Change by Manuel Jacob : -- keywords: +patch pull_requests: +20175 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21000 ___ Python tracker <https://bugs.python.org/issu

[issue41091] Remove recommendation in curses module documentation to initialize LC_ALL and encode strings

2020-06-23 Thread Manuel Jacob
New submission from Manuel Jacob : The documentation for the curses module (https://docs.python.org/3.9/library/curses.html) has the following note: > Since version 5.4, the ncurses library decides how to interpret non-ASCII > data using the nl_langinfo function. That means that you h

[issue41091] Remove recommendation in curses module documentation to initialize LC_ALL and encode strings

2020-06-25 Thread Manuel Jacob
Change by Manuel Jacob : -- keywords: +patch pull_requests: +20319 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21159 ___ Python tracker <https://bugs.python.org/issu

[issue41221] Output of print() might get truncated in unbuffered mode

2020-07-06 Thread Manuel Jacob
New submission from Manuel Jacob : Without unbuffered mode, it works as expected: % python -c "import sys; sys.stdout.write('x'*4294967296)" | wc -c 4294967296 % python -c "import sys; print('x'*4294967296)" | wc -c 4294967297 With unbuffered

[issue41221] Output of print() might get truncated in unbuffered mode

2020-07-06 Thread Manuel Jacob
Manuel Jacob added the comment: 2147479552 is the 0x7000 bytes limit documented for write() on Linux (source: https://man7.org/linux/man-pages/man2/write.2.html). The limit could be even smaller in other circumstances or other systems. I’m adding Victor Stinner to the nosy list, as he

[issue41221] Output of print() might get truncated in unbuffered mode

2020-07-06 Thread Manuel Jacob
Manuel Jacob added the comment: `io.TextIOWrapper.write()` returns the length of the passed string instead of the actually written number of characters. % python -u -c "import sys; print(sys.stdout.write('x'*4294967296), file=sys.stderr)" | wc -c 4294967296 2147479552

[issue41221] Output of print() might get truncated in unbuffered mode

2020-07-06 Thread Manuel Jacob
Manuel Jacob added the comment: It’s possible to trigger the problem on Unix with much smaller sizes, e.g. by interrupting the write() with a signal handler (even if the signal handler doesn’t do anything). The following script starts a subprocess doing a 16MiB write and sends a signal

[issue33660] pathlib.Path.resolve() returns path with double slash when resolving a relative path in root directory

2020-08-26 Thread Manuel Barkhau
Change by Manuel Barkhau : -- nosy: +mbarkhau nosy_count: 6.0 -> 7.0 pull_requests: +21079 pull_request: https://github.com/python/cpython/pull/21971 ___ Python tracker <https://bugs.python.org/issu

[issue33660] pathlib.Path.resolve() returns path with double slash when resolving a relative path in root directory

2020-08-26 Thread Manuel Barkhau
Manuel Barkhau added the comment: This issue cropped up recently in the black project: https://github.com/psf/black/issues/1631 It appears to me that PR 7666 was closed without being merged. I created https://github.com/python/cpython/pull/21971 before I had found this issue

[issue41631] _ast module: get_global_ast_state() doesn't work with Mercurial lazy import

2020-09-08 Thread Manuel Jacob
Manuel Jacob added the comment: I couldn’t reproduce the problem with a freshly compiled Python 3.9.0rc1 on Arch Linux. Was this ever reproduced on a non-Red Hat system? -- nosy: +mjacob ___ Python tracker <https://bugs.python.org/issue41

[issue41631] _ast module: get_global_ast_state() doesn't work with Mercurial lazy import

2020-09-08 Thread Manuel Jacob
Manuel Jacob added the comment: I was running "make all" and I also ran the documentation generator command without an error. However, I tried it again and now it failed the same way as reported. With a debug build, I get "Python/Python-ast.c:231: get_ast_state: Assertion

[issue31113] Stack overflow with large program

2017-08-03 Thread Manuel Krebber
New submission from Manuel Krebber: With a pattern matching library I am generating some Python code that matches patterns. For a very big pattern set I generate a Python file which is about 20MB and has ~300K LOC. When I try to execute the file with Python 3.6.2 on Windows 10 (64bit), the

[issue31113] Stack overflow with large program

2017-08-03 Thread Manuel Krebber
Manuel Krebber added the comment: 1) Yes. 2) A .pyc file was not generated. 3) It is always the same location where the error occurs. 4) It did not crash on the linux machine that I tested it on. I have tried to split the code up into multiple files, but it still crashes. I have uploaded the

[issue31113] Stack overflow with large program

2017-08-04 Thread Manuel Krebber
Manuel Krebber added the comment: I have already tried to reduce the nesting, but it still crashes. I have to admit that ~20 levels of nesting are still quite a lot. But I am surprised that so few levels of nesting already are a problem for the parser... I have attached the generated code

[issue31113] Stack overflow with large program

2017-08-06 Thread Manuel Krebber
Manuel Krebber added the comment: @Serhiy That would require me to compile Python myself though, right? Is there a reason why the limit is only for try/for and not for if? @Antoine Well, the goal is to be able to generate Python 2 compatible code . I will try to split the code into more

[issue29830] pyexpat.errors doesn't have __spec__ and __loader__ set

2017-03-16 Thread Manuel Jacob
New submission from Manuel Jacob: The same applies to pyexpat.model. It seems like pyexpat is the only builtin module which has submodules (errors, model). Normally, as I understand it, the module gets imported given a spec and the import machinery ensures that this spec ends up in the

[issue29830] pyexpat.errors doesn't have __spec__ and __loader__ set

2017-03-17 Thread Manuel Jacob
Manuel Jacob added the comment: You're of course right that pyexpat is an extension module and not a builtin module. I was confused because on PyPy it's a builtin module. But the same question applies for ExtensionFileLoader.is_package(). It returns False in the case of pyex

[issue29446] Improve tkinter 'import *' situation

2019-02-24 Thread Manuel Cerón
Change by Manuel Cerón : -- nosy: +ceronman ___ Python tracker <https://bugs.python.org/issue29446> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue25026] (FreeBSD/OSX) Fix fcntl module to accept 'unsigned long' type commands for ioctl(2).

2019-02-24 Thread Manuel Cerón
Change by Manuel Cerón : -- nosy: +ceronman ___ Python tracker <https://bugs.python.org/issue25026> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18299] Change script_helper to use universal_newlines=True in _assert_python

2019-02-24 Thread Manuel Cerón
Change by Manuel Cerón : -- nosy: +ceronman ___ Python tracker <https://bugs.python.org/issue18299> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21879] str.format() gives poor diagnostic on placeholder mismatch

2019-02-24 Thread Manuel Cerón
Change by Manuel Cerón : -- nosy: +ceronman ___ Python tracker <https://bugs.python.org/issue21879> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35360] Update SQLite to 3.26 in Windows and macOS installer builds

2019-02-27 Thread Manuel Cerón
Change by Manuel Cerón : -- nosy: +ceronman ___ Python tracker <https://bugs.python.org/issue35360> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue23864] issubclass without registration only works for "one-trick pony" collections ABCs.

2019-02-27 Thread Manuel Cerón
Change by Manuel Cerón : -- nosy: +ceronman ___ Python tracker <https://bugs.python.org/issue23864> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue25737] array is not a Sequence

2019-02-27 Thread Manuel Cerón
Change by Manuel Cerón : -- nosy: +ceronman ___ Python tracker <https://bugs.python.org/issue25737> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21879] str.format() gives poor diagnostic on placeholder mismatch

2019-03-04 Thread Manuel Cerón
Change by Manuel Cerón : -- nosy: -ceronman ___ Python tracker <https://bugs.python.org/issue21879> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue5831] Doc mistake : threading.Timer is *not* a class

2009-09-04 Thread Manuel Kaufmann
Manuel Kaufmann added the comment: I deleted this function and I renamed the class _Timer to Timer. I attached the patch -- keywords: +patch nosy: +humitos Added file: http://bugs.python.org/file14831/threading.Issue.5831.patch ___ Python tracker

[issue7570] Error in urllib2 example

2009-12-23 Thread Manuel Muradás
New submission from Manuel Muradás : We've found an error in an urllib2 example with Proxy Basic authentication. This is the example with the error: {{{ This example replaces the default ProxyHandler with one that uses programmatically-supplied proxy URLs, and adds proxy authorization su

[issue7291] urllib2 cannot handle https with proxy requiring auth

2009-12-23 Thread Manuel Muradás
Manuel Muradás added the comment: Hi! 2.6 backport is missing an argument in _set_tunnel definition. It should be: def _set_tunnel(self, host, port=None, headers=None): -- nosy: +dieresys ___ Python tracker <http://bugs.python.org/issue7

[issue7291] urllib2 cannot handle https with proxy requiring auth

2009-12-23 Thread Manuel Muradás
Manuel Muradás added the comment: The patch fixes only when you pass the authentication info in the proxy handler's URL. Like: proxy_handler = urllib2.ProxyHandler({'https': 'http://user:p...@proxy-example.com:3128/'}) But setting the authentication using a Proxy

[issue5421] Irritating error message by socket's sendto method

2009-03-05 Thread Manuel Hermann
New submission from Manuel Hermann : When sending unexpected data via a socket's sentdo method, a TypeError is raised with the fallowing message: "sendto() takes exactly 3 arguments (2 given)". But two arguments are sufficient. Examples for Python 2.x: import socket my_socket

[issue5435] test_httpservers on Debian Testing

2009-03-23 Thread Manuel Kaufmann
Manuel Kaufmann added the comment: I downloaded py3k branch and ran the tests with a regular user. All test pass OK. SVN Revision: 70469 -- nosy: +humitos Added file: http://bugs.python.org/file13400/httpservers_test ___ Python tracker <h

[issue5435] test_httpservers on Debian Testing

2009-03-23 Thread Manuel Kaufmann
Manuel Kaufmann added the comment: I think it isn't a problem / bug, rather than it's a protection method to don't execute this test or cgi stuff with root user. In the middle, it change a userid to 'nobody', then if you are logged in as root, it can change the useri

[issue29377] Add the 'wrapper_descriptor' type to the types module

2017-01-26 Thread Manuel Krebber
New submission from Manuel Krebber: There currently is no type in the types module for the slot wrappers/wrapper_descriptor types. I would like to have something like WrapperDescriptor = type(object.__init__) added to it (or maybe even add it to MethodType). This would be helpful to

[issue29377] Add the 'wrapper_descriptor' type to the types module

2017-01-26 Thread Manuel Krebber
Changes by Manuel Krebber : -- keywords: +patch Added file: http://bugs.python.org/file46420/0001-Added-SlotWrapperType-and-MethodWrapperType-to-the-t.patch ___ Python tracker <http://bugs.python.org/issue29

[issue29377] Add the 'wrapper_descriptor' type to the types module

2017-01-26 Thread Manuel Krebber
Manuel Krebber added the comment: I would suggest the names SlotWrapperType and MethodWrapperType because I think they match their string representations the closest. For checking whether something is a method/function one could also use inspect.isroutine (or inspect.ismethoddescriptor), but

[issue29377] Add the 'wrapper_descriptor' type to the types module

2017-01-26 Thread Manuel Krebber
Manuel Krebber added the comment: I added some docs, but I am not sure what I would want to test here. There are no tests for types.BuiltinMethodType either. Maybe the string representation of it could be tested, but an isinstance test seems pretty redundant. I hope this patch file works

[issue29377] Add the 'wrapper_descriptor' type to the types module

2017-01-26 Thread Manuel Krebber
Manuel Krebber added the comment: Alright, I added some tests and tried it again with the patch. -- Added file: http://bugs.python.org/file46427/slot-wrapper-types.patch ___ Python tracker <http://bugs.python.org/issue29

[issue26355] Emit major version based canonical URLs for docs

2017-01-27 Thread Manuel Krebber
Manuel Krebber added the comment: I create the last diff without creating a commit, so maybe this one works better. -- nosy: +Wheerd Added file: http://bugs.python.org/file46428/slot-wrapper-types.patch ___ Python tracker <http://bugs.python.

[issue26355] Emit major version based canonical URLs for docs

2017-01-27 Thread Manuel Krebber
Changes by Manuel Krebber : Removed file: http://bugs.python.org/file46428/slot-wrapper-types.patch ___ Python tracker <http://bugs.python.org/issue26355> ___ ___ Pytho

[issue29377] Add the 'wrapper_descriptor' type to the types module

2017-01-27 Thread Manuel Krebber
Manuel Krebber added the comment: I created the last patch without commiting, so maybe this one will work properly with the revision tool. -- Added file: http://bugs.python.org/file46429/slot-wrapper-types.patch ___ Python tracker <h

[issue26355] Emit major version based canonical URLs for docs

2017-01-27 Thread Manuel Krebber
Manuel Krebber added the comment: Sorry, I accidentally replied to the worng issue -.- -- ___ Python tracker <http://bugs.python.org/issue26355> ___ ___ Python-bug

[issue29377] Add the 'wrapper_descriptor' type to the types module

2017-01-30 Thread Manuel Krebber
Manuel Krebber added the comment: Okay, I added MethodDescriptorType to the types module and updated the docs. Hope this is okay now. -- Added file: http://bugs.python.org/file46455/slot-wrapper-types.patch ___ Python tracker <h

[issue29377] Add the 'wrapper_descriptor' type to the types module

2017-02-01 Thread Manuel Krebber
Manuel Krebber added the comment: One question I was wondering about is whether those types should be checked by inspect.isroutine() as well. -- ___ Python tracker <http://bugs.python.org/issue29

[issue29418] inspect.isroutine does not return True for some bound builtin methods

2017-02-02 Thread Manuel Krebber
New submission from Manuel Krebber: Some of the builtin methods are not recognized as such by inspect.isroutine(). inspect.ismethoddescriptor() only returns True for the unbound versions of the methods but not the bound ones. For example: >>> inspect.isroutine(object.__st

[issue27393] Command to activate venv in Windows has wrong path

2016-06-26 Thread Manuel Kaufmann
New submission from Manuel Kaufmann: The `venv` module has a bug in the command to activate it on Windows. In 3.3 and 3.4 the bar used is wrong: `/` instead `\` * https://docs.python.org/3.4/library/venv.html#creating-virtual-environments * https://docs.python.org/3.3/library/venv.html

  1   2   >