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
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
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
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
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
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
Change by Manuel Reimer :
--
nosy: +M-Reimer
___
Python tracker
<https://bugs.python.org/issue46070>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Manuel Bärenz :
I've attached a script which demonstrates the bug.
When feeding a
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
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
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
Manuel Bärenz added the comment:
Great! Thank you!
--
___
Python tracker
<http://bugs.python.org/issue13711>
___
___
Python-bugs-list mailing list
Unsubscribe:
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:
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
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
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
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",
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
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
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
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.
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.
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.
Changes by Manuel Muradás <[EMAIL PROTECTED]>:
Removed file: http://bugs.python.org/file10695/rlcompleter2.6.diff
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.
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.
Changes by Manuel Muradás <[EMAIL PROTECTED]>:
Removed file: http://bugs.python.org/file10714/rlcompleterAndDoc2.6.diff
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.
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
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
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
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
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
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
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
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
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
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
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
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
Manuel Barkhau added the comment:
Is there anything I can do to help move this forward?
--
___
Python tracker
<https://bugs.python.org/issue39390>
___
___
Pytho
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
Change by Manuel Barkhau :
--
pull_requests: +17509
pull_request: https://github.com/python/cpython/pull/18122
___
Python tracker
<https://bugs.python.org/issue39
Change by Manuel Barkhau :
--
pull_requests: +17554
pull_request: https://github.com/python/cpython/pull/18168
___
Python tracker
<https://bugs.python.org/issue39
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.
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&
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
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."
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
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
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:/
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Change by Manuel Cerón :
--
nosy: +ceronman
___
Python tracker
<https://bugs.python.org/issue29446>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Manuel Cerón :
--
nosy: +ceronman
___
Python tracker
<https://bugs.python.org/issue25026>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Manuel Cerón :
--
nosy: +ceronman
___
Python tracker
<https://bugs.python.org/issue18299>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Manuel Cerón :
--
nosy: +ceronman
___
Python tracker
<https://bugs.python.org/issue21879>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Manuel Cerón :
--
nosy: +ceronman
___
Python tracker
<https://bugs.python.org/issue35360>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Manuel Cerón :
--
nosy: +ceronman
___
Python tracker
<https://bugs.python.org/issue23864>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Manuel Cerón :
--
nosy: +ceronman
___
Python tracker
<https://bugs.python.org/issue25737>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Manuel Cerón :
--
nosy: -ceronman
___
Python tracker
<https://bugs.python.org/issue21879>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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
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
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
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
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
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
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
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
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
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
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
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.
Changes by Manuel Krebber :
Removed file: http://bugs.python.org/file46428/slot-wrapper-types.patch
___
Python tracker
<http://bugs.python.org/issue26355>
___
___
Pytho
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
Manuel Krebber added the comment:
Sorry, I accidentally replied to the worng issue -.-
--
___
Python tracker
<http://bugs.python.org/issue26355>
___
___
Python-bug
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
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
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
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 - 100 of 146 matches
Mail list logo