Ezio Melotti ezio.melo...@gmail.com added the comment:
HTMLParser is still simpler than html5lib, but if/when possible we are
following the HTML5 standard rather than taking arbitrary decisions (like we
used to do before HTML5). HTMLParser doesn't claim to be a fully compliant
HTML5 parser
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14570
___
___
Glenn Linderman v+pyt...@g.nevcal.com added the comment:
A bit of experimentation indicates that for regular file access, there probably
is no security problem, but bad paths will look in weird places, and if they
find a file of the right name, will return it. It would be much better to
Dirkjan Ochtman dirk...@ochtman.nl added the comment:
Ping, again. I'm sorry, I didn't write any of these patches and would not be a
great fit for writing tests.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1222585
Dirkjan Ochtman dirk...@ochtman.nl added the comment:
Could we reconsider ARM support at this time? Seems like ARM support has been
surging over the past few years, and it's becoming more supported by Linux
distributions. Seems like a pity to leave a patch like this out here.
--
nosy:
Glenn Linderman v+pyt...@g.nevcal.com added the comment:
I finally understand the purpose of the checks in translate path...
Basically, translate path is concatenating the URL path to the current
directory (because that is considered the root for Web service by this
server). But along the way,
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +haypo
stage: - patch review
versions: +Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9123
___
STINNER Victor victor.stin...@gmail.com added the comment:
This issue is a security vulnerability.
I disagree, it's just an issue of a comment in the C code. The Python
documentation doesn't guarantee that os.urandom() is cryptographic.
Use ssl.RAND_bytes(), added to Python 3.3, if you need
STINNER Victor victor.stin...@gmail.com added the comment:
-if (RAND_pseudo_bytes((unsigned char*)
+if (RAND_bytes((unsigned char*)
This is not a good idea: RAND_bytes() is blocking, whereas os.urandom() doesn't
block on other platforms. os.urandom() is similar to /dev/urandom
Antoine Pitrou pit...@free.fr added the comment:
I don't think you need anyone's permission to commit such a fix :)
--
nosy: +pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14569
___
sbt shibt...@gmail.com added the comment:
I think there are some issues with the treatment of the DWORD type. (DWORD is
a typedef for unsigned long.)
_subprocess always treats them as signed, whereas _multiprocessing treats them
(correctly) as unsigned. _windows does a mixture: functions
Hynek Schlawack h...@ox.cx added the comment:
The point isn’t that time.strptime validates dates but that it uses datetime
internally:
julian = datetime_date(year, month, day).toordinal() - \
datetime_date(year, 1, 1).toordinal() + 1
Is it worth to reimplement this
Changes by Jesús Cea Avión j...@jcea.es:
Added file: http://bugs.python.org/file25203/4a072278b866.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13405
___
Changes by Jesús Cea Avión j...@jcea.es:
Removed file: http://bugs.python.org/file25193/1e4d2c51b2d9.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13405
___
R. David Murray rdmur...@bitdance.com added the comment:
Ah. I based that on the fact that the third test passed without the change. I
thought you were adding that test of changing the comment just as a double
check. I should have asked instead of assuming.
--
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 5cc359804d61 by Benjamin Peterson in branch '3.2':
take linkage def outside of WITH_THREAD conditional (closes #14569)
http://hg.python.org/cpython/rev/5cc359804d61
--
nosy: +python-dev
resolution: - fixed
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 508ae5d27c2c by Benjamin Peterson in branch '2.7':
take linkage def outside of WITH_THREAD conditional (closes #14569)
http://hg.python.org/cpython/rev/508ae5d27c2c
--
s7v7nislands s7v7nisla...@gmail.com added the comment:
maybe you can use xcode-select to set the correct path
xcode-select -print-path
/Applications/Xcode.app/Contents/Developer
Usage: xcode-select -print-path
or: xcode-select -switch xcode_folder_path
-switch xcode_folder_path Sets
Terry J. Reedy tjre...@udel.edu added the comment:
I checked Standard C by Plauger Brodie and as I read it, it agrees with
py.user and his C compiler. For stdlib strtol() and strtoul(), the 0x/0X
prefixes are accepted but optional for explicit base 16. If base is given as 0,
they are
Terry J. Reedy tjre...@udel.edu added the comment:
patch should be for 2.7 or 3.2/3 as 2.6 only gets security fixes.
--
nosy: +terry.reedy
stage: - needs patch
versions: +Python 2.7, Python 3.2, Python 3.3 -Python 2.6
___
Python tracker
Changes by Terry J. Reedy tjre...@udel.edu:
--
nosy: +terry.reedy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14544
___
___
Python-bugs-list
Changes by Tshepang Lekhonkhobe tshep...@gmail.com:
--
nosy: +tshepang
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14535
___
___
Terry J. Reedy tjre...@udel.edu added the comment:
Bill, when you reply by email, please snip the signature and quoted message.
They are just noise. (Exception: quote a line or two if you are specifically
responding to such.) Signatures are inappropriate, and the message you are
responding to
Jim Jewett jimjjew...@gmail.com added the comment:
It sounds like this is a case where the docs should mention an external
library; perhaps something like changing the intro of
http://docs.python.org/dev/library/html.parser.html from:
19.2. html.parser — Simple HTML and XHTML parser
Source
Tshepang Lekhonkhobe tshep...@gmail.com added the comment:
This is probably because Sphinx can't detect that those are Python sources, so
my patch forces it to recognize it as such.
--
keywords: +patch
Added file: http://bugs.python.org/file25204/highlight-code.diff
Éric Araujo mer...@netwok.org added the comment:
/path/parts/cgi-script/path/info/parts#anchor?query-string
This should be: /path/parts/cgi-script/path/info/parts?query-string#anchor
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
Changes by Éric Araujo mer...@netwok.org:
--
title: http/server.py query string handling incorrect, inefficient -
http.server query string handling incorrect and inefficient
versions: -Python 2.6, Python 3.1
___
Python tracker
Éric Araujo mer...@netwok.org added the comment:
LGTM
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14554
___
___
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14547
___
___
Python-bugs-list
Rik Poggi poggi.ri...@gmail.com added the comment:
I wasn't trying to make any argument, just thinking that such particular
signature was intentional.
Also notice that there might be code that doesn't pass the pattern argument,
and fall back on the default value. So a signature change will
Éric Araujo mer...@netwok.org added the comment:
Sure, the docs should explain better that html.parser tries its best to parse
stuff, is not a validating parser, and is actively developed, contrary to the
popular belief that standard library modules never get improved. I’m less sure
about
Éric Araujo mer...@netwok.org added the comment:
LGTM
--
nosy: +eric.araujo
stage: - commit review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14535
___
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +loewis
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14530
___
___
Python-bugs-list mailing
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +loewis
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14529
___
___
Python-bugs-list mailing
Éric Araujo mer...@netwok.org added the comment:
FWIW I use the mixin approach too and find it simple and clean. I don’t have a
problem with a method in the mixin class calling methods from TestCase.
--
nosy: +eric.araujo
___
Python tracker
Éric Araujo mer...@netwok.org added the comment:
I should be able to port the patch and add tests for detect_language, but I
know very little about C++ and may not be able to write a full test that really
compiles and checks a C++ program. We’re having a sprint on the 21, I’ll see
if I can
Changes by anatoly techtonik techto...@gmail.com:
--
nosy: -techtonik
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13405
___
___
Marc-Andre Lemburg m...@egenix.com added the comment:
STINNER Victor wrote:
STINNER Victor victor.stin...@gmail.com added the comment:
perf_counter_process_time.patch: replace time.clock if windows else
time.time with time.perf_counter, and getrusage/clock with time.process_time.
Jim Jewett jimjjew...@gmail.com added the comment:
It would be helpful to have a testcase, so that it will stay fixed.
--
nosy: +Jim.Jewett
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14562
Changes by Jim Jewett jimjjew...@gmail.com:
--
title: urllib2 maybe blocks too long - urllib2 maybe blocks too long with
small chunks
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14562
___
Alex Leach beamesle...@gmail.com added the comment:
Patch included for Modules/_ctyles/libffi/src/x86/ffi64.c. I've added some
include guards around anything necessary to compile with the Intel compiler.
This patch is needed to compile the _ctypes module with icc on current Python
releases
Jim Jewett jimjjew...@gmail.com added the comment:
Any particular reason not to add those?
--
nosy: +Jim.Jewett
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14555
___
Jim Jewett jimjjew...@gmail.com added the comment:
I can't speak for GSoC or Gerhard, but it strikes me as a reasonable first
step. An alternatives woube be writing it with fallbacks (so older sqlite can
still be used, though less efficiently). It would also be nice to clean up at
least one
New submission from Jonathan Finlay jfin...@riseup.net:
File /home/jonathan/Desarrollo/Tryton/2.3/tryton/tryton/gui/main.py, line
1194, in _sig_remove_book
res = page.sig_close()
File /home/jonathan/Desarrollo/Tryton/2.3/tryton/tryton/gui/window/form.py,
line 492, in sig_close
Jonathan Finlay jfin...@riseup.net added the comment:
This is the patch for the issue
--
resolution: - fixed
Added file: http://bugs.python.org/file25207/locale.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14571
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
It's a problem in tryton, which incorrectly passes a None value instead of a
float.
The issue was actually fixed 10 hours ago (!) in tryton:
http://hg.tryton.org/tryton/rev/58a615b60cbd
Please update to the last version!
--
Martin von Gagern martin.vgag...@gmx.net added the comment:
I'm attaching a patch to better explain what I'm suggesting. As you can see,
this patch doesn't change the signature of discover, nor does it change the
semantics for any code that doesn't pass pattern, or that passes some pattern
STINNER Victor victor.stin...@gmail.com added the comment:
Patch version 8: time.process_time() uses times() if available. Rename also
function key of time.get_clock_info() with implementation.
--
Added file: http://bugs.python.org/file25209/pep418-8.patch
Michael Foord mich...@voidspace.org.uk added the comment:
So the logic of the pattern argument to load_tests is that it should not be
None when test discovery is loading the __init__.py module of a test package.
However, because most patterns will actually *prevent* __init__.py from being
Michael Foord mich...@voidspace.org.uk added the comment:
Also the patch to allow the pattern to be None (and revert to the default
pattern in this case) looks good.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11218
Martin von Gagern martin.vgag...@gmx.net added the comment:
Michael wrote: […] the real pattern being passed in.
I wonder, what would be the real pattern? In the code I originally pasted,
the load_tests function would be invoked by loadTestsFromModule (for module
__main__). There is nothing
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1762561
___
STINNER Victor victor.stin...@gmail.com added the comment:
Any particular reason not to add those?
I didn't find yet documentation of: CLOCK_BOOTTIME_ALARM, CLOCK_REALTIME_ALARM
For CLOCK_UPTIME_PRECISE, CLOCK_MONOTONIC_PRECISE, CLOCK_REALTIME_PRECISE: I
don't know if there are useful. Are
New submission from Joakim Sernbrant serb...@gmail.com:
Python-2.7.3/Modules/_sqlite/connection.c: In function ‘_pysqlite_set_result’:
Python-2.7.3/Modules/_sqlite/connection.c:552: error: ‘sqlite3_int64’
undeclared (first use in this function)
The centos 5 version of sqlite3
New submission from Aaron Staley usaa...@gmail.com:
The json library's encoder includes a function called 'iterencode'. iterencode
allows for encoding to be streamed; as tokens are produced they are yielded.
This allows for the encoded object to be streamed to a file, over a socket,
etc.
New submission from Vlad vladandje...@gmail.com:
When dealing with a new connection, SocketServer.BaseRequestHandler.__init__
first calls the request handler (self.handle below) and then calls cleanup code
which closes the connection (self.finish below).
class BaseRequestHandler:
def
STINNER Victor victor.stin...@gmail.com added the comment:
Patch version 9: fixes for Windows (fix compilation and fix to code checking if
GetTickCount64 is present).
--
Added file: http://bugs.python.org/file25210/pep418-9.patch
___
Python tracker
Changes by STINNER Victor victor.stin...@gmail.com:
Removed file: http://bugs.python.org/file25126/pep418-6.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14428
___
Changes by STINNER Victor victor.stin...@gmail.com:
Removed file: http://bugs.python.org/file25201/pep418-7.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14428
___
Changes by STINNER Victor victor.stin...@gmail.com:
Removed file: http://bugs.python.org/file25209/pep418-8.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14428
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti, rhettinger
stage: - test needed
type: - behavior
versions: +Python 3.3 -Python 2.6, Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14573
Gregory P. Smith g...@krypto.org added the comment:
What is the status of this in 2.7?
Brett - what about in 3.3 after you get importlib in?
--
versions: +Python 3.3 -Python 3.1
___
Python tracker rep...@bugs.python.org
Gregory P. Smith g...@krypto.org added the comment:
btw, a potentially related (or duplicate?) issue was already fixed -
http://bugs.python.org/issue1590864
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6380
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset b3b7f9dd7ce4 by R David Murray in branch '3.2':
#14399: corrected news item
http://hg.python.org/cpython/rev/b3b7f9dd7ce4
New changeset 225126c9d4b5 by R David Murray in branch '2.7':
#14399: corrected news item
R. David Murray rdmur...@bitdance.com added the comment:
I must have been seeing what I expected to see. The test that failed was the
non-empty test.
News item fixed, thanks for the correction.
--
___
Python tracker rep...@bugs.python.org
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14477
___
___
Anrs Hu anders.x...@gmail.com added the comment:
Okay, there's a test case of web.py:
Server codes are following:
import web
class index(object):
def GET(self):
yield 'hello\n'
yield 'world\n'
time.sleep(60)
client is Python interpreter
resp = urllib.urlopen(URL)
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 635966f6d3de by Ezio Melotti in branch '3.2':
#14535: fix code highlight in multiprocessing examples. Patch by Tshepang
Lekhonkhobe.
http://hg.python.org/cpython/rev/635966f6d3de
New changeset 957e2c71beef by Ezio
Ezio Melotti ezio.melo...@gmail.com added the comment:
I tried the attached patch but it didn't work for me. Using python3 instead
of python seemed to fix the problem. I also updated another python to use
python3. Thanks for the report and the patch!
--
assignee: docs@python -
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
stage: - commit review
type: - enhancement
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14554
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12428
___
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
stage: - needs patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14507
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14408
___
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14339
___
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14304
___
___
New submission from Hugh Gibbons hg13...@gmail.com:
IDLE crashes shortly after I open a any file with IDLE, using the file browser.
If I open a file from the File-Recent Files list, it does not crash.
OS X version 10.6.8.
--
components: IDLE
messages: 158249
nosy: hgibbons
priority:
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14393
___
___
Changes by Eric Snow ericsnowcurren...@gmail.com:
--
nosy: +eric.snow
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6380
___
___
Python-bugs-list
Changes by Eric Snow ericsnowcurren...@gmail.com:
--
nosy: +eric.snow
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1590864
___
___
79 matches
Mail list logo