An anonymous reader writes: French freedom of information law now treats source code as disclosable in the same way as other government records. The new "Digital Republic" law took effect Saturday, with its publication in France's Official Journal. It adds source code to the long list of government document types that must be released in certain circumstances: dossiers, reports, studies, minutes, transcripts, statistics, instructions, memoranda, ministerial replies, correspondence, opinions, forecasts and decisions. But it also adds a new exception to existing rules on access to administrative documents and reuse of public information, giving officials plenty of reasons to refuse to release code on demand. These rules already allow officials to block the publication of documents they believe threaten national security, foreign policy, personal safety, or matters before court or under police investigation, among things. Now they can oppose publication if they believe it threatens the security of government information systems.