[issue19696] Merge all (non-syntactic) import-related tests into test_importlib

2019-06-16 Thread Gil Forcada Codinachs
Gil Forcada Codinachs added the comment: At least test_namespace_pkgs is already moved, see https://bugs.python.org/issue21097 Should then this issue be closed? I see that there are a few other tests that have import on its name and are outside either test_import or test_importlib

[issue9267] Update pickle opcode documentation in pickletools for 3.x

2019-06-16 Thread Gil Forcada Codinachs
Gil Forcada Codinachs added the comment: pickletools documentation is here: https://docs.python.org/3/library/pickletools.html#module-pickletools Sources are here: https://github.com/python/cpython/blob/master/Doc/library/pickletools.rst -- nosy: +gforcada

[issue33211] lineno and col_offset are wrong on function definitions with decorators

2018-04-02 Thread Gil Forcada
New submission from Gil Forcada : Given the following code: class MyClass(object): @property def my_function(self): pass Parsing it with ast module, the lineno and col_offset of the ast.FunctionDef is reported to be where the decorator starts (i.e. line 3 column 4) rather than where

[issue23494] adding timedelta to datetime object is not timezone aware

2015-02-20 Thread Gil Shotan
New submission from Gil Shotan: I encountered a strange bug involving timezone aware datetime objects and timedelta objects. The crux of the matter is that daylight savings time is considered a different timezone, and therefore the timezone of a datetime object is date dependent. However

[issue4952] Running Python Script to Run a C++ Code

2009-01-14 Thread Gil
New submission from Gil : Attached you will find my attachment "testdll.zip", my dilemma was how to run the attached C++ program using python scripts. Please advise. Thanks, Gil -- components: IDLE files: testdll.zip messages: 79888 nosy: dominade27 severity: normal st