A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2001-September/017611.html below:

[Python-Dev] Null bytes in source code

[Python-Dev] Null bytes in source code [Python-Dev] Null bytes in source codeGreg Ward gward@mems-exchange.org
Tue, 25 Sep 2001 17:25:48 -0400
Weird: in the current CVS, certain files in Lib have null bytes (ASCII
0) in them.  Install-time byte-compilation complains about this, so
"make install" fails.

Eg. here's what "less Lib/reconvert.py" shows me me:

------------------------------------------------------------------------
#! /usr/bin/env python1.5

r"""Convert old ("regex") regular expressions to new syntax ("re").

When imported as a module, there are two functions, with their own
strings:

  convert(s, syntax=None) -- convert a regex regular expression to re syntax

 ^@^@^@^@te(s) -- return a quoted string literal
[...]
------------------------------------------------------------------------

Those "^@"'s are really ASCII 0 -- I checked with "od -c".

Am I on drugs here?

-- 
Greg Ward - software developer                gward@mems-exchange.org
MEMS Exchange                            http://www.mems-exchange.org



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4