Comment #2 on issue 3401 by sven.van...@gmail.com: Comparison of Urls is not possible yet http://code.google.com/p/pharo/issues/detail?id=3401 The URL/URI classes/hierarchy is problematic, so there is no easy solution. I know that Cedrick is just trying to help here. But converting an object to its string representation to compare it feels wrong (inefficient, incorrect, lazy, inelegant). The point of having an object representing something using semanticaly meaningful parts is to do useful things with it, like comparing two instances. In ZnUrl (a class only dealing with HTTP URLs) I did implement #=, but not to my full satisfaction. This is a hard problem, consider some of the following: http://www.pharo.st = pharo.st http://www.pharo.st:80 = http://www.pharo.st http://www.pharo.st/ = http://www.pharo.st And this is only in the context of HTTP. Sven