Im using the inline console for retrieving vertex data of a plane triangle, but the vertexes z axis value seem to be wrong.
Link to picture
if you use the "old" bpy api, you need to toggle edit mode, or you will still get the vertex locations as they were before you entered edit mode.
you can avoid changing mode by using the bmesh module
I'm sitting, waiting, wishing, building Blender in superstition...