Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
About the patch: the function should not be passed to the constructor, it could
be a regular method that can be overridden in subclasses.
--
nosy: +amaury.forgeotdarc
___
Python tracker
Georg Brandl ge...@python.org added the comment:
I suspect this is a problem where url is reassigned to an integer somewhere
in code that isn't shown to us.
Please post the whole function and the whole traceback if you still think this
is a valid bug.
--
nosy: +georg.brandl
Charles-François Natali neolo...@free.fr added the comment:
When signals are unblocked, pending signal ared delivered in the reverse order
of their number (also on Linux, not only on FreeBSD 6).
I don't like this.
POSIX doesn't make any guarantee about signal delivery order, except
for
STINNER Victor victor.stin...@haypocalc.com added the comment:
When signals are unblocked, pending signal ared delivered in the reverse
order
of their number (also on Linux, not only on FreeBSD 6).
I don't like this.
POSIX doesn't make any guarantee about signal delivery order, except
Changes by STINNER Victor victor.stin...@haypocalc.com:
--
nosy: +haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12149
___
___
New submission from STINNER Victor victor.stin...@haypocalc.com:
==
ERROR: test_non_blocking_connect_ex (test.test_ssl.NetworkedTests)
--
Traceback (most recent
Changes by Senthil Kumaran sent...@uthcode.com:
--
nosy: +orsenthil
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12149
___
___
Python-bugs-list
Stefan Krah stefan-use...@bytereef.org added the comment:
Nick, Pauli, thanks for all the comments. I'm busy implementing the easy
changes; then it'll be easier to deal with the flags issues.
Pauli:
Does numpy use the (undocumented) smalltable array in the Py_buffer
structure? We would
Senthil Kumaran sent...@uthcode.com added the comment:
With the patch applied, test_urllib2net fails at test_ftp test case
when a valid and invalid url are presented in sequence. I think test
needs a change or a further look is needed at the patch.
--
Roundup Robot devnull@devnull added the comment:
New changeset 6abbc5f68e20 by Victor Stinner in branch '2.7':
Issue #9611, #9015: FileIO.read(), FileIO.readinto(), FileIO.write() and
http://hg.python.org/cpython/rev/6abbc5f68e20
--
nosy: +python-dev
Stephen White stephen-python@randomstuff.org.uk added the comment:
Just to confirm that it was a release, but 2.7.1 so not the current. Doesn't
appear to happen in Python 2.7 (as shipped with Fedora Core 14) or in Python
2.7.2.
C:\\Python27\python.exe
Python 2.7.1 (r271:86832, Nov 27
Roundup Robot devnull@devnull added the comment:
New changeset 7acdf9f5eb31 by Victor Stinner in branch '3.2':
Issue #9611, #9015: FileIO.read() clamps the length to INT_MAX on Windows.
http://hg.python.org/cpython/rev/7acdf9f5eb31
New changeset e8646f120330 by Victor Stinner in branch
STINNER Victor victor.stin...@haypocalc.com added the comment:
This issue is a duplicate of #9611.
--
resolution: - duplicate
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9015
STINNER Victor victor.stin...@haypocalc.com added the comment:
I backported fixes to 2.7, and also add a new fix to FileIO.read(). I don't see
anything else to do on this issue, so I close it.
Note: read() and write() methods the file object in 2.7 are 64-bit safe on any
OS. They use fread()
STINNER Victor victor.stin...@haypocalc.com added the comment:
Issue #9015 has been marked as a duplicate of this issue.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9611
___
STINNER Victor victor.stin...@haypocalc.com added the comment:
I close this issue because test_signal pass on FreeBSD 6 buildbots (3.2 and
3.x). I will reopen it if test_faulthandler fails or if test_signal fails
again, or maybe open new issues.
--
resolution: - fixed
status: open -
STINNER Victor victor.stin...@haypocalc.com added the comment:
New changeset ea02eca122b5 by Ned Deily in branch '2.7':
Issue #8716: Avoid crashes caused by Aqua Tk on OSX when attempting to run
http://hg.python.org/cpython/rev/ea02eca122b5
New changeset 06cb0d602468 by Ned Deily in branch
Florian Preinstorfer nbl...@archlinux.us added the comment:
I tried to implement the improvements suggested by Ezio Melotti and updated the
documentation accordingly.
--
keywords: +patch
nosy: +notizblock
Added file: http://bugs.python.org/file22576/issue-11468.patch
Changes by Stefan Krah stefan-use...@bytereef.org:
Added file: http://bugs.python.org/file22577/718801740bde.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10181
___
Neil Muller drnlmuller+b...@gmail.com added the comment:
SVN_Revision.diff replaces the remaining $Revision$ keywords in 2.7 with the
values from the last SVN checkout I have. This seems the correct minimal fix
for the issues caused by code parsing the revision tag in Python 2. I've left
the
Stefan Krah stefan-use...@bytereef.org added the comment:
I've uploaded a revised version that addresses several suggestions. I think
we have agreement on those now:
- Officially ditch smalltable.
- Comment static storage fields inside PyMemoryViewObject.
- Improve refcounting in
Neil Muller drnlmuller+b...@gmail.com added the comment:
This patch removes or replaces a number SVN keywords which aren't buried in
comments.
I've removed '__revision__ = $Id$' cases - mainly present in distutils - as
no-one appears to using these.
I've replaced values in tarfile.py, but
STINNER Victor victor.stin...@haypocalc.com added the comment:
subprocess_check_output-2.patch is a more complete patch: fix (?) call(),
check_output() and getstatusoutput(). These functions kill the process if an
exception occurs to not hang on wait() in Popen.__exit__().
Because of the
Ronald Oussoren ronaldousso...@mac.com added the comment:
python2.7 has MacOS.WMAvailable(). When that function returns False the
Tkinter tests should be disabled.
The function is not available in Python 3, but is easy enough to implement
using ctypes.
--
Tomaž Šolc tomaz.s...@tablix.org added the comment:
Except for multiprocessing, does anyone know of any other module in the
standard library that uses fork() and threads at the same time? After some
grepping through the source I couldn't find any other cases.
I'm still in favor of just
Antoine Pitrou pit...@free.fr added the comment:
You don't need to add WSAECONNREFUSED, it's already there as ECONNREFUSED:
errno.ECONNREFUSED
10061
errno.WSAECONNREFUSED
10061
As for (WSA)ENOTCONN, I don't want to add it before knowing what happens. It
may signal a programming error.
Antoine Pitrou pit...@free.fr added the comment:
Except for multiprocessing, does anyone know of any other module in
the standard library that uses fork() and threads at the same time?
After some grepping through the source I couldn't find any other
cases.
It's quite common to launch a
New submission from STINNER Victor victor.stin...@haypocalc.com:
Python 2.7 emits a DeprecationWarning warning if callable() is called and
python has the -3 option. callable() was removed in Python 3.0, but it was also
added again in Python 3.2 (issue #10518).
$ ./python -bb -3 -Werror
STINNER Victor victor.stin...@haypocalc.com added the comment:
You don't need to add WSAECONNREFUSED,
it's already there as ECONNREFUSED
Oh ok. Here is a patch for test_ssl.test_connect_ex() ignoring ECONNREFUSED
error.
--
Added file: http://bugs.python.org/file22582/test_ssl.patch
Thomas Guettler guet...@thomas-guettler.de added the comment:
I received this email. Here is the creator:
X-Mailer: CommuniGate Pro MAPI Connector 1.52.53.10/1.53.10.1
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12489
Stefan Krah stefan-use...@bytereef.org added the comment:
I'm slightly confused about the implication chain in the flags. PyBUF_STRIDES
seem to allow for discontiguous arrays, yet STRIDES - ND - C_CONTIGUOUS.
PyBUF_FULL[_RO]
Antoine Pitrou pit...@free.fr added the comment:
Oh ok. Here is a patch for test_ssl.test_connect_ex() ignoring ECONNREFUSED
error.
IMO you also want to test for the other errnos in transient_internet.
Also, it should skip the test if the connection is refused.
--
Charles-François Natali neolo...@free.fr added the comment:
Except for multiprocessing, does anyone know of any other module in the
standard library that uses fork() and threads at the
same time? After some grepping through the source I couldn't find any other
cases.
The same problem
Antoine Pitrou pit...@free.fr added the comment:
I'm slightly confused about the implication chain in the flags. PyBUF_STRIDES
seem to allow for discontiguous arrays, yet STRIDES - ND - C_CONTIGUOUS.
To be honest I have never understood anything about these flags, and I
doubt anyone without
Roundup Robot devnull@devnull added the comment:
New changeset dcfacc2d93b4 by Victor Stinner in branch '3.2':
Issue #12493: subprocess: communicate() handles EINTR
http://hg.python.org/cpython/rev/dcfacc2d93b4
New changeset 42e23db3ddfc by Victor Stinner in branch 'default':
(merge 3.2) Issue
Changes by STINNER Victor victor.stin...@haypocalc.com:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12493
___
Pauli Virtanen p...@iki.fi added the comment:
The flags don't seem to be meant to describe the properties of the buffer, only
what the exporter is required to fill in. STRIDES does not imply necessarily
discontinuous, only that the `strides` field is present. The
C_/F_/ANY_CONTIGUOUS flags
STINNER Victor victor.stin...@haypocalc.com added the comment:
Updated patch: add support.transient_errors tuple.
--
Added file: http://bugs.python.org/file22583/test_ssl-2.patch
___
Python tracker rep...@bugs.python.org
Changes by STINNER Victor victor.stin...@haypocalc.com:
Removed file: http://bugs.python.org/file22575/transient_internet_windows.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12500
___
Changes by STINNER Victor victor.stin...@haypocalc.com:
Removed file: http://bugs.python.org/file22582/test_ssl.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12500
___
Changes by STINNER Victor victor.stin...@haypocalc.com:
--
title: support.transient_internet(): catch also Windows socket errors - Skip
test_ssl.test_connect_ex() on connection error
___
Python tracker rep...@bugs.python.org
STINNER Victor victor.stin...@haypocalc.com added the comment:
I didn't see this failure recently. Because packaging module (and tests)
changed after the failure, I suppose that the bug is already fixed.
--
resolution: - invalid
status: open - closed
Changes by STINNER Victor victor.stin...@haypocalc.com:
--
title: Timeout (1 hour) in test_concurrent_futures.tearDown() on sparc
solaris10 gcc 3.x - Deadlock in test_concurrent_futures
___
Python tracker rep...@bugs.python.org
Roundup Robot devnull@devnull added the comment:
New changeset 8b62f5d722f4 by Victor Stinner in branch '3.2':
Issue #12451: pydoc: html_getfile() now uses tokenize.open() to support Python
http://hg.python.org/cpython/rev/8b62f5d722f4
New changeset 2fbfb7ea362f by Victor Stinner in branch
Changes by abdeljalil chehaibou abdeljalil.chehai...@gmail.com:
--
nosy: +abdeljalil.chehaibou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8695
___
Nick Coghlan ncogh...@gmail.com added the comment:
It took me a bit of thinking, but I figured out why the contiguous flags
imply STRIDES. A quick recap of all the flags:
WRITABLE - error if can't support write access
FORMAT - request format info in Py_buffer struct. Should never error, but
Nick Coghlan ncogh...@gmail.com added the comment:
At least, that's the explanation based on the PEP - not sure where CONTIG as
an alias for ND (N-dimensional) comes from. But then, smalltable was an
undocumented novelty, too :)
--
___
Python
Roundup Robot devnull@devnull added the comment:
New changeset 807921ba241d by Victor Stinner in branch '3.2':
Issue #12493: skip test_communicate_eintr() if signal.SIGALRM is missing
http://hg.python.org/cpython/rev/807921ba241d
New changeset 4928cf093a11 by Victor Stinner in branch 'default':
Nick Coghlan ncogh...@gmail.com added the comment:
To address the should PyManagedBuffer be public? question: yes, I think so.
Given the amount of grief the raw PEP 3118 API has caused the memoryview
implementation, I expect the easier lifecycle management provided by the
PyObject based API
Tomaž Šolc tomaz.s...@tablix.org added the comment:
We can't do that, it would break existing code.
I would argue that such code is already broken.
What do you mean by helper threads?
multiprocessing uses threads behind the scenes to handle queue traffic and such
for individual forked
Nick Coghlan ncogh...@gmail.com added the comment:
Regarding the Reitveld cc field: I tend not to add anyone to that and instead
post comments to the tracker item to say that I've finished a review in
Reitveld. If people want to see details they can go look at the review itself
(or remove
Antoine Pitrou pit...@free.fr added the comment:
Regarding the Reitveld cc field: I tend not to add anyone to that and
instead post comments to the tracker item to say that I've finished a
review in Reitveld. If people want to see details they can go look at
the review itself (or remove
Nick Coghlan ncogh...@gmail.com added the comment:
I don't think that's a bug, it's a missing feature in the integration (there's
a request on the metatracker to add automatic notifications of new reviews on
the bug itself).
I did mention the review above but it would have been easy to miss
Antoine Pitrou pit...@free.fr added the comment:
I don't think that's a bug, it's a missing feature in the integration
(there's a request on the metatracker to add automatic notifications
of new reviews on the bug itself).
It is a bug, actually. People on the nosy list are also on the
Antoine Pitrou pit...@free.fr added the comment:
(and so, for the record, I've added my own small review :))
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10181
___
Changes by Adam Woodbeck adam.woodb...@gmail.com:
--
nosy: +adam.woodbeck
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10608
___
___
Nick Coghlan ncogh...@gmail.com added the comment:
Moving this discussion out of the review comments:
Antoine is wanting to make release() nondeterministic by having the underlying
buffer only released when all views using it either have release() called or
are no longer referenced.
I
Hans Bering hans.ber...@arcor.de added the comment:
I'm sorry, but it seems the issue described in my previous edit (msg139566) is
perhaps not related to the original Scrollbar problem. I had thought they were
because of the superficial resemblance (i.e., crashes due to locale-dependent
float
Antoine Pitrou pit...@free.fr added the comment:
Antoine is wanting to make release() nondeterministic by having the
underlying buffer only released when all views using it either have
release() called or are no longer referenced.
That's not nondeterministic if everyone calls release(). Less
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2506
___
___
Python-bugs-list
Stefan Krah stefan-use...@bytereef.org added the comment:
Antoine Pitrou rep...@bugs.python.org wrote:
My issue is that until now sliced memoryviews are independent objects
and are not affected by the releasing of the original memoryview. With
this patch, they are, and that's why I'm
Éric Araujo mer...@netwok.org added the comment:
I will commit the rest of the patch.
--
assignee: docs@python - eric.araujo
priority: low - high
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12043
Éric Araujo mer...@netwok.org added the comment:
Amaury, do you think it’s more common to subclass TextWrapper than just
instantiate it? I find the proposed API (an argument to __init__) very
intuitive.
--
keywords: +needs review
nosy: +eric.araujo, georg.brandl
stage: - patch
Éric Araujo mer...@netwok.org added the comment:
xrange does not exist in Python 3, it’s called range. You should have seen
yesterday that I changed the versions: as a new feature, this cannot go into
stable releases, only into the next one.
I’m adding Georg to nosy per
Éric Araujo mer...@netwok.org added the comment:
What about this change instead:
-if (PyErr_WarnPy3k(callable() not supported in 3.x;
+if (PyErr_WarnPy3k(callable() not supported in 3.1;
--
nosy: +eric.araujo
title: callable(): remove the deprecation warning from Python 2.7 -
Antoine Pitrou pit...@free.fr added the comment:
I thought the rationale for the release() method was to allow sequences like:
b = bytearray()
m1 = memoryview(b)
m1.release() - must call releasebuffer instantly.
b.resize(10) - this might fail otherwise if the garbage collection is too
Éric Araujo mer...@netwok.org added the comment:
Duplicate of #9093 (or is it the reverse?)
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7231
___
Changes by Éric Araujo mer...@netwok.org:
--
Removed message: http://bugs.python.org/msg139884
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7231
___
Éric Araujo mer...@netwok.org added the comment:
Duplicate of #3561 (or maybe the reverse)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7231
___
Éric Araujo mer...@netwok.org added the comment:
Looks good. I suggest you test again and commit.
--
nosy: +eric.araujo
stage: - patch review
type: crash - behavior
versions: +Python 3.3 -Python 3.1
___
Python tracker rep...@bugs.python.org
Juan Gonzalez juan.gonza...@ti.com added the comment:
Today I tried to use parse() instead of find() and I found out the following
response:
tony@ubuntu:~/auto/sel/scripts$ python wtfibmdom
Traceback (most recent call last):
File wtfibmdom, line 22, in module
if url.parse(str) 0:
Juan Gonzalez juan.gonza...@ti.com added the comment:
Hi Georg,
This is the python code listing:
from RSS import ns, CollectionChannel, TrackingChannel
#Create a tracking channel, which is a data structure that
#Indexes RSS data by item URL
tc = TrackingChannel()
str =
Éric Araujo mer...@netwok.org added the comment:
Explicit request for inclusion? What kind of bureaucracy are you up to?
This probably means: bug reports.
The Tools directory may or may not be included in UNIX tarballs, Mac OS X
installers or Windows installers. It is not documented
Brian Curtin br...@python.org added the comment:
Can you post some example code or a test case?
--
nosy: +brian.curtin
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12492
___
Éric Araujo mer...@netwok.org added the comment:
The patch by Filip does not add new features, so I’m adjusting versions.
I cannot review the patch only by reading it, but if someone gives me a timeit
command I can post a benchmark for my Debian machine.
--
nosy: +eric.araujo
Éric Araujo mer...@netwok.org added the comment:
This 3.2 patch updates UNIX rights and shebangs in Tools/scripts.
I also edited mailerdaemon, which used a string exception.
--
versions: -Python 3.1
Added file: http://bugs.python.org/file22584/tools-scripts.diff
Jesús Cea Avión j...@jcea.es added the comment:
Put the failing code inside a try, and wrote in the except: print
repr(url). I am pretty sure your url can be, actually, a number.
Or print url just before the 'faulty' line. I guess you will be surprised.
--
Tyler Romeo tylerro...@gmail.com added the comment:
Normally I would have just added it as a function to be overloaded, but because
of the nature of the textwrap.wrap function (all kwargs are passed to the
TextWrapper constructor) I thought it made a lot more sense to keep it as an
argument
Éric Araujo mer...@netwok.org added the comment:
I am working on a patch to make patchcheck use
os.path.join(sysconfig.get_config_var('srcdir'), etc.) to look for the .hg dir
and open files (to do its checks) with the right paths.
--
___
Python
Changes by Brian Curtin br...@python.org:
--
stage: - committed/rejected
status: open - closed
type: crash - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12492
___
Charles-François Natali neolo...@free.fr added the comment:
We can't do that, it would break existing code.
I would argue that such code is already broken.
- that's not necessarily true, if your code is carefully designed
- we can't forbid fork() in a multi-threaded application while it's
Juan Gonzalez juan.gonza...@ti.com added the comment:
I print 1 before the faulty line and like Jesús says I'm surprised I get a 1
Description: Build passed
1
Traceback (most recent call last):
File wtfibmdom, line 23, in module
if url.find(str) 0:
AttributeError: 'int' object has no
New submission from Алексей Агапитов marwinx...@gmail.com:
When using asyncore server with UNIX socket, I got 100% CPU usage.
I run modified code example from asyncore doc page.
This code was tested on two systems:
Ubuntu 10.04 2.6.32-32-generic #62-Ubuntu SMP
with two versions of Python:
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +giampaolo.rodola
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12502
___
___
Python-bugs-list
Charles-François Natali neolo...@free.fr added the comment:
It's looping in Lib/asyncore.py:poll
select(4, [3], [3], [3], {30, 0}) = 1 (out [3], left {29, 94})
select(4, [3], [3], [3], {30, 0}) = 1 (out [3], left {29, 94})
select(4, [3], [3], [3], {30, 0}) = 1 (out
Ross Lagerwall rosslagerw...@gmail.com added the comment:
Looks good, the patch seems to fix the problem.
This section of code indicates that the accepting socket shouldn't be in the
write set...
def handle_write_event(self):
if self.accepting:
# Accepting sockets shouldn't get a
Roundup Robot devnull@devnull added the comment:
New changeset 0e5485634817 by Victor Stinner in branch 'default':
Issue #12459: time.sleep() now raises a ValueError if the sleep length is
http://hg.python.org/cpython/rev/0e5485634817
--
nosy: +python-dev
STINNER Victor victor.stin...@haypocalc.com added the comment:
Tim Lesher agreed to raise an exception (That makes sense. Better to be
consistent within the time API--I know the different semantics of time.clock()
have confused people around here.), so I think that everybody agreed to raise
STINNER Victor victor.stin...@haypocalc.com added the comment:
See also issue #12044 which changed the context manager to call the wait()
method.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12494
STINNER Victor victor.stin...@haypocalc.com added the comment:
See also issue #12494: subprocess: check_output() doesn't close pipes on
error.
--
nosy: +haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12044
Ned Deily n...@acm.org added the comment:
That's puzzling. That particular segfault failure is on test_ttk_guionly but
test_tk apparently passed earlier in the run and it seems that this buildbot is
being run with a window manager connection available (the changes that I added
did not raise
Roundup Robot devnull@devnull added the comment:
New changeset 18ce15f841cf by Ned Deily in branch '2.7':
Issue #8716: Add temporary code for 2.7 to help diagnose buildbot failure.
http://hg.python.org/cpython/rev/18ce15f841cf
--
___
Python tracker
Nadeem Vawda nadeem.va...@gmail.com added the comment:
The failure seems to occur sporadically. I'm looking into it.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10883
___
Davide Rizzo sor...@gmail.com added the comment:
Looking through Antoine's example code. When garbage is collected, the subtype
and its tp_dict are cleared before the instance object itself. When the dict is
cleared as part of the garbage collection, the methods get deallocated but the
method
Changes by Andreas Stührk andy-pyt...@hammerhartes.de:
--
nosy: +Trundle
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12149
___
___
Dmitriy Gorbachev dgorbac...@yahoo.com added the comment:
Hello Ned
Thank you very much for your time and for your advice where to post questions
like mine.
I apologise for my mistake: instead of input() there was raw_input() function
in
the book, which works as expected on all platforms.
Changes by Thomas Holmes tho...@devminded.com:
--
nosy: +thomas.holmes
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5342
___
___
Python-bugs-list
Roundup Robot devnull@devnull added the comment:
New changeset 7e0102ec95d4 by Brian Curtin in branch 'default':
Fix #11512. Add an initial test suite for the cgitb, providing 75% coverage.
http://hg.python.org/cpython/rev/7e0102ec95d4
New changeset f362f0053eab by Brian Curtin in branch
Dmitriy Gorbachev dgorbac...@yahoo.com added the comment:
Hi Amaury,
Thank you very much for your email.
Actually what happedded is that I mistakenly used input() function in place of
raw_input() as it is in the book.
raw_input correctly inputs bob and 'bob', while input() inputs correctly
Nadeem Vawda nadeem.va...@gmail.com added the comment:
The problem seems to be that CacheFTPHandler inherits ftp_open() from
FTPHandler - FTPHandler.ftp_open() marks the ftpwrapper object to be closed as
soon as the current transfer is complete. So CacheFTPHandler's cache ends up
full of closed
1 - 100 of 120 matches
Mail list logo