Am 21.09.2010 01:02, schrieb benjamin.peterson:
> Author: benjamin.peterson
> Date: Tue Sep 21 01:02:10 2010
> New Revision: 84931
> 
> Log:
> add column offset to all syntax errors
> Modified: python/branches/py3k/Misc/NEWS
> ==============================================================================
> --- python/branches/py3k/Misc/NEWS    (original)
> +++ python/branches/py3k/Misc/NEWS    Tue Sep 21 01:02:10 2010
> @@ -10,9 +10,8 @@
>  Core and Builtins
>  -----------------
>  
> -- Issue #9901: Destroying the GIL in Py_Finalize() can fail if some other
> -  threads are still running.  Instead, reinitialize the GIL on a second
> -  call to Py_Initialize().
> +- All SyntaxErrors now have a column offset and therefore a caret when the 
> error
> +  is printed.
>  
>  - Issue #9252: PyImport_Import no longer uses a fromlist hack to return the
>    module that was imported, but instead gets the module from sys.modules.
> @@ -59,10 +58,6 @@
>  Library
>  -------
>  
> -- Issue #9877: Expose sysconfig.get_makefile_filename()
> -
> -- logging: Added hasHandlers() method to Logger and LoggerAdapter.
> -
>  - Issue #1686: Fix string.Template when overriding the pattern attribute.
>  
>  - Issue #9854: SocketIO objects now observe the RawIOBase interface in

That change looks like and accident.

BTW, PyErr_SyntaxLocationEx needs a versionadded.

Georg

-- 
Thus spake the Lord: Thou shalt indent with four spaces. No more, no less.
Four shall be the number of spaces thou shalt indent, and the number of thy
indenting shall be four. Eight shalt thou not indent, nor either indent thou
two, excepting that thou then proceed to four. Tabs are right out.

_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to