An error occurred fetching the project authors.
- 13 Jan, 2018 1 commit
-
-
Stefan Behnel authored
Evaluate multiplication of string literals at compile time if the result is short (<= 256 characters).
-
- 11 Feb, 2017 1 commit
-
-
Stefan Behnel authored
-
- 02 Sep, 2015 1 commit
-
-
Stefan Behnel authored
fix bytes literal creation from compile-time DEF expressions (used to become Unicode strings due to missing encoding)
-
- 08 Aug, 2015 1 commit
-
-
Stefan Behnel authored
-
- 26 Jul, 2015 1 commit
-
-
Stefan Behnel authored
-
- 25 Jul, 2015 1 commit
-
-
Stefan Behnel authored
-
- 17 Jun, 2014 1 commit
-
-
Stefan Behnel authored
-
- 15 Mar, 2013 1 commit
-
-
Stefan Behnel authored
-
- 07 Mar, 2013 1 commit
-
-
Nikita Nemkin authored
-
- 06 Mar, 2013 1 commit
-
-
Nikita Nemkin authored
-
- 05 Mar, 2013 1 commit
-
-
Nikita Nemkin authored
Renamed Py_UNICODE* entities to use "pyunicode_ptr" prefix; fixed small issues in Py_UNICODE* support.
-
- 03 Mar, 2013 2 commits
-
-
Nikita Nemkin authored
-
Nikita Nemkin authored
-
- 10 Jan, 2013 2 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
- 06 Jan, 2013 1 commit
-
-
Stefan Behnel authored
-
- 03 Oct, 2011 1 commit
-
-
Mark Florisson authored
-
- 12 Jan, 2011 1 commit
-
-
Robert Bradshaw authored
-
- 04 Sep, 2010 1 commit
-
-
Stefan Behnel authored
support redundant parsing of string literals as unicode *and* bytes string, fix 'str' literal assignments to char* targets when using Future.unicode_literals
-
- 09 Aug, 2010 1 commit
-
-
Stefan Behnel authored
-
- 03 Jul, 2010 2 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
- 12 Feb, 2010 1 commit
-
-
Robert Bradshaw authored
-
- 05 Feb, 2010 1 commit
-
-
Robert Bradshaw authored
(There may not be enough line breaks...)
-
- 10 Oct, 2009 1 commit
-
-
Stefan Behnel authored
-
- 21 Aug, 2009 3 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
- 08 Jul, 2009 1 commit
-
-
Stefan Behnel authored
-
- 06 Jul, 2009 3 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
Stefan Behnel authored
-
- 05 Jul, 2009 2 commits
-
-
Stefan Behnel authored
-
Stefan Behnel authored
-
- 16 Aug, 2008 1 commit
-
-
Robert Bradshaw authored
-
- 15 Aug, 2008 2 commits
-
-
david@evans-2.local authored
-
Stefan Behnel authored
String literals pass through the compiler as follows: - unicode string literals are stored as unicode strings and encoded to UTF-8 on the way out - byte string literals are stored as correctly encoded byte strings by unescaping the source string literal into the corresponding byte sequence. No further encoding is done later on! - char literals are stored as byte strings of length 1. This can be verified by the parser now, e.g. a non-ASCII char literal in UTF-8 source code will result in an error, as it would end up as two or more bytes in the C code, which can no longer be represented as a C char. Storing byte strings is necessary as we otherwise loose the ability to encode byte string literals on the way out. They do not necessarily contain only bytes that fit into the source code encoding as the source can use escape sequences to represent them. Previously, ASCII encoded source code could not contain byte string literals with properly escaped non-ASCII bytes. Another bug that was fixed: in Python, escape sequences behave different in unicode strings (where they represent the character code) and byte strings (where they represent a byte value). Previously, they resulted in the same byte value in Cython code. This is only a problem for non-ASCII escapes, since the character code and the byte value of ASCII characters are identical.
-