url_for(x, y, z, anchor=1) generates //someurl/somedoc#1

url_for(x, y, z, anchor=2) generates //someurl/somedoc#2

etc

but

url_for(x, y, z, anchor=0) generates //someurl/somedoc?anchor=0


Easy to work around but I'm interested to know if is this a bug or  
correct behavior.  I'm guessing that anchor=0 is the same as  
anchor=None but I would have thought that this should result in no  
anchor or anchor parameter.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to