New Shannock Switch, Rhode Island

New Shannock Switch is a small unincorporated village in Charlestown, Rhode Island, United States. It is located to the east of the village of Shannock in Richmond, Rhode Island and comprises the eastern part of the Shannock Historic District.

Overview

New Shannock Switch is separated from the larger village of Shannock by the Pawcatuck River, which divides the towns of Richmond and Charlestown. Amtrak's Northeast Corridor runs through New Shannock Switch after leaving Shannock. After running through the village it crosses the Pawcatuck again, reentering Richmond in the village of Kenyon.

The Shannock Baptist Church is located in New Shannock Switch, as well as many historic houses. Because it is located in Charlestown, the zip code for the village is 02813.

gollark: Anyway, it compiles your entry to a shared library then invokes it via ctypes. I thought that this would be more elegant and efficient a
gollark: And yet it has GLOBALS in it?
gollark: ```pythondef c_wrapper(file): print("Compiling", file) temp = tempfile.mktemp(prefix="lib-compile-") print(temp) if subprocess.run(["gcc", file, "-o", temp, "-shared"]).returncode != 0: raise ValueError("compilation failed") library = ctypes.CDLL(temp) entry = library.entry entry.restype = ctypes.POINTER(ctypes.c_int)```Here's a bit of the *excellent* code.
gollark: Your entry is a function, it doesn't start up a process on every iteration or it would go slower.
gollark: How is not arbitrarily zeroing things "unusual"?

References



    This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.