Jan Lieskovsky added the comment:
CVE request:
[2] http://www.openwall.com/lists/oss-security/2012/02/13/3
--
___
Python tracker
<http://bugs.python.org/issue14
Jan Lieskovsky added the comment:
The CVE identifier of CVE-2012-0845 has been assigned to this issue:
[3] http://www.openwall.com/lists/oss-security/2012/02/13/4
--
title: Python v2.7.2 / v3.2.2 (SimpleXMLRPCServer): DoS (excessive CPU usage)
by processing malformed XMLRPC / HTTP
Jan Kratochvil added the comment:
What more can be done to get it fixed? I do not mind Python but GDB linking is
broken due to it. And while I can workaround it in GDB I am not used for
workarounding one Free package in another Free package. Free software has the
advantage problems can be
Jan Kratochvil added the comment:
There was a bug for non-shared build of Python, thanks.
This patch is an improvement on its but it is not yet complete.
One should also replace "-Xlinker -export-dynamic" by "-Wl,--dynamic-list" so
that linking application with li
Changes by Jan Kratochvil :
Removed file: http://bugs.python.org/file24221/hidden.patch
___
Python tracker
<http://bugs.python.org/issue10112>
___
___
Python-bugs-list m
New submission from Jan Stürtz :
AIX 5.2.0.0 with gcc 4.3.0:
Compiling a shared python:
with:
./configure --enable-shared --with-gcc --disable-ipv6 --with-system-ffi
make; make install
results in a working build.
But when I build mod_wsgi into apache with this python and run it I get the
Jan Stürtz added the comment:
Created a patch to fix the configure script, to get the "right" python.exp File.
--
keywords: +patch
Added file: http://bugs.python.org/file24678/Python-2.7.2-configure.aix.patch
___
Python trac
New submission from Jan Hnatek:
The doc for PyModule_New() refers to "PyImport_NewObject()", while it should
refer to "PyModule_NewObject()":
https://docs.python.org/3.6/c-api/module.html#c.PyModule_New
--
assignee: docs@python
components: Documentation
message
Changes by jan matejek :
--
pull_requests: +3682
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue1294959>
___
___
Python-bugs-list mai
Changes by Jan Gosmann :
--
nosy: +jgosmann
___
Python tracker
<http://bugs.python.org/issue29949>
___
___
Python-bugs-list mailing list
Unsubscribe:
Jan Hnatek added the comment:
There's a patch for xdrlib documentation in Issue9544. Would that solve this
issue?
--
nosy: +hnhn
___
Python tracker
<http://bugs.python.org/is
Changes by Jan Hnatek :
--
nosy: +hnhn
___
Python tracker
<http://bugs.python.org/issue9544>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.pyth
Jan Hnatek added the comment:
Attached an updated patch against 3.7 fixing the remaining mentions of string.
--
Added file: http://bugs.python.org/file46914/issue9544.2.patch
___
Python tracker
<http://bugs.python.org/issue9
New submission from Jan Seeger :
I'm working with aiocoap, which uses the AI_V4MAPPED flag to use IPv4-mapped
addresses for dual-stack support. When trying to run on Windows, creating a
connection fails, because the socket option IPV6_V6ONLY is set to true per
default on Windows, wherea
Jan Seeger added the comment:
The intention for V4MAPPED is to allow "single-stack" usage of V4 and V6
addresses (or am I misunderstanding the purpose of the V4MAPPED socket option
here?). The application only handles V6 addresses, and the system transparently
converts from mapped
Jan Vlcinsky added the comment:
The fix shall go to
https://github.com/python/cpython/blob/2812d3d99287c50bab99625d7240bcf1c2e32369/Lib/distutils/dist.py#L406
where `parser.read(filename)`
shall be changed to `parser.read(filename, encoding="utf-8")`
This assumes that the setup.cf
Jan Vlcinsky added the comment:
I found proposed change very handy (came here researching why it is not
behaving that way).
Taking into account:
- Python shines in handling lists, using generators and iterators
- Largest group of python developers develop web apps, and there it is typical
Change by Jan Gosmann :
--
nosy: +jgosmann
___
Python tracker
<https://bugs.python.org/issue29515>
___
___
Python-bugs-list mailing list
Unsubscribe:
Jan Lachnitt added the comment:
@eryksun: Sorry for my late reply, apparently I did not have time to reply in
2017. I see your point, but still I think that Python is conceptually
multi-platform, so its behavior on Linux and Windows should be as much
consistent as possible.
I am not the
Jan Lachnitt added the comment:
Nobody responds yet, so I will.
I think that the basic proposal was made by Chris Jerdonek in msg171692 already
on 2012-10-01: First document both behaviors and then discuss the possible
harmonization. I think the proposal was good and further discussion has
Jan Lachnitt added the comment:
A related issue exists with cwd: #15533.
--
nosy: +pepalogik
___
Python tracker
<https://bugs.python.org/issue8557>
___
___
Pytho
New submission from Jan Švec :
re.sub() is behaving incorrectly, if re.IGNORECASE is used. Tested on 2.7, 3.4
and 3.6. The code follows:
import re
def subst(text):
text = re.sub(r"\bnine\b", "niner", text, re.IGNORECASE)
return text
print(subst("nine nine nine
Jan Švec added the comment:
Not a bug, it assigns the value of re.IGNORECASE into the count parameter. Sorry
--
resolution: -> not a bug
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
New submission from Jan Christoph :
The python code:
```
class _tri(object):
infts = '(+/-)inf, (+/-)infty, (+/-)infinity'
strange_failing = {x+s.replace('(+/-)',''):None for x in ('+','-','') for s
in infts.split('
Jan Christoph added the comment:
But the simpler dictionary compprehension `{s.replace('(+/-)',''):None for s in
infts.split(', ')}` works perfectly. Shouldn't that also give the error if it
was a scope issue?
--
___
Jan Christoph added the comment:
Okay, so we're a in another scope inside the dictionary comprehension (all
comprehensions for that matter), and only one symbol is passed to the inside.
That's why `strange_reversed_working = {x+s.replace('(+/-)',''):None for x
Jan Christoph added the comment:
Updated example with reversed variable order for reference. This really seems
to be related to issue3692, but really not the same thing.
IMHO both `a` and `b` should be passed in a situation like this:
a = range(5)
b = range(3)
c = [x+y for x in a for y
New submission from Jan Novak :
There are some old tickets about changing splitext() in 2007:
https://bugs.python.org/issue1115886
https://bugs.python.org/issue1681842
Present python documentation:
Leading periods on the basename are ignored; splitext('.cshrc') returns
('.cshrc
New submission from Jan Hermann :
inspect.getclosurevars() omits globals or nonlocals that are bound within
comprehensions:
22:50 ~ python3
Python 3.7.0 (default, Aug 17 2018, 21:14:48)
[Clang 9.1.0 (clang-902.0.39.2)] on darwin
Type "help", "copyright", "credi
Jan Hermann added the comment:
Ok, that’s fair. But then the inspect module currently doesn’t provide tools to
the user to construct the recursive identification without duplicating code
already in stdlib. For that, one would need to refactor getclosurevars() to two
parts: getcode() and
Jan Novak added the comment:
Yes, dot behaviour is well documented.
But splitext() is a function to split name and extension, not take care about
hidden files.
Hidden files starting with dot is Unix like system feature.
https://en.wikipedia.org/wiki/Hidden_file_and_hidden_directory
Hidden
Changes by Jan Kanis :
--
components: +Demos and Tools
type: -> behavior
___
Python tracker
<http://bugs.python.org/issue18132>
___
___
Python-bugs-list mai
New submission from Jan Kanis:
If the window of the turtledemo is small enough, the start/stop/clear buttons
disappear. This is specifically a problem when running on a netbook with a
small screen, because the buttons are never shown. For a newcommer checking out
the demo app this could be
Jan Kanis added the comment:
I've created a patch, replacing the packed layout by a gridded layout
--
hgrepos: +195
___
Python tracker
<http://bugs.python.org/is
Changes by Jan Kanis :
--
keywords: +patch
Added file: http://bugs.python.org/file30469/7cdaf0223e67.diff
___
Python tracker
<http://bugs.python.org/issue18
New submission from Jan Kanis:
While fixing #18132 I noticed that when closing the turtledemo window an
exception is thrown (and ignored) because the __del__ tries to catch a TclError
exception, but the TclError global has already been deleted and set to None.
I could only reproduce this in
Jan Kanis added the comment:
added a fix
--
hgrepos: +196
___
Python tracker
<http://bugs.python.org/issue18141>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Jan Kanis :
--
keywords: +patch
Added file: http://bugs.python.org/file30470/3fdd418be9f8.diff
___
Python tracker
<http://bugs.python.org/issue18
Jan Kanis added the comment:
Oops, the diff includes patches for both this issue and #18132, that should be
just commit 3fdd418be9f8.
--
___
Python tracker
<http://bugs.python.org/issue18
Changes by Jan Pokorný :
--
nosy: +jpokorny
___
Python tracker
<http://bugs.python.org/issue14103>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Jan Pokorný :
--
nosy: +jpokorny
___
Python tracker
<http://bugs.python.org/issue9146>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Jan Pokorný :
--
nosy: +jpokorny
___
Python tracker
<http://bugs.python.org/issue9216>
___
___
Python-bugs-list mailing list
Unsubscribe:
Jan Kaliszewski added the comment:
As I wrote on the list -- IMHO it's still a bug (even though not so painful as
segfault) that should also be fixed in 2.7 and 3.2/3.3. In other cases (such
as `d={}; d[42]=d; repr(d)`) Python does its best to avoid an error -- why in
this case (`d={};
New submission from Jan Kaliszewski:
In Python 3.3 threading.get_ident() has been added as a public and documented
function, but there is no dummy_threading.get_ident():
>>> import threading, dummy_threading
>>> threading.get_ident()
New submission from Jan Kratochvil :
People use custom Python builds setting PYTHONHOME and PYTHONPATH to these
custom builds. This may be expected to break running system Python binary but
it also unexpectedly breaks various applications which also embed Python:
$ echo foo >site.py; exp
Jan Kratochvil added the comment:
This site.py is only an example how it can happen. In reality it is due to .py
files intended for incompatible version of Python. I am not a Python
programmer to have some appropriate incompatible code at hand
Jan Kratochvil added the comment:
I fully agree with site.py/os.py/spam.py but I find it offtopic for this Issue.
I do not find too important if some unsetenv/setenv gets called by the app or
by libpython. But the rules should apply for every embedded app the same, the
Fedora ticket is
Jan Kratochvil added the comment:
While it should be documented this is not only a docs issue. It should be
solved in some way during runtime.
--
___
Python tracker
<http://bugs.python.org/issue14
Jan Lieskovsky added the comment:
Jeroen,
just out of curiosity. Is the current issue different from
CVE-2008-5983 (at first quick glance it looks the be the same issue):?
[1] http://bugs.python.org/issue5753
Thank you, Jan.
--
Jan iankko Lieskovsky
--
nosy: +iankko
Changes by jan matejek :
--
nosy: +matejcik
___
Python tracker
<http://bugs.python.org/issue16043>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from jan matejek:
Testcases derived from BaseServerTestCase will launch a server process in a
separate thread. This server will shut itself down after handling a specified
number of requests. If the test case fails before performing enough requests,
the server thread will
Changes by jan matejek :
--
versions: -Python 2.7, Python 3.1
___
Python tracker
<http://bugs.python.org/issue21070>
___
___
Python-bugs-list mailing list
Unsub
Changes by jan matejek :
--
nosy: +matejcik
___
Python tracker
<http://bugs.python.org/issue21082>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Jan Gosmann:
If there is a symbolic link to a non-existing file anywhere in the source tree
"python setup.py sdist" fails with an output like the following:
running sdist
running check
warning: check: missing required meta-data: url
error: abc: No
New submission from Jan Kanis:
When building, pythons setup.py tries to find external sources for optional
modules such as ssl, sqlite, etc. For that it searches the CFLAGS environment
variable for -I options. C compilers such as gcc and clang also interpret CPATH
and C_INCLUDE_PATH as extra
Jan Kanis added the comment:
I wasn't aware that mixing grid and pack was a bad idea, as I was looking over
turtledemo to learn how to use tkinter. The patch replaces a packing in one
frame with a grid. All direct children of the graph_frame are gridded.
graph_frame itself is still packe
Jan Kanis added the comment:
The main block has been like that from the beginning of recorded time. I could
see a use for this if the turtle demo allowed changing of the code in the gui,
but it doesn't.
--
___
Python tracker
Jan Hudec added the comment:
Mike, David,
The bug is that sqlite module issues implicit COMMIT. SQLite never needs this,
many programs need to NOT have it and they can't opt out as isolation_level
affects implicit begins only.
Most programs will do some changes to data after changin
Changes by Jan Hudec :
--
versions: +Python 2.7, Python 3.1, Python 3.2, Python 3.3, Python 3.4
___
Python tracker
<http://bugs.python.org/issue10740>
___
___
Jan Hudec added the comment:
This is somewhat borderline between bug and enhancement. The behaviour is
described in the documentation and does not violate dbapi2 specification, but
at the same time it is a serious misfeature and gratuitous restriction of
perfectly good functionality of the
Jan Hudec added the comment:
Ok, David, I see.
Anybody who wants to use sqlite seriously in existing releases can use apsw. It
is not dbapi2 compliant, but it is complete and behaves like the underlying
database.
I agree with Antoine and already mentioned I didn't like the current patc
Jan Kanis added the comment:
I tried changing the last block in turtulemodule/__init__.py to
if __name__ == '__main__':
demo = DemoWindow()
print("ENTERING mainloop")
demo.root.mainloop()
print("Bye")
but that does not solve the problem:
&g
Jan Kanis added the comment:
I have verified that DemoWindow._destroy(self) indeed gets called before the
exception is raised.
I did a bisect, on the default branch the bug was introduced by commit
f0833e6ff2d2: "Issue #1545463: Global variables caught in reference cycles are
now ga
Jan Kanis added the comment:
The 3.3 branch is not affected as the f0833e6ff2d2 changeset was never merged
into that branch.
In the default branch the exception stops appearing after commit 79e2f5bbc30c:
"Issue #18214: Improve finalization of Python modules to avoid setting their
globa
Jan Kanis added the comment:
I tested 2.7 tip (6dfbe504f659), which does not show the problem, as expected.
I think there was a real bug in that the tkinter.TclError global was being set
to None on exit, but a TclError being raised is expected if I go by the comment
in tkinter. The bug was
New submission from Jan Varho:
When trying to run a file with non-ASCII symbols without declaring an encoding,
python 2.7 gives the following error:
File "foo.py", line 2
SyntaxError: Non-ASCII character '\xc3' in file fo.py on line 2, but no
encoding declared; see h
Jan Duzinkiewicz added the comment:
I agree this is unclear - If Match object always have a boolean value of True,
it actually prevents me from using simple if statement - what's the point of
"if True:" statement? - so the remark that matching functions do not always
return ma
Jan Duzinkiewicz added the comment:
I've referenced the kb article in the docs. Please let me know if the fix is ok
- maybe the whole registry change process should be included in the docs
directly?
--
keywords: +patch
nosy: +dhgmgn
Added file: http://bugs.python.org/file27839/
Jan Duzinkiewicz added the comment:
The latest docs have a crossrefence at the end of the section:
http://docs.python.org/3/reference/simple_stmts.html#grammar-token-yield_stmt
I copied the reference to 2.7 docs
--
keywords: +patch
nosy: +dhgmgn
Added file: http://bugs.python.org
New submission from Jan Duzinkiewicz:
quote from http://docs.python.org/3/library/imp.html#imp.find_module:
"...on some systems some other places are looked in as well (on Windows, it
looks in the registry which may point to a specific file)."
I actually didn't know the registr
Jan Duzinkiewicz added the comment:
Ok, didn't knew much about importlib, I can work on a patch but have a few
questions/suggestions:
1. For importlib, simply referencing the "Using on Windows" guide imo won't be
ok - the importlib sources show that the key being used i
Jan Lachnitt added the comment:
Hi,
I am using Python 3.2.3 on Windows XP. I encountered a problem with
subprocess.call when using the cwd parameter. I used Google to look for a
solution and I found this issue in Python tracker. But this issue seems
absolutely reversed!
The subprocess
Jan Lachnitt added the comment:
EDIT:
No, it doesn't work fine: the executable reports stack overflow. I thought this
had nothing to do with Python, hence I didn't mention it. But If I run the
executable without Python, THEN it works fine. But this may be another issue.
I'll
Jan Lachnitt added the comment:
Hi Chris, thank for your reply, I didn't see it while writing the edit. Does it
mean that on Linux, it will use the cwd?
--
___
Python tracker
<http://bugs.python.org/is
Jan Lachnitt added the comment:
Hi all,
I have solved the problem by using absolute path of the executable. The reason
why the executable didn't work properly may be that the executable's relative
path was inconsistent with current directory. See the following example (I hav
New submission from Jan Lachnitt:
Python 3.3 64-bit seems to compile one of my files incorrectly. Specifically,
os.path.isdir returns True for a nonexistent folder. The important point is
that the code works correctly when it is performed step-by-step in pdb.
Python version:
Python 3.3.0
Jan Lachnitt added the comment:
Here is a part of my code (with some comments added):
for struct in ini_structures:
dirname = wrkdir+os.sep+struct.name
if not os.path.isdir(dirname): # This works fine. If the directory
doesn't exist,...
Jan Lachnitt added the comment:
print(ascii(struct.name))
print(ascii(struct.name.encode("unicode_internal")))
print(ascii(struct.name.encode("utf-8")))
produces:
'sub-fcc'
b's\x00u\x00b\x00-\x00f\x00c\x00c\x00'
b'sub-fcc'
and
Jan Lachnitt added the comment:
Knowing that the problem is related to the internal representation of the
strings, I have written a short script which reproduces the problem. It is this
simple:
import os
name = 'sub-fcc'
wrkdir = 'D:\\Bug reports\\Python\\test'
dirname
Jan Lachnitt added the comment:
On Windows XP 32-bit: 3.2.3 works, 3.3.0 fails.
--
___
Python tracker
<http://bugs.python.org/issue17137>
___
___
Python-bug
Jan Lachnitt added the comment:
...
print(ctypes.sizeof(ctypes.c_wchar))
_PyObject_Dump=ctypes.pythonapi._PyObject_Dump
_PyObject_Dump.argtypes=(ctypes.py_object,)
print(_PyObject_Dump(dirname))
print(list(dirname))
in Python 3.3.0 64-bit on Windows 8 produces:
2
object : 'D:\\Bug re
jan matejek added the comment:
Yes. We still have a patch for two things:
1. fix setup.py script to look for libraries in correct (lib64) prefixes, and
2. fix values returned from sysconfig, to reflect that python resides in lib64
"$prefix/lib" is hardcoded in many places. Lib64 is pr
jan matejek added the comment:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dne 7.11.2013 16:56, Matthias Klose napsal(a):
>
> Matthias Klose added the comment:
>
> the patch in msg202343 is wrong, hardcoding lib64 on Debian/Ubuntu.
This patch is provided for reference only -
New submission from Jan Kaliszewski:
It seems that the 'raw_unicode_escape' codec:
1) produces data that could be suitable for Python 2.x raw unicode string
literals and not for Python 3.x raw unicode string literals (in Python 3.x
\u... escapes are also treated literally);
2) s
Jan Kaliszewski added the comment:
Which means that the description "Produce a string that is suitable as raw
Unicode literal in Python source code" is (in Python 3.x) no longer true.
So, if change/removal is not possible because of internal significance of the
codec, I believ
New submission from Jan Kaliszewski:
When learning about the 'codecs' module I encountered several places in the
docs of the module that, I believe, could be improved to be clearer and easier
for codecs-begginers:
1. Ad `codecs.encode` and `codecs.decode` descriptions: I believe i
Jan Kaliszewski added the comment:
s/world/word
s/begginers/beginners
(sorry, it's late night here)
--
___
Python tracker
<http://bugs.python.org/is
Jan Kaliszewski added the comment:
8. Again ad `codecs.open`: the default file mode is actually 'rb', not 'r'.
9. Several places in the docs -- ad: `codecs.register_error`, `codecs.open`,
`codecs.EncodedFile`, `Codec.encode/decode`, `codecs.StreamWriter/StreamReader`
-- d
Jan Kaliszewski added the comment:
11. Ad encoding 'undefined': The sentence `Can be used as the system encoding
if no automatic coercion between byte and Unicode strings is desired.` was
suitable for Python 2.x, but not for Python 3.x'. I believe, this sentence
sh
Changes by Jan Kaliszewski :
--
versions: -Python 2.6, Python 2.7, Python 3.1
___
Python tracker
<http://bugs.python.org/issue19548>
___
___
Python-bugs-list m
Jan Kanis added the comment:
I can write a patch. I haven't signed a contributor agreement but I have no
problem doing so. I am not sure when I will have time to write a patch though,
so it could take some time.
--
___
Python tracker
New submission from Jan Kanis:
The resolution of issue 5445 should be documented somewhere properly, so people
can depend on it or not.
IOBase.writelines handles generator arguments without problems, i.e. without
first draining the entire generator and then writing the result in one go. That
New submission from jan matejek:
When compiling "make profile-opt", the instrumented python executable segfaults
upon exit, even though it appears to run fine.
This breaks the build process, because make evaluates the segfault as if the
respective compilation step failed.
GDB
New submission from Jan Kaliszewski:
1. One misleading detail in the descriptor protocol documentation for super
bindings is that the following fragment of the
http://docs.python.org/reference/datamodel.html#invoking-descriptors page:
"""
Super Binding
If a is an instance
Changes by Jan Kaliszewski :
--
title: Misleading examples indDescriptor protocol documentation -> Misleading
examples in the descriptor protocol documentation
___
Python tracker
<http://bugs.python.org/issu
Changes by jan matejek :
--
nosy: +matejcik
___
Python tracker
<http://bugs.python.org/issue20763>
___
___
Python-bugs-list mailing list
Unsubscribe:
Jan Lieskovsky added the comment:
Hello guys,
what's the current state of this issue? The proposed patch hasn't
still been projected into upstream Python code, so wondering:
1, when and if it will be?
2, if you have found another solution / patch?
Thanks && Regards,
Jan Lieskovsky added the comment:
Link to older Python tracker issue discussing the same problem and
closed with "won't fix":
http://bugs.python.org/issue946373
Strange enough, but implied from reading above issue, just an
idea (don't shoot :)). Wouldn't it be
Changes by jan matejek :
--
nosy: +matejcik
___
Python tracker
<http://bugs.python.org/issue5103>
___
___
Python-bugs-list mailing list
Unsubscribe:
jan matejek added the comment:
i believe that the bug lies in bad implementation/backport of feature
from 3.0 patch for issue1251.
see this revision:
http://svn.python.org/view/python/branches/release30-maint/Lib/ssl.py?r1=59339&r2=59340
where the code was added for py3k branch.
the l
101 - 200 of 443 matches
Mail list logo