Labels: Type-Defect Priority-Medium
New issue 680 by dbertoui...@gmail.com: Python pickling depends on the path
used during compilaton
What steps will reproduce the problem?
1. Extract the test files
2. Run make in the root directory followed by python test.py. It should
raise an exception.
3. Run make in the libs directory followed by python test.py. It should
4. Run make in the libs/pblib directory followed by python test.py. It
should raise an exception.
What is the expected output? What do you see instead?
I would expect the test.py script to run without exception each time.
What version of the product are you using? On what operating system?
* protobuf 2.6.0
* py27-protobuf 2.6.0
* python 2.7.8
* FreeBSD 10.0
Please provide any additional information below.
The path used during compilation seems to be convertible to a valid import
statement in the Python application using the protobuf. For example, if the
protobuf is compiled with 'protoc --python_out=. obj.proto' then 'import
obj_pb2' must be valid in the python application using it.
pb26-pickle-test.tar.gz 550 bytes
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
You received this message because you are subscribed to the Google Groups "Protocol
To unsubscribe from this group and stop receiving emails from it, send an email
To post to this group, send email to email@example.com.
Visit this group at http://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.