The original GLUT implementation doesn't have cylinder functions, but freeglut does (source), (then, Python 2.7.1, PyOpenGL 3.0.1 with FreeGLUT 2.6.0 together work well on Ubuntu 12.04).
However, you can make a cylinder also with GLU functions, in Python:
quadratic = gluNewQuadric()
gluCylinder(quadratic, BASE, TOP, HEIGHT, SLICES, STACKS) # to draw the lateral parts of the cylinder;
gluDisk(quadratic, INNER_RADIUS, OUTER_RADIUS, SLICES, LOOPS) # call this two times in the appropriate environment to draw the top and bottom part of the cylinder with INNER_RADIUS=0.