[issue42958] filecmp.cmp(shallow=True) isn't actually shallow when only mtime differs

2021-07-12 Thread Christof Hanke
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

[issue42958] filecmp.cmp(shallow=True) isn't actually shallow when only mtime differs

2021-07-12 Thread Christof Hanke
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

[issue42958] filecmp.cmp(shallow=True) isn't actually shallow when only mtime differs

2021-07-12 Thread Christof Hanke
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

[issue41354] filecmp.cmp documentation does not match actual code

2021-07-12 Thread Christof Hanke
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

[issue41354] filecmp.cmp documentation does not match actual code

2020-12-27 Thread Christof Hanke
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

[issue41354] filecmp.cmp documentation does not match actual code

2020-07-21 Thread Christof Hanke
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

[issue41354] filecmp.cmp documentation does not match actual code

2020-07-21 Thread Christof Hanke
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).

[issue33638] condition lock not re-acquired

2018-05-24 Thread christof
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

[issue33638] condition lock not re-acquired

2018-05-24 Thread christof
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

[issue26047] argparse.ArgumentError documentation wrong

2016-01-08 Thread Christof Hanke
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

ANN: cssutils 0.9.8a2

2011-06-11 Thread Christof
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

html5lib

2011-03-04 Thread Christof
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/

ANN: cssutils 0.9.8a1

2010-12-12 Thread Christof
), 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

ANN: cssutils 0.9.7final

2010-11-29 Thread Christof
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/

ANN: cssutils 0.9.7b3

2010-06-20 Thread Christof
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/

ANN: cssutils 0.9.7b2

2010-06-07 Thread Christof
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

ANN: cssutils 0.9.7b1

2010-05-31 Thread Christof
(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/

ANN: cssutils 0.9.7a5

2010-05-24 Thread Christof
appreciated! Thanks. Christof -- http://mail.python.org/mailman/listinfo/python-announce-list Support the Python Software Foundation: http://www.python.org/psf/donations/

ANN: cssutils 0.9.7a6

2010-05-24 Thread Christof
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/

ANN: cssutils 0.9.7a2

2009-12-31 Thread Christof
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/

ANN: cssutils 0.9.6final

2009-10-07 Thread Christof Hoeke
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

ANN: cssutils 0.9.6b5 (bugfix release)

2009-08-30 Thread Christof Hoeke
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/

ANN: cssutils 0.9.6b4

2009-08-29 Thread Christof Hoeke
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/

ANN: cssutils 0.9.6b3

2009-08-02 Thread Christof Hoeke
/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

ANN: W3C HTML batch Validator in Python

2009-06-21 Thread Christof Hoeke
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

Re: Good books in computer science?

2009-06-14 Thread Christof Donat
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

ANN: cssutils 0.9.6a4

2009-05-09 Thread Christof Hoeke
(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

ANN: cssutils 0.9.6a3

2009-04-27 Thread Christof Hoeke
. 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

ANN: encutils 0.9

2009-04-24 Thread Christof Hoeke
, 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

[issue5786] len(reversed([1,2,3])) does not work anymore in 2.6.2

2009-04-19 Thread Christof
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

re-try 0.7: Try Python regular expressions online

2009-03-28 Thread Christof Hoeke
! thanks Christof -- http://mail.python.org/mailman/listinfo/python-announce-list Support the Python Software Foundation: http://www.python.org/psf/donations.html

Re: Will multithreading make python less popular?

2009-02-16 Thread Christof Donat
, 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

ANN: cssutils 0.9.6a1

2009-02-07 Thread Christof Hoeke
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

Re: Bitwise 2009 ($5000 prize money)

2009-02-03 Thread Christof Donat
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

Re: what IDE is the best to write python?

2009-02-02 Thread Christof Donat
://xkcd.com/378/ Christof -- http://mail.python.org/mailman/listinfo/python-list

Re: what IDE is the best to write python?

2009-02-02 Thread Christof Donat
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

Re: what IDE is the best to write python?

2009-02-01 Thread Christof Donat
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

ANN: cssutils 0.9.5.1

2008-08-11 Thread Christof Hoeke
, 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

ANN: cssutils 0.9.5final

2008-07-30 Thread Christof Hoeke
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

SOAPpy WSDL problem: namespace of schema and import match error

2008-07-28 Thread Christof Winter
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

Re: SOAPpy WSDL problem: namespace of schema and import match error

2008-07-28 Thread Christof Winter
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

ANN: cssutils 0.9.5rc1

2008-07-09 Thread Christof Hoeke
! Thanks. Christof -- http://mail.python.org/mailman/listinfo/python-announce-list Support the Python Software Foundation: http://www.python.org/psf/donations.html

ANN: cssutils 0.9.5b3

2008-06-07 Thread Christof Hoeke
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 in pickle

2008-05-23 Thread christof
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

Re: KeyError in pickle

2008-05-23 Thread christof
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

ANN: cssutils 0.9.5b2

2008-03-23 Thread Christof Hoeke
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

ANN: cssutils 0.9.5b1

2008-03-20 Thread Christof Hoeke
(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

SimpleHTTPServer send wrong Content-Length for text/* on Windows?

2008-02-26 Thread Christof Hoeke
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

ANN: cssutils 0.9.5a4

2008-02-22 Thread Christof Hoeke
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

ANN: cssutils 0.9.5a2

2008-01-16 Thread Christof Hoeke
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

Javascript parser

2008-01-08 Thread Christof Hoeke
to work in (C)Python only. thanks for any hint Christof -- http://mail.python.org/mailman/listinfo/python-list

ANN: cssutils 0.9.4b1

2007-12-29 Thread Christof Hoeke
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

state of XSLT2/XPath2 or XQuery in CPython

2007-12-26 Thread Christof Hoeke
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

Re: state of XSLT2/XPath2 or XQuery in CPython

2007-12-26 Thread Christof Hoeke
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

Re: list (range) syntax

2007-10-26 Thread Christof Winter
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

ANN: cssutils 0.9.4a1

2007-10-20 Thread Christof Hoeke
, 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

Re: 2 python questions!

2007-09-05 Thread Christof Winter
[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) --

Re: How to optimise this code?

2007-08-21 Thread Christof Winter
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()

ANN: cssutils 0.9.2b3

2007-08-05 Thread Christof Hoeke
://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

ANN: cssutils 0.9.2b2

2007-07-28 Thread Christof Hoeke
* 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

Re: Want to learn Python

2007-06-15 Thread Christof Winter
must admit. Cheers, Christof -- http://mail.python.org/mailman/listinfo/python-list

Re: Method much slower than function?

2007-06-14 Thread Christof Winter
) (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

Re: Python Help!!!

2007-06-13 Thread Christof Winter
further information. Cheers, Christof -- http://mail.python.org/mailman/listinfo/python-list

ANN: W3C batchvalidator script 1.6

2006-06-07 Thread Christof Höke
) 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

ANN: encutils 0.4

2005-08-18 Thread Christof
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

ANN: cssutils 0.8a2 (alpha release)

2005-08-01 Thread Christof
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