[issue1138] Fixer needed for __future__ imports

2007-11-23 Thread Christian Heimes

Changes by Christian Heimes:


--
keywords: +py3k
versions: +Python 3.0

__
Tracker <[EMAIL PROTECTED]>

__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1034] [patch] Add 2to3 support for displaying warnings as Python comments

2007-11-23 Thread Christian Heimes

Changes by Christian Heimes:


--
keywords: +py3k
versions: +Python 3.0

__
Tracker <[EMAIL PROTECTED]>

__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1755179] Deadlocks with fork() and multithreading

2007-11-23 Thread Christian Heimes

Christian Heimes added the comment:

It sounds like the importer dead lock problem. These problems are almost
impossible to unit test because they are usually race conditions.

I don't see a problem in moving the import to the module name space.
errno is a built-in module and the import isn't costly.

--
nosy: +tiran

_
Tracker <[EMAIL PROTECTED]>

_
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1746656] IPv6 Interface naming/indexing functions

2007-11-23 Thread Christian Heimes

Christian Heimes added the comment:

How do you know that the patch is working when you don't know how to
test it? Nobody is going to apply new features without unit tests.

--
nosy: +tiran

_
Tracker <[EMAIL PROTECTED]>

_
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue765228] Subclassing from Modules

2007-11-23 Thread Christian Heimes

Christian Heimes added the comment:

I agree. Python can't stop the developer from doing stupid things. We
could remove Py_TPFLAGS_BASETYPE from the module type but that could
cause incompatibilities with existing code.

I'm assigning the bug to our beloved dictator to ask for his opinion.

--
assignee:  -> gvanrossum
nosy: +gvanrossum, tiran
resolution:  -> wont fix
status: open -> pending


Tracker <[EMAIL PROTECTED]>


___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1767787] MSVC++8 x86 tkinter build patch for trunk

2007-11-23 Thread Christian Heimes

Christian Heimes added the comment:

I've fixed the builds a while ago.

--
nosy: +tiran
resolution:  -> fixed
status: open -> closed

_
Tracker <[EMAIL PROTECTED]>

_
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1189216] zipfile module and 2G boundary

2007-11-23 Thread Christian Heimes

Changes by Christian Heimes:


--
components: +Library (Lib) -None
versions: +Python 2.6, Python 3.0

_
Tracker <[EMAIL PROTECTED]>

_
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue444582] Finding programs in PATH, addition to os

2007-11-23 Thread Christian Heimes

Christian Heimes added the comment:

I'm +1 with adding a which function. IMO the appropriate place is shutil
and not os.

--
keywords: +patch
nosy: +tiran
versions: +Python 2.6, Python 3.0


Tracker <[EMAIL PROTECTED]>


___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1731068] Importing a submodule fails after unloading its parent

2007-11-23 Thread Christian Heimes

Christian Heimes added the comment:

Yes, it's fixed in Python 2.5 and newer.

--
nosy: +tiran
resolution:  -> out of date
status: open -> closed

_
Tracker <[EMAIL PROTECTED]>

_
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1620174] Improve platform.py usability on Windows

2007-11-23 Thread Christian Heimes

Changes by Christian Heimes:


--
components: +Library (Lib) -None
versions: +Python 2.6

_
Tracker <[EMAIL PROTECTED]>

_
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1735632] Add O_NOATIME to os module

2007-11-23 Thread Christian Heimes

Changes by Christian Heimes:


--
versions: +Python 2.6, Python 3.0

_
Tracker <[EMAIL PROTECTED]>

_
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1230540] sys.excepthook doesn't work in threads

2007-11-23 Thread Christian Heimes

Changes by Christian Heimes:


--
versions: +Python 2.5, Python 2.6 -Python 2.4

_
Tracker <[EMAIL PROTECTED]>

_
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1490] Bug in eval() function

2007-11-23 Thread Martin v. Löwis

Martin v. Löwis added the comment:

Why do you think this is a bug? 08 really is a syntax error, and 010
really means 8.

--
nosy: +loewis
resolution:  -> invalid
status: open -> closed

__
Tracker <[EMAIL PROTECTED]>

__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1675455] Use getaddrinfo() in urllib2.py for IPv6 support

2007-11-23 Thread Christian Heimes

Changes by Christian Heimes:


--
versions: +Python 2.6, Python 3.0

_
Tracker <[EMAIL PROTECTED]>

_
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1269] Exception in pstats print_callers()

2007-11-23 Thread Thomas Herve

Thomas Herve added the comment:

1315 is a duplicate of this, and I end up with a very similar solution.

--
nosy: +therve

__
Tracker <[EMAIL PROTECTED]>

__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1315] Bug in pstats.print_callers

2007-11-23 Thread Thomas Herve

Thomas Herve added the comment:

The real bug is in fact in add_callers, where it concatenates tuples
instead of adding the values. I'll try to write a test this week-end if
nobody beats me to it.

The attached is against current trunk.

--
nosy: +therve
Added file: http://bugs.python.org/file8797/1315.diff

__
Tracker <[EMAIL PROTECTED]>

__Index: Lib/pstats.py
===
--- Lib/pstats.py   (revision 59136)
+++ Lib/pstats.py   (working copy)
@@ -512,7 +512,7 @@
 new_callers[func] = caller
 for func, caller in source.iteritems():
 if func in new_callers:
-new_callers[func] = caller + new_callers[func]
+new_callers[func] = tuple([i[0] + i[1] for i in zip(caller, 
new_callers[func])])
 else:
 new_callers[func] = caller
 return new_callers
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1474] PCbuild9 patch for trunk

2007-11-23 Thread Christian Heimes

Changes by Christian Heimes:


--
resolution:  -> fixed
status: open -> closed

__
Tracker <[EMAIL PROTECTED]>

__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1402] Interpreter cleanup: order of _PyGILState_Fini and PyInterpreterState_Clear

2007-11-23 Thread Amaury Forgeot d'Arc

Amaury Forgeot d'Arc added the comment:

I managed to reproduce the problem consistently with the following code:

import ctypes, sys, time, thread

# Module globals are cleared before __del__ is run
# So save the functions in class dict
class C:
ensure = ctypes.pythonapi.PyGILState_Ensure
release = ctypes.pythonapi.PyGILState_Release
def __del__(self):
state = self.ensure()
self.release(state)

def waitingThread():
x = C()
time.sleep(100)

thread.start_new_thread(waitingThread, ())
time.sleep(1)
sys.exit(42)


On exit, PyInterpreterState_Clear stops the sleeping thread and free its
local variables. But at this time _PyGILState_Fini has already been
called...

The initial patch also corrects this problem. I join another patch,
which adds the above code in a testcase.

Ready to check-in, but can someone have a look?

--
nosy: +amaury.forgeotdarc
Added file: http://bugs.python.org/file8798/test_gilstate.patch

__
Tracker <[EMAIL PROTECTED]>

__

test_gilstate.patch
Description: Binary data
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1488] PCBuild9 _ssl.vcproj improperly launches build

2007-11-23 Thread Christian Heimes

Changes by Christian Heimes:


--
status: pending -> closed

__
Tracker <[EMAIL PROTECTED]>

__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1488] PCBuild9 _ssl.vcproj improperly launches build

2007-11-23 Thread Christian Heimes

Christian Heimes added the comment:

out32 is the correct directory. The windows version of Python is
statically linked against the SSL libs. We don't want to ship yet
another DLL.

__
Tracker <[EMAIL PROTECTED]>

__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1488] PCBuild9 _ssl.vcproj improperly launches build

2007-11-23 Thread Joseph Armbruster

Joseph Armbruster added the comment:

Looks like the libpaths were pointing to out32 instead of out32.dll. 
Although that may have been due to my switch from nt.mak to ntdll.mak.

__
Tracker <[EMAIL PROTECTED]>

__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1492] BaseHTTPServer hard-codes Content-Type for error messages

2007-11-23 Thread samwyse

Changes by samwyse:


--
components: +Library (Lib)
type:  -> behavior
versions: +Python 2.4, Python 2.5, Python 2.6, Python 3.0

__
Tracker <[EMAIL PROTECTED]>

__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1620174] Improve platform.py usability on Windows

2007-11-23 Thread Marc-Andre Lemburg

Marc-Andre Lemburg added the comment:

Rejecting the patch, since it hasn't been updated.

--
resolution:  -> rejected
status: open -> closed

_
Tracker <[EMAIL PROTECTED]>

_
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1754273] Deprecation warning for <> (NOTEQUAL)

2007-11-23 Thread Christian Heimes

Christian Heimes added the comment:

Applied in r59132
Thanks!

--
nosy: +tiran
resolution:  -> fixed
status: open -> closed

_
Tracker <[EMAIL PROTECTED]>

_
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1732145] python 2.6 latest fails test_socketserver.py

2007-11-23 Thread Christian Heimes

Christian Heimes added the comment:

I'm closing the bug report because it's pretty old and I haven't seen a
problem with the test in the past. Please open another bug if the
problem still persists.

--
nosy: +tiran
resolution:  -> works for me
status: open -> closed

_
Tracker <[EMAIL PROTECTED]>

_
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1315] Bug in pstats.print_callers

2007-11-23 Thread Thomas Herve

Thomas Herve added the comment:

Oh I didn't see, but this one should probably closed as duplicate of 1269.

__
Tracker <[EMAIL PROTECTED]>

__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1486] Idle tab command completion

2007-11-23 Thread Grant Delaney

Grant Delaney added the comment:

You can remove this issue. It was a compile problem on my side, missing
libs etc.

__
Tracker <[EMAIL PROTECTED]>

__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1754271] Deprecation warning for `backticks`

2007-11-23 Thread Christian Heimes

Christian Heimes added the comment:

Applied in r59132
Thanks!

--
nosy: +tiran
resolution:  -> fixed
status: open -> closed

_
Tracker <[EMAIL PROTECTED]>

_
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1764286] inspect.getsource does not work with decorated functions

2007-11-23 Thread Christian Heimes

Christian Heimes added the comment:

I'm setting the target to 2.6 and 3.0. Maybe somebody can come up with a
sensible patch.

--
nosy: +tiran
title: 
Now:
  inspect.getsource does not work with decorated functions
Was:
  inspect.getsource does not work with decorated functions
versions: +Python 2.6, Python 3.0 -Python 2.5

_
Tracker <[EMAIL PROTECTED]>

_
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1491] BaseHTTPServer incorrectly implements response code 100

2007-11-23 Thread samwyse

New submission from samwyse:

RFC 2616 sec 8.2.3 states, "An origin server that sends a 100 (Continue)
response MUST ultimately send a final status code, once the request body
is received and processed, unless it terminates the transport connection
prematurely."  The obvious way to do this is to invoke the
'send_response' method twice, once with a code of 100, then with the
final code.  However, BaseHTTPServer will always send two headers
('Server' and 'Date') when it send a response.  One possible fix is to
add an option to the method to suppress sending headers; another is to
add the following code to the 'send_response' method, immediately prior
to the calls to 'self.send_header':

if code == 100:
return

The more paranoid among us may wish to use this code instead:

if code == 100:
expectation = self.headers.get('Expect', "")
if expectation.lower() == '100-continue':
return

--
components: Library (Lib)
messages: 57783
nosy: samwyse
severity: normal
status: open
title: BaseHTTPServer incorrectly implements response code 100
type: behavior
versions: Python 2.4, Python 2.5, Python 2.6, Python 3.0

__
Tracker <[EMAIL PROTECTED]>

__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1492] BaseHTTPServer hard-codes Content-Type for error messages

2007-11-23 Thread samwyse

New submission from samwyse:

The send_error method always sends a Content-Type of 'text/html'.  Other
content types are both possible and desirable.  For example, someone
writing a REST server might wish to send XML error messages.  Following
the example of DEFAULT_ERROR_MESSAGE, I propose adding the following in
the appropriate places:

91a92,94
> # Default error content-type
> DEFAULT_ERROR_TYPE = 'text/html'
>
345c348
< self.send_header("Content-Type", "text/html")
---
> self.send_header("Content-Type", error_message_type)
351a355
> error_message_type = DEFAULT_ERROR_TYPE

--
messages: 57784
nosy: samwyse
severity: normal
status: open
title: BaseHTTPServer hard-codes Content-Type for error messages

__
Tracker <[EMAIL PROTECTED]>

__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1488] PCBuild9 _ssl.vcproj improperly launches build

2007-11-23 Thread Joseph Armbruster

Joseph Armbruster added the comment:

Whoops.  This may have been an error on my part.  nt.mak I think bombed
for me except it was probably due to some of my tinkering.  My apologies.

__
Tracker <[EMAIL PROTECTED]>

__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1429818] trace.py needs to know about doctests

2007-11-23 Thread Skip Montanaro

Skip Montanaro added the comment:

Applied in r59317 (trunk) and r59318 (release25-maint).

--
assignee:  -> skip.montanaro
nosy: +skip.montanaro
resolution:  -> accepted
status: open -> closed

_
Tracker <[EMAIL PROTECTED]>

_
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1486] Idle tab command completion

2007-11-23 Thread Facundo Batista

Facundo Batista added the comment:

Rejected as requested by the OP.

--
resolution:  -> rejected
status: open -> closed

__
Tracker <[EMAIL PROTECTED]>

__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1256] subprocess Popen wait() function hangs when stdout is > 20480

2007-11-23 Thread Ivan Pozdeev

Ivan Pozdeev added the comment:

I suggest adding this as a note to the subprocess module documentation instead. 
The "17.1.2 Popen Objects" section seems to be the right place.

--
nosy: +Vano

__
Tracker <[EMAIL PROTECTED]>

__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1409] new keyword-only function parameters interact badly with nested functions

2007-11-23 Thread Amaury Forgeot d'Arc

Amaury Forgeot d'Arc added the comment:

Corrected as r59155.
Thanks for the report!

--
nosy: +amaury.forgeotdarc
resolution:  -> fixed
status: open -> closed

__
Tracker <[EMAIL PROTECTED]>

__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1770416] Decimal.__int__ overflows for large values

2007-11-23 Thread Facundo Batista

Facundo Batista added the comment:

This was fixed at the same time than issue 1772851.

int(D("1e1234567890987654321")) stills take too long, but this is fault
of doing 10**1234567890987654321 to convert it to an int.

Note that hash(D("1e1234567890987654321")) is fast now.

--
resolution:  -> fixed
status: open -> closed

_
Tracker <[EMAIL PROTECTED]>

_
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1493] Patch to remove unbound methods

2007-11-23 Thread Christian Heimes

New submission from Christian Heimes:

Here is a first patch to remove unbound method objects.

6 tests failed:
test_descr test_inspect test_pyclbr test_typechecks test_unittest
test_weakref

--
assignee: gvanrossum
components: Interpreter Core
files: py3k_remove_unbound.patch
keywords: patch, py3k
messages: 57798
nosy: gvanrossum, tiran
priority: high
severity: normal
status: open
title: Patch to remove unbound methods
type: rfe
versions: Python 3.0
Added file: http://bugs.python.org/file8799/py3k_remove_unbound.patch

__
Tracker <[EMAIL PROTECTED]>

__Index: Objects/funcobject.c
===
--- Objects/funcobject.c	(Revision 59163)
+++ Objects/funcobject.c	(Arbeitskopie)
@@ -643,8 +643,10 @@
 static PyObject *
 func_descr_get(PyObject *func, PyObject *obj, PyObject *type)
 {
-	if (obj == Py_None)
-		obj = NULL;
+	if (obj == Py_None || obj == NULL) {
+		Py_INCREF(func);
+		return func;
+	}
 	return PyMethod_New(func, obj, type);
 }
 
Index: Lib/DocXMLRPCServer.py
===
--- Lib/DocXMLRPCServer.py	(Revision 59163)
+++ Lib/DocXMLRPCServer.py	(Arbeitskopie)
@@ -74,7 +74,7 @@
 title = '%s' % (anchor, name)
 
 if inspect.ismethod(object):
-args, varargs, varkw, defaults = inspect.getargspec(object.im_func)
+args, varargs, varkw, defaults = inspect.getargspec(object)
 # exclude the argument bound to the instance, it will be
 # confusing to the non-Python user
 argspec = inspect.formatargspec (
Index: Lib/test/test_extcall.py
===
--- Lib/test/test_extcall.py	(Revision 59163)
+++ Lib/test/test_extcall.py	(Arbeitskopie)
@@ -231,18 +231,8 @@
 x = Foo()
 print(Foo.method(*(x, 1, 2)))
 print(Foo.method(x, *(1, 2)))
-try:
-print(Foo.method(*(1, 2, 3)))
-except TypeError as err:
-pass
-else:
-print('expected a TypeError for unbound method call')
-try:
-print(Foo.method(1, *(2, 3)))
-except TypeError as err:
-pass
-else:
-print('expected a TypeError for unbound method call')
+print(Foo.method(*(1, 2, 3)))
+print(Foo.method(1, *(2, 3)))
 
 # A PyCFunction that takes only positional parameters should allow an
 # empty keyword dictionary to pass without a complaint, but raise a
Index: Lib/test/test_repr.py
===
--- Lib/test/test_repr.py	(Revision 59163)
+++ Lib/test/test_repr.py	(Arbeitskopie)
@@ -280,8 +280,8 @@
 ''')
 from areallylongpackageandmodulenametotestreprtruncation.areallylongpackageandmodulenametotestreprtruncation import qux
 # Unbound methods first
-eq(repr(qux..amethod),
-'')
+self.failUnless(repr(qux..amethod).startswith(
+'>> C().foo()
-Traceback (most recent call last):
- ...
-TypeError: unbound method foo() must be called with B instance as first argument (got C instance instead)
+called A.foo()
 
 >>> class C(A):
 ... def foo(self):
Index: Lib/test/test_descr.py
===
--- Lib/test/test_descr.py	(Revision 59163)
+++ Lib/test/test_descr.py	(Arbeitskopie)
@@ -280,12 +280,12 @@
 
 c = C()
 vereq(interesting(dir(c)), cstuff)
-verify('im_self' in dir(C.Cmethod))
+#verify('im_self' in dir(C.Cmethod))
 
 c.cdata = 2
 c.cmethod = lambda self: 0
 vereq(interesting(dir(c)), cstuff + ['cdata', 'cmethod'])
-verify('im_self' in dir(c.Cmethod))
+#verify('im_self' in dir(c.Cmethod))
 
 class A(C):
 Adata = 1
@@ -293,13 +293,13 @@
 
 astuff = ['Adata', 'Amethod'] + cstuff
 vereq(interesting(dir(A)), astuff)
-verify('im_self' in dir(A.Amethod))
+#verify('im_self' in dir(A.Amethod))
 a = A()
 vereq(interesting(dir(a)), astuff)
 a.adata = 42
 a.amethod = lambda self: 3
 vereq(interesting(dir(a)), astuff + ['adata', 'amethod'])
-verify('im_self' in dir(a.Amethod))
+#verify('im_self' in dir(a.Amethod))
 
 # Try a module subclass.
 import sys
@@ -1504,8 +1504,11 @@
 vereq(D.foo(d, 1), (d, 1))
 class E: # *not* subclassing from C
 foo = C.foo
-vereq(E().foo, C.foo) # i.e., unbound
-verify(repr(C.foo.__get__(C())).startswith(">
+verify(r.startswith(">
+verify(r.startswith(" za() takes exactly 1 positional argument (0 given)
 za () {'a': 'aa'} -