Christof Hanke added the comment:
Andrei,
cmp is the deep-compare part of filecmp. I thought we were taking about the
shallow one.
Thus,
- shallow like rsync "quick": size + mtime.
- deep like cmp
--
___
Python tracker
<https://bu
Christof Hanke added the comment:
Hi Andrei,
I would follow rsync.
>From the man page:
"""
[...]
-c, --checksum
This changes the way rsync checks if the files have been changed
and are in need of a transfer. Without this option, rsync
uses
Christof Hanke added the comment:
Hi,
this is also discussed in https://bugs.python.org/issue41354.
Ciao,
Christof
--
nosy: +chanke
___
Python tracker
<https://bugs.python.org/issue42
Christof Hanke added the comment:
Andrei,
See https://bugs.python.org/issue42958
Someone else stumbled over this topic.
Maybe you can merge these two requests?
Otherwise, I'm fine with a new arg.
Christof
--
___
Python tracker
<ht
Christof Hanke added the comment:
I understand that you are reluctant to change existing code.
But for me as a sysadmin, the current behavior doesn't make sense for two
reasons:
* st.st_size is part of _sig. why would you do a deep compare if the two
files have a different length
Change by Christof Hanke :
--
keywords: +patch
pull_requests: +20722
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/21580
___
Python tracker
<https://bugs.python.org/issu
New submission from Christof Hanke :
help(filecmp.cmp) says:
"""
cmp(f1, f2, shallow=True)
Compare two files.
Arguments:
f1 -- First file name
f2 -- Second file name
shallow -- Just check stat signature (do not read the files).
christof <chbai...@gmail.com> added the comment:
In my previous comment, what I want to implement is not a timeout for a task to
complete but more precisely a timeout triggered if the coroutine was not wake
up by a notify on the con
New submission from christof <chbai...@gmail.com>:
Hello,
I have a simple code which triggers a timeout if a task did not complete
import asyncio
async def task_timeout():
condition = asyncio.Condition()
with await condition:
try:
await asyncio.wa
New submission from Christof Hanke:
On https://docs.python.org/2/library/argparse.html (and on those of the
3.6-Version) it says at the bottom:
"""
ArgumentParser.error(message)
This method prints a usage message including the message to the standard
error and termina
and higher or Jython 2.5 and higher (tested
with Python 2.7.1(x64), 2.6.5(x64), 2.5.4(x32), 2.4.4(x32) and Jython
2.5.1 on Win7x64 only)
Bug reports (via Google code), comments, etc are very much appreciated!
Thanks.
Christof
--
http://mail.python.org/mailman/listinfo/python-announce-list
http://code.google.com/p/html5lib/downloads/list
xhtml to html5
--
http://mail.python.org/mailman/listinfo/python-announce-list
Support the Python Software Foundation:
http://www.python.org/psf/donations/
), 2.5.4(x32), 2.4.4(x32) and Jython 2.5.1
on Win7x64
only)
Bug reports (via Google code), comments, etc are very much appreciated!
Thanks.
Christof
--
http://mail.python.org/mailman/listinfo/python-announce-list
Support the Python Software Foundation:
http://www.python.org/psf
are very much appreciated!
Thanks.
Christof
--
http://mail.python.org/mailman/listinfo/python-announce-list
Support the Python Software Foundation:
http://www.python.org/psf/donations/
Google code), comments, etc are very much appreciated!
Thanks.
Christof
--
http://mail.python.org/mailman/listinfo/python-announce-list
Support the Python Software Foundation:
http://www.python.org/psf/donations/
see http://cthedot.de/cssutils/
cssutils needs Python 2.4 or higher or Jython 2.5 and higher (tested
with Python 2.6.5(x64), 2.5.4(x32), 2.4.4(x32) and Jython 2.5.1 on Win7
64 only)
Bug reports (via Google code), comments, etc are very much appreciated!
Thanks.
Christof
--
http
(x32) and Jython 2.5.1 on Win7
64 only)
Bug reports (via Google code), comments, etc are very much appreciated!
Thanks.
Christof
--
http://mail.python.org/mailman/listinfo/python-announce-list
Support the Python Software Foundation:
http://www.python.org/psf/donations/
appreciated!
Thanks.
Christof
--
http://mail.python.org/mailman/listinfo/python-announce-list
Support the Python Software Foundation:
http://www.python.org/psf/donations/
Due to an incomplete release (bug in setup.py) 0.9.7a6 replaces 0.9.7a5
with the same changes, sorry for the inconvinience...
Christof
--
http://mail.python.org/mailman/listinfo/python-announce-list
Support the Python Software Foundation:
http://www.python.org/psf/donations/
on Win 7 64bit
only)
Bug reports (via Google code), comments, etc are very much appreciated!
Thanks.
Christof
--
http://mail.python.org/mailman/listinfo/python-announce-list
Support the Python Software Foundation:
http://www.python.org/psf/donations/
Python 2.4 or higher or Jython 2.5 and higher (tested
with Python 2.6.3, 2.5.2, 2.4.4 and Jython 2.5.1 on Vista only)
Bug reports (via Google code), comments, etc are very much appreciated!
Thanks.
Christof
--
http://mail.python.org/mailman/listinfo/python-announce-list
Support
on Vista only)
Bug reports (via Google code), comments, etc are very much appreciated!
Thanks.
Christof
--
http://mail.python.org/mailman/listinfo/python-announce-list
Support the Python Software Foundation:
http://www.python.org/psf/donations/
only)
Bug reports (via Google code), comments, etc are very much appreciated!
Thanks.
Christof
--
http://mail.python.org/mailman/listinfo/python-announce-list
Support the Python Software Foundation:
http://www.python.org/psf/donations/
/cssutils/
cssutils needs Python 2.4 or higher (tested with Python 2.6.2, 2.5.2,
2.4.4 and Jython 2.5 on Vista only)
Bug reports (via Google code), comments, etc are very much appreciated!
Thanks.
Christof
--
http://mail.python.org/mailman/listinfo/python-announce-list
Support the Python
is a (modified) httplib_multipart.py script (originally from
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/146306) to be
able to POST fields and files to an HTTP host as multipart/form-data.
any comment appreciated...
thanks,
Christof
--
http://mail.python.org/mailman/listinfo/python
Hi,
Which are the classic books in computer science which one should
peruse?
From having read this discussion up to now I'd recomend you to read code
written by good programmers.
Christof
--
http://mail.python.org/mailman/listinfo/python-list
(tested with Python 2.6.2, 2.5.2 and
2.4.4 on Vista only)
Bug reports (via Google code), comments, etc are very much appreciated!
Thanks.
Christof
--
http://mail.python.org/mailman/listinfo/python-announce-list
Support the Python Software Foundation:
http://www.python.org/psf
.
download
For download options see http://cthedot.de/cssutils/
cssutils needs Python 2.4 or higher (tested with Python 2.6.2, 2.5.2 and
2.4.4 on Vista only)
Bug reports (via Google code), comments, etc are very much appreciated!
Thanks.
Christof
--
http://mail.python.org/mailman
, comments, etc are very much appreciated! Thanks.
Christof
--
http://mail.python.org/mailman/listinfo/python-announce-list
Support the Python Software Foundation:
http://www.python.org/psf/donations.html
Christof cthe...@gmail.com added the comment:
A compatibility break in a minor bugfix version is never a good idea I
guess. I understand the reasoning but this change may break quite a few
packages (at least it broke mine). A workaround in programs is easy but
for already released and deployed
!
thanks
Christof
--
http://mail.python.org/mailman/listinfo/python-announce-list
Support the Python Software Foundation:
http://www.python.org/psf/donations.html
, because that way they get
around many Memory Management Problems they would have with Threads or with
a singlethreaded reactor. Using Processes is not per se a bad Idea. You pay
a bit with Memory and CPU but in many situations you get a much simpler
programming model.
Christof
--
http
For download options see http://cthedot.de/cssutils/
Bug reports (via Google code), comments, etc are very much appreciated!
Thanks.
Christof
--
http://mail.python.org/mailman/listinfo/python-announce-list
Support the Python Software Foundation:
http://www.python.org/psf/donations.html
Hi,
http://www.bitwise.iitkgp.ernet.in/
I'm having quite some fun reading the questions since I got this Post in
comp.lang.c++ before. Here it is of topic and this crosspostings will
definatelly not be a good advertisement for your contest.
Christof
--
http://mail.python.org/mailman
://xkcd.com/378/
Christof
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
Just to register a contrary opinion: I *hate* syntax highlighting
With vim you simply don't turn it on. Would that be OK for you?
Christof
--
http://mail.python.org/mailman/listinfo/python-list
like e.g. code generators.
If you need User Interface Design, there are quite powerful stand alone
tools, like e.g. the QtDesigner which can be used with that OS IDE.
Christof
--
http://mail.python.org/mailman/listinfo/python-list
, etc are very much appreciated!
Thanks.
Christof
--
http://mail.python.org/mailman/listinfo/python-announce-list
Support the Python Software Foundation:
http://www.python.org/psf/donations.html
code), comments, etc are very much appreciated!
Thanks.
Christof
--
http://mail.python.org/mailman/listinfo/python-announce-list
Support the Python Software Foundation:
http://www.python.org/psf/donations.html
with the Python SOAP/WSDL implementation?
Any suggestions?
Christof
Traceback (most recent call last):
File testEBIIntactWebservice.py, line 3, in module
intact_serv = SOAPpy.WSDL.Proxy(intact_wsdl)
File /var/lib/python-support/python2.5/SOAPpy/WSDL.py, line 62, in __init__
self.wsdl
Christof Winter wrote, On 28.07.2008 12:32:
I am trying to use a webservice with SOAPpy:
import SOAPpy
intact_wsdl = http://www.ebi.ac.uk/intact/binary-search-ws/binarysearch?wsdl;
intact_serv = SOAPpy.WSDL.Proxy(intact_wsdl)
[...]
My question:
- Is there a problem with the WSDL file being
!
Thanks.
Christof
--
http://mail.python.org/mailman/listinfo/python-announce-list
Support the Python Software Foundation:
http://www.python.org/psf/donations.html
code), comments, etc are very much appreciated!
Thanks.
Christof
--
http://mail.python.org/mailman/listinfo/python-announce-list
Support the Python Software Foundation:
http://www.python.org/psf/donations.html
KeyError: 'A'
Does anybody know this problem. How this can happen and how can I
avoid it?
Thanks,
Christof
--
http://mail.python.org/mailman/listinfo/python-list
On 23 Mai, 10:48, Peter Otten [EMAIL PROTECTED] wrote:
christof wrote:
I am using pickle/unpickle to let my program save its documents to
disk. While this it worked stable for a long time, one of my users now
complained, that he had a file which can't be loaded.
The traceback
see http://cthedot.de/cssutils/
cssutils needs Python 2.4 or higher (tested with Python 2.5.2 on Vista only)
Bug reports (via Google code), comments, etc are very much appreciated!
Thanks.
Christof
--
http://mail.python.org/mailman/listinfo/python-announce-list
Support the Python
(via Google code), comments, etc are very much appreciated!
Thanks.
Christof
--
http://mail.python.org/mailman/listinfo/python-announce-list
Support the Python Software Foundation:
http://www.python.org/psf/donations.html
hi,
I noticed while trying a simple (but still very useful) server based on
SimpleHTTP that it does report a wrong Content-Length for text/*
files if Windows line-end \r\n is used.
Most clients (e.g. browsers) do simply ignore a wrong Content-Length but
there are programs that do care and
with Python 2.5.1 on Vista only)
Bug reports (via Google code), comments, etc are very much appreciated!
Thanks.
Christof
--
http://mail.python.org/mailman/listinfo/python-announce-list
Support the Python Software Foundation:
http://www.python.org/psf/donations.html
options for see http://cthedot.de/cssutils/
cssutils needs Python 2.4 or higher (tested with Python 2.5 on Vista only)
bug reports, comments, etc are very much appreciated!
thanks, Christof
--
http://mail.python.org/mailman/listinfo/python-announce-list
Support the Python Software
to work in
(C)Python only.
thanks for any hint
Christof
--
http://mail.python.org/mailman/listinfo/python-list
internal changes
license
---
cssutils is published under the LGPL.
download
for download options for see http://cthedot.de/cssutils/
cssutils needs Python 2.4 or higher (tested with Python 2.5 on Vista only)
bug reports, comments, etc are very much appreciated!
thanks, Christof
--
http
hi,
I was wondering if there is any way to use XSLT2 or maybe even XQuery
with normal CPython. Using Saxon/XSLT2 with Jython is no problem (I
have not tried Saxon.NET with IronPython but suspect no problem?) but I
could not find any way to use XSLT2 or XPath Features with CPython. All
the
Stefan Behnel wrote:
Christof Hoeke wrote:
I was wondering if there is any way to use XSLT2 or maybe even XQuery
with normal CPython. Using Saxon/XSLT2 with Jython is no problem (I
have not tried Saxon.NET with IronPython but suspect no problem?) but I
could not find any way to use XSLT2
Ryan Ginstrom wrote:
On Behalf Of Steven D'Aprano
Because in common English, counting starts at 1 and ranges
normally include both end points (that is, it is a closed
interval). If you say I'll be away from the 4th to the 7th
and then turn up on the 7th, nearly everyone will wonder why
, comments, etc are very much appreciated!
thanks
Christof
--
http://mail.python.org/mailman/listinfo/python-announce-list
Support the Python Software Foundation:
http://www.python.org/psf/donations.html
[EMAIL PROTECTED] wrote:
[...]
Now the second question has to do with images retrieval and
manipulation. Which libraries do you propose to work with to
retrieve and resize images from the web?
urllib.urlretrieve() and
Python Imaging Library (PIL)
--
David N Montgomery wrote:
class testCase:
def __init__(self, tc):
if tc == 1:self.testCase1()
if tc == 2:self.testCase2()
if tc == 3:self.testCase3()
if tc == 4:self.testCase4()
if tc == 5:self.testCase5()
if tc == 6:self.testCase6()
://cthedot.de/cssutils/
cssutils needs
* Python 2.4 (tested with Python 2.5 on Windows XP only)
bug reports, comments, etc are very much appreciated!
thanks
christof
--
http://mail.python.org/mailman/listinfo/python-announce-list
Support the Python Software Foundation:
http
* Python 2.4 (tested with Python 2.5 on Windows XP only)
bug reports, comments, etc are very much appreciated!
thanks
christof
--
http://mail.python.org/mailman/listinfo/python-announce-list
Support the Python Software Foundation:
http://www.python.org/psf/donations.html
must admit.
Cheers,
Christof
--
http://mail.python.org/mailman/listinfo/python-list
) (Debian 4.1.1-21)] on linux2
f1() and f2() also virtually take the same amount of time, although I must
admit
that this is quite different from what I expected.
Cheers,
Christof
--
http://mail.python.org/mailman/listinfo/python-list
further information.
Cheers,
Christof
--
http://mail.python.org/mailman/listinfo/python-list
) httplib_multipart.py script (originally from
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/146306) to be
able to POST fields and files to an HTTP host as multipart/form-data.
any comment will be appreciated, thanks
christof
--
http://mail.python.org/mailman/listinfo/python-announce-list
Some basic helper functions to deal with encodings of text files (like
HTML, XHTML, XML) via HTTP. Developed for cssutils but looked worth an
independent release.
Download from http://cthedot.de/encutils/
Included are some unittests.
License
Creative Commons License
with PyXML 0.8.4 installed)
any comment will be appreciated, thanks
christof hoeke
PA HREF=http://cthedot.de/cssutils/;cssutils 0.8a2/A - cssutils -
CSS Cascading Style Sheets library for Python (31-Jul-05)
--
http://mail.python.org/mailman/listinfo/python-announce-list
Support
66 matches
Mail list logo