summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Changes in anticipation of stricter str vs. bytes enforcement.Guido van Rossum2007-08-279-116/+98
|
* Additional test for formatting code.Eric Smith2007-08-272-4/+11
|
* Changes in anticipation of stricter str vs. bytes enforcement.Guido van Rossum2007-08-277-50/+57
|
* There should be no codecs left that return str8 intead of bytes.Guido van Rossum2007-08-271-7/+1
| | | | (And if there are, they will now get an error when used. So fix them!)
* Fix a few places that broke due to a recent change to io.py.Guido van Rossum2007-08-272-1/+3
|
* Changes to io.py and socket.py by Christian Heimes.Guido van Rossum2007-08-273-29/+83
| | | | | | | | | - Replace all asserts by ValuleErrors or TypeErrors as appropriate. - Add _checkReadable, _checkWritable methods; these check self.closed too. - Add a test that everything exported by io.py exists, and is either an exception or an IOBase instance (except for the open function). - Default buffering to 1 if isatty() (I had to tweak this to enforce the *default* bit -- GvR).
* Changes in anticipation of stricter str vs. bytes enforcement.Guido van Rossum2007-08-273-5/+5
|
* Changes in anticipation of stricter str vs. bytes enforcement.Guido van Rossum2007-08-2715-76/+78
|
* Changes preparing for stricter enforcement of bytes vs. str.Guido van Rossum2007-08-272-11/+15
|
* Added test to ensure __format__ methods return unicode objects.Eric Smith2007-08-271-4/+1
|
* Some changes in preparation of stricter rules about mixing str and bytes.Guido van Rossum2007-08-272-9/+14
|
* Fixed accidental indentation change.Eric Smith2007-08-271-1/+1
|
* PEP 3101: Removed _formatter_xxx routines from sysmodule, and made them ↵Eric Smith2007-08-274-397/+348
| | | | unicode methods instead (per GvR suggestion).
* Port the build_ssl.py script to Python 3.Thomas Heller2007-08-271-15/+15
|
* Fix refleaks in test_unicode and test_string related to the new format code.Neal Norwitz2007-08-274-38/+27
| | | | Stop polluting namespace.
* Make some internal functions staticNeal Norwitz2007-08-272-4/+4
|
* Fix some refleaks (and format/error checking)Neal Norwitz2007-08-271-9/+13
|
* This adds a leak, but fixes a crash. The leaking code is:Neal Norwitz2007-08-271-0/+1
| | | | | | "{0:.{precision}s}".format('hello world', precision=5) I pretty sure it's because of the 'precision' keyword. Still need to investigate further.
* Get gdb macros working with unicode and PyVarObject changeNeal Norwitz2007-08-271-3/+3
|
* Fix warningNeal Norwitz2007-08-271-1/+1
|
* Tkinter binding involving Control-spacebar raises unicode errorKurt B. Kaiser2007-08-271-2/+8
| | | | Issue1028
* Add a couple of files that are necessary based on getting PCbuil8 to work.Neal Norwitz2007-08-261-0/+6
| | | | Hopefully this works with VC7. If not, it should be pretty close.
* os.getcwd() now returns a normal string (ie, unicode)Neal Norwitz2007-08-261-5/+2
|
* Cosmetics in error messages.Guido van Rossum2007-08-261-3/+3
|
* Add some more files from 1031 that I missed.Neal Norwitz2007-08-261-0/+12
|
* Manually apply most of patch 1031 to try to get python to build on Windows.Neal Norwitz2007-08-262-21/+13
| | | | | | I skipped the adding of libraries because it was harder and I'm less confident about getting it right. Also I'm not sure why they are required now and weren't required before.
* Patch 1030, Adapt _winreg.c to the new buffer API.Neal Norwitz2007-08-261-7/+12
| | | | | Applying without testing since I don't have Windows. It seems to make sense from a cursory review.
* Use new print function (part of patch 1031)Neal Norwitz2007-08-261-1/+1
|
* PEP 3101: Completed string.Formatter class. Reimplemented field_name to ↵Eric Smith2007-08-267-197/+497
| | | | object transformation.
* Use the correct variable nameNeal Norwitz2007-08-261-1/+1
|
* Use unicode (hope it's right, I can't test it)Neal Norwitz2007-08-261-5/+5
|
* When elapsed and expected time differ, at least show their two values.Guido van Rossum2007-08-261-1/+2
|
* Pass PyBUF_CHARACTER instead of PyBUF_SIMPLE to PyObject_GetBuffer().Guido van Rossum2007-08-261-1/+1
| | | | | | | | This makes the failing tests (test_unicodedata and, on OSX, test_hashlib) pass. XXX However, I'm not sure that this is the right thing to do; this behavior means that Unicode strings are automatically hashed as their UTF-8 encoding. Is that what we want?
* Restore an assert, but move it to the proper place.Neal Norwitz2007-08-261-1/+1
|
* Use unicodeNeal Norwitz2007-08-261-39/+14
|
* Use unicode (and bytes as appropriate)Neal Norwitz2007-08-262-17/+17
|
* Use unicode and remove support for some uses of str8.Neal Norwitz2007-08-262-43/+20
|
* Use unicodeNeal Norwitz2007-08-261-8/+8
|
* Fix a couple of warningsNeal Norwitz2007-08-262-2/+2
|
* Use unicode (and bytes as appropriate)Neal Norwitz2007-08-261-24/+27
|
* Use unicodeNeal Norwitz2007-08-261-11/+11
|
* Use unicode and remove support for some uses of str8.Neal Norwitz2007-08-262-11/+14
|
* Use unicode and remove support for some uses of str8.Neal Norwitz2007-08-265-31/+15
|
* Use unicode and remove support for some uses of str8.Neal Norwitz2007-08-268-100/+59
|
* Fix another map(...) --> list(map...)Kurt B. Kaiser2007-08-261-1/+1
|
* Remove assert that seems out of place. It triggers with test_string,Neal Norwitz2007-08-261-2/+0
| | | | but without it test_string passes. I'm not sure why it was there.
* Use unicode and stop supporting str8Neal Norwitz2007-08-262-15/+9
|
* Use unicodeNeal Norwitz2007-08-261-2/+2
|
* Use the new buffer api for input data.Gregory P. Smith2007-08-262-28/+80
|
* Use unicodeNeal Norwitz2007-08-261-5/+5
|