-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Hi Paul
On 11/10/12 01:43, Paul Dwerryhouse wrote: > There appears to be a problem with python-zookeeper's handling of > nodes with that have a total path length that is greater than 255 > characters. It can be demonstrated with this simple test program, > which creates a node with path length of 302 characters. The return > value from zookeeper.create should be exactly the same, in this > case, but instead, it is trucated at 255 characters: Digging into the python source code reveals that the buffer used to hold the path returned from zookeeper is only 256 bytes; the zookeeper C code truncates the path to fit the buffer resulting in the shortened return path. I agree that this does appear to be odd behaviour - I'll dig a bit deeper. - -- James Page Ubuntu Core Developer Debian Maintainer james.p...@ubuntu.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with undefined - http://www.enigmail.net/ iQIcBAEBCAAGBQJRE5WyAAoJEL/srsug59jDPrUP/iGwJFNeU9lAIg5hfZW6Rtlx b8U6nr4yb168SNB+dRJoBBtKO+dr9UqU0Rt2uGDa7aTKI6PT2zoKI4J3PgMpRwcH s7f8mgF/k0f1SHF9N7drSl2ewMinkVf9BWD1GdG/1l2E8PFmsflsQsY5UQAdEaBQ PfJuOlp6kfHCPEMCtaFCPghNE8Fbu+hQy49LeAzDTkKXzOkEW+QACtsP+ZCDEUxD I0UlT0IW2HK+flNIaR4neS40e1ENJWBuZLqKM4S4M3VXMG3NQL3T3jx2CUtLLBg3 UokAuAD45pMcGSFtAVaCO3FB6gQHv6jEfg3kRTdGEltwrLIb9Wd8RobVQ396H5Nc 53kjbLRpW0b6Ys53eY6bQafS+KaEfv0ZztJyfiCkkrkmFb8rWfQ2IN80t69M7UpF 860XZVUYtTzSW264m1ZI6tT4mDZDltAFY412+oqKgHfP5RGBfSBe600K0L8Y9Q8O sLdGCI0k0nkCpb2kki7zgNcR+pQCb+UMpBX4FMgArzoC90tKdrTkM6p99Q2PzBo4 RYQZLHxkHq/FjM/3QFg1mp0KM5d5Tp+VySXH04Q8UJvDfo6rDtL/gq5ROsTLrd/o GJwhOUphWStSad98VPpZGe3vlL0XuJh/fcUJlv7lOYPFD50dd/FBQZnzAe3MsmzF G2QcqkaeM80ARu5cyb9u =E3sy -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org