Eric Devolder eric.devol...@gmail.com added the comment:
This seems to be fixed now under 3.1.2, and works properly for me.
Great stuff, thank you.
Eric
P.S. Last time I mistakenly tagged the bug to be Python 3.2 as well,
correcting this now.
--
versions: -Python 3.2
New submission from Ciprian Trofin ciprian.tro...@ktd.ro:
After I installed Python 2.6.5, I noticed a drop in performance of web
connections via proxy.
This script:
-
import time
import urllib2
timeMark = time.time()
opener =
Senthil Kumaran orsent...@gmail.com added the comment:
How are setting up and using your proxy? It would also help you discuss your
approach at python-h...@python.org and if you see any specific issues, raise it
in the bug report.
--
nosy: +orsenthil
Gabriel Genellina gagsl-...@yahoo.com.ar added the comment:
r78994 (exclude 2to3 tests from compileall) should be backported to trunk and
the 2.6 branch, but I don't see them (yet).
--
nosy: +gagenellina
___
Python tracker rep...@bugs.python.org
Changes by Dirkjan Ochtman dirk...@ochtman.nl:
--
nosy: +djc
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7946
___
___
Python-bugs-list mailing
Ciprian Trofin ciprian.tro...@ktd.ro added the comment:
I attached a screenshot.
The proxy is on the corporate network. I'm not setting it up, I'm only using
it. Internet Explorer needs that setting in order to connect. Firefox needs
this proxy set as manual proxy configuration.
I looked
New submission from Peter ps1...@users.sourceforge.net:
If the installer is run in Windows XP/SP3 without selecting the Advanced
compiling option, it works fine. If the installer is run in Windows XP/SP3 and
the Advanced compiling option is selected, the following error message is
generated
STINNER Victor victor.stin...@haypocalc.com added the comment:
In Python 2.6/3.1, xmlrpclib.Transport.parse_response() accepts a file like
object. But Python 2.7/3.2 requires a HTTPResponse object because
parse_response() calls response.getheader() method.
The patch moves the call to
Brian Curtin cur...@acm.org added the comment:
This is fixed as of r79248.
--
nosy: +brian.curtin
priority: - normal
resolution: - duplicate
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8239
R. David Murray rdmur...@bitdance.com added the comment:
I can't reproduce this on 2.6 maint on Linux 32 bit (Gentoo).
Did you try doing a make distclean before redoing the configure/make?
--
nosy: +benjamin.peterson, r.david.murray
priority: - high
R. David Murray rdmur...@bitdance.com added the comment:
Crash is for interpreter segfaults, changing to type 'behavior'. Setting stage
to 'test needed' because if this is a valid bug the test will need to be turned
into a unit test.
--
nosy: +jnoller, r.david.murray
priority: -
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
According to http://www.zlib.net/ChangeLog.txt, since zlib 1.2.3.5::
- Use zlib header window size if windowBits is 0 in inflateInit2()
The failing test should be changed, for example::
self.assertRaises(ValueError,
Jesse Noller jnol...@gmail.com added the comment:
multiprocessing.Queue.Put() acts the same as Queue.put() - if the queue is
full, the put call hangs until the queue is no longer full. The process will
not exit, as the Queue is full, and it's waiting in put.
This works as designed, unless I'm
Cyril c...@excellency.fr added the comment:
The following test case exhibits the bug, but I'm not sure it will fail every
time as it depends on 2 things:
- your connection speed (I guess)
- I used the following trick to have 2 identical strings with a different id
(memory address):
data =
Changes by R. David Murray rdmur...@bitdance.com:
--
components: +Extension Modules -Library (Lib)
nosy: +giampaolo.rodola
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8240
___
Changes by R. David Murray rdmur...@bitdance.com:
--
priority: - normal
stage: - test needed
type: - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8240
___
STINNER Victor victor.stin...@haypocalc.com added the comment:
surrogateescape characters are not printable
stderr uses backslashescape error handler, and so non-decodable characters will
be displayed as \xHH.
... see also #8092 :-)
--
___
Python
Erdem U. Altinyurt spamjunkea...@gmail.com added the comment:
Firstly I think as you but this is not correct.
Added Q.full() to know if Queue is full or not to the testQ code..
def testQ():
for i in range(1):
mp.Process( None, QueueWorker, None, (i,Q,lock) ).start()
while
Changes by Konrad Delong kon...@gmail.com:
--
nosy: +konryd
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7946
___
___
Python-bugs-list mailing
Changes by Alexandre Conrad alexandre.con...@gmail.com:
--
nosy: +aconrad
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7946
___
___
Changes by STINNER Victor victor.stin...@haypocalc.com:
--
nosy: +haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8240
___
___
STINNER Victor victor.stin...@haypocalc.com added the comment:
If I understood correctly, the patch only concerns non blocking socket if
SSL_write() returns 0? If SSL_write() returns a non zero value, can you use:
ssl_socket.send(data[count:])?
About the string identifier trick, you should
STINNER Victor victor.stin...@haypocalc.com added the comment:
See also issue #8240 about SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER
(ssl.SSLSocket.write may fail on non-blocking sockets).
--
nosy: +haypo
___
Python tracker rep...@bugs.python.org
STINNER Victor victor.stin...@haypocalc.com added the comment:
letting the C OpenSSL runtime do it for us is certainly more efficient
+1 if it's more efficient ;-)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8222
STINNER Victor victor.stin...@haypocalc.com added the comment:
Would it be possible to add an option to disable SSL_MODE_AUTO_RETRY for a
specific socket? Existing applications may rely on / prefer the current
behaviour.
--
___
Python tracker
Cyril c...@excellency.fr added the comment:
You're right about the assert, I've just uploaded a new patch.
In non-blocking mode, ssl_socket.send(data) will return either 0 (which means
nothing was sent, you'll have to try again), or len(data) when everything was
sent. It can't return anything
Cyril c...@excellency.fr added the comment:
I forgot to talk about the conditions in which I stumbled upon that bug. I use
a cStringIO.StringIO as a send buffer. When the socket is ready to send data, I
call ssl_socket.send(send_buffer.getvalue()).
Unfortunately, two consecutive calls to
Changes by Guilherme Salgado gsalg...@gmail.com:
--
nosy: +salgado
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7946
___
___
Python-bugs-list
R. David Murray rdmur...@bitdance.com added the comment:
test needed is in reference to your assertion that you weren't sure your test
would fail reliably. A test that fails some times and passes some times
is...suboptimal when dealing with a buildbot testing infrastructure :)
--
Antoine Pitrou pit...@free.fr added the comment:
Would it be possible to add an option to disable SSL_MODE_AUTO_RETRY
for a specific socket? Existing applications may rely on / prefer the
current behaviour.
I don't think so, since recv() used to emulate that behaviour anyway.
--
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +janssen
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8240
___
___
Python-bugs-list mailing
Martin v. Löwis mar...@v.loewis.de added the comment:
Gabriel: can you explain why that should be backported?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6716
___
Antoine Pitrou pit...@free.fr added the comment:
Since this error seems to be aimed at warning about potential programming
errors, I'm not sure it should be silenced. The obvious fix should be to pass
the same argument every time (until the data finally gets written).
--
nosy: +pitrou
Cyril c...@excellency.fr added the comment:
r.david.murray: ah, sure :) However, I'm not sure a test case is absolutely
required for this issue for two reasons:
- the fix is trivial: it's a one-liner that enables a SSL mode that
explicitely authorizes SSL_write to be called a second time
Cyril c...@excellency.fr added the comment:
pitrou: that's debatable, since the Python programmer has no control over
memory pointers. As I said, I have a cStringIO buffer, and two consecutive
calls to buffer.getvalue() yield different objects. What can I do about it? I
think it's a rather
Antoine Pitrou pit...@free.fr added the comment:
pitrou: that's debatable, since the Python programmer has no control
over memory pointers.
No, but he has control over whether he always uses the same object, or
generates a new argument everytime.
As I said, I have a cStringIO buffer, and
Cyril c...@excellency.fr added the comment:
Switching to a documentation issue is fine to me. Indeed I can just cache the
result of StringIO.getvalue(), although it feels a bit crude.
I won't be able to create a documentation patch since English is not my primary
language. While you're at it,
Antoine Pitrou pit...@free.fr added the comment:
Fixed in r79448 (trunk), r79449 (py3k), r79451 (2.6), r79453 (3.1).
--
resolution: - fixed
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
Antoine Pitrou pit...@free.fr added the comment:
I also switched to gettimeofday() so it should work now on all Posix
with high resolution timer
But on a busy system, won't measuring wall clock time rather than CPU time give
bogus results?
--
Nir Aides n...@winpdb.org added the comment:
But on a busy system, won't measuring wall clock time rather than CPU time
give bogus results?
This was the motivation for using clock_gettime(). I tried the wall clock
version under load (including on single core system) and it seems to behave.
Changes by Larry Hastings la...@hastings.org:
--
nosy: +larry
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7946
___
___
Python-bugs-list mailing
Changes by Augie Fackler li...@durin42.com:
--
nosy: +durin42
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7946
___
___
Python-bugs-list mailing
Changes by Peter Kleiweg pklei...@xs4all.nl:
--
nosy: +pebbe
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4953
___
___
Python-bugs-list mailing
Michael Foord mich...@voidspace.org.uk added the comment:
It would be really useful to be able to send signal.SIGINT to processes on
Windows using os.kill(...). The patch as described sounds like it would have a
different signature to the standard implementation of os.kill(...) which takes
a
Changes by Michael Foord mich...@voidspace.org.uk:
--
versions: +Python 2.7, Python 3.2 -Python 2.6
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1220212
___
Michael Foord mich...@voidspace.org.uk added the comment:
I'm wrong. First IronPython tries:
NativeSignal.GenerateConsoleCtrlEvent(PythonSignal.CTRL_C_EVENT, ...)
But with the comment:
//The following calls to GenerateConsoleCtrlEvent will fail under
//most circumstances. We'll try them any
Gabriel Genellina gagsl-...@yahoo.com.ar added the comment:
Sorry for being so terse and not filling in the gaps! In the end, I changed my
mind on this bug - it's not an installer issue.
The 2.6.5 MSI installer, when asked to compile .pyc files, exits with an error
as reported here:
Michael Foord mich...@voidspace.org.uk added the comment:
Aaaand the IronPython implementation of
NativeSignal.GenerateConsoleCtrlEvent(PythonSignal.CTRL_C_EVENT, ...)
delegates to Kernel32.GenerateConsoleCtrlEvent.
--
___
Python tracker
João Paulo Farias jpaulofar...@gmail.com added the comment:
I dont see the resolution for this problem yet... What should I do to not have
it happen?
--
nosy: +jpfarias
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4749
New submission from Gabriel Genellina gagsl-...@yahoo.com.ar:
Lib\lib2to3\tests\data\py2_test_grammar.py, in test_with_statement, requires a
variant of the with statement (multiple targets) that is not available in
Python 2.6. Compiling py2_test_grammar.py raises a SyntaxError. This makes
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
assignee: - benjamin.peterson
nosy: +benjamin.peterson
priority: - normal
stage: - needs patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8241
Ezio Melotti ezio.melo...@gmail.com added the comment:
Closed as duplicate of #8218.
--
nosy: +ezio.melotti
resolution: - duplicate
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
Ezio Melotti ezio.melo...@gmail.com added the comment:
See also #8234 that has a patch with some rephrasing too.
--
nosy: +ubershmekel
stage: - needs patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8218
Benjamin Peterson benja...@python.org added the comment:
The correct thing to do is actually to ignore py2_test_grammar.py when
compiling the pyc files.
--
assignee: benjamin.peterson - loewis
nosy: +loewis
___
Python tracker rep...@bugs.python.org
New submission from STINNER Victor victor.stin...@haypocalc.com:
If the fullpath to the python3 binary contains a non-ASCII character and the
file system encoding is ASCII, Python fails with:
---
Could not find platform independent libraries prefix
Could not find platform dependent libraries
STINNER Victor victor.stin...@haypocalc.com added the comment:
If I understood correctly, my patch is also required to import a module having
a non-ASCII full path if the file system encoding is ASCII.
--
___
Python tracker rep...@bugs.python.org
Changes by Kyle VanderBeek ky...@kylev.com:
--
keywords: +patch
Added file: http://bugs.python.org/file16672/python-ssl-PEM_FOOTER.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8086
Kyle VanderBeek ky...@kylev.com added the comment:
Forgot to note that my patch is against 2.7 current trunk.
--
nosy: +kylev
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8086
___
STINNER Victor victor.stin...@haypocalc.com added the comment:
Initialize Py_FileSystemDefaultEncoding earlier in Py_InitializeEx(),
because its value is required to encode unicode using surrogates to bytes
Oh, it doesn't work: get_codeset() returns NULL, because the codec register is
empty
Gabriel Genellina gagsl-...@yahoo.com.ar added the comment:
@jpfarias: could you be more specific? Which error(s) do you have? in which
scenario?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4749
Changes by Daniel Vim 333...@gmail.com:
--
files: curses_bug.py
nosy: theosp
severity: normal
status: open
title: curses writing to window's bottom right position raises: `_curses.error:
addstr() returned ERR'
type: behavior
versions: Python 2.6
Added file:
Glenn Linderman v+pyt...@g.nevcal.com added the comment:
I just discovered that attempting to open zip member test\file fails where
attempting to open test/file works. Granted the zip contains / not \
characters, but using the os.path stuff (on windows) to manipulate the names
before
62 matches
Mail list logo