Philipp Hagemeister added the comment:
Update testcase, and call split before splitdrive
--
Added file: http://bugs.python.org/file42319/fix-path-traversal-26657.patch
___
Python tracker
<http://bugs.python.org/issue26
Philipp Hagemeister added the comment:
Please find attached a patch which adds a testcase for Windows (on all
platforms) as well as code to fix the problem. Since os.path.split returns
everything after the final slash/backslash, it only needs to be called once.
Note that the usage of
New submission from Philipp Hagemeister:
On my system, {} has become significantly slower in 3.3:
$ python3.2 -m timeit -n 100 '{}'
100 loops, best of 3: 0.0314 usec per loop
$ python3.3 -m timeit -n 100 '{}'
100 loops, best of 3: 0.0892 usec per loop
$ h
Changes by Philipp Hagemeister :
--
keywords: +patch
Added file: http://bugs.python.org/file26664/issue15538.patch
___
Python tracker
<http://bugs.python.org/issue15
New submission from Philipp Hagemeister:
The s6_addr8 field of in6_addr structs is nonstandard, and therefore not
supported on all platforms (android in my example). cpython's socket module
should use the standard s6_addr field instead.
--
components: IO
hgrepos: 144
messages: 1
New submission from Philipp Hagemeister :
>From DOM Level 3[1]: "An implementation conforms to a DOM Level 3 module
if it supports all the interfaces for that module and the associated
semantics.". minidom supports only some Level 3 functions such as
Node.renameNode, Element.s
Philipp Hagemeister added the comment:
The patch has been applied to trunk, but not branches/py3k. Sorry for
that, I should really get into the habit of providing patches for both
branches.
--
status: closed -> open
___
Python tracker
&l
Changes by Philipp Hagemeister :
--
title: test_posixpath.py -> Clean up test_posixpath.py
___
Python tracker
<http://bugs.python.org/issue6036>
___
___
Python-
New submission from Philipp Hagemeister :
At line 300 (version 72674) there is the following interesting construction:
if hasattr(os, "symlink"):
if hasattr(os, "symlink"):
(...)
(...)
hasattr is idempotent.
Additionally, test_posixpath.py is missing
New submission from Philipp Hagemeister :
In the documentation, the signature is given as parse(filename_or_file,
parser), although the next paragraph reads "(...) *parser*, if given,
(...)".
The latter is correct, and there is a new bufsize parameter, too.
--
assignee: ge
New submission from Philipp Hagemeister :
socket.inet_ntop is only available on some UNIX platforms, although for
example Windows users may want to use it. The new ipaddr module provides
a platform-independent conversion to the packed format on all platforms
and should therefore be used in
New submission from Philipp Hagemeister :
>From the documentation of socket.inet_aton (and socket.inet_ntoa):
"inet_aton() does not support IPv6, and getnameinfo() should be used
instead for IPv4/v6 dual stack support."
socket.getnameinfo can not replace inet_aton/inet_ntoa at
Changes by Philipp Hagemeister :
Removed file: http://bugs.python.org/file13198/mcast-example.diff
___
Python tracker
<http://bugs.python.org/issue5379>
___
___
Python-bug
Philipp Hagemeister added the comment:
Updated patch to use the new ipaddr module instead of the
platform-specific socket.inet_pton (unavailable on some platforms,
including Windows XP)
Updated formatting
--
Added file: http://bugs.python.org/file13851/mcast-example.diff
New submission from Philipp Hagemeister :
Currently, the testStringToIPv6 and testIPv6ToStrings tests in
Lib/test/test_socket.py only check for variants 1 and 2 (but not 3) from
RFC 4291 2.2.
Furthermore, there are no assertions that check wrong inputs are
appropriately refused in any of the
New submission from Philipp Hagemeister :
The multicast example Demo/sockets/mcast.py
1. mentions that multicast is only implemented on SGI (and optional on
other systems). That is not the case anymore.
2. Includes completely unrelated code for broadcast transmission. There
is already an example
16 matches
Mail list logo