[issue38993] cProfile behaviour issue with decorator and math.factorial() lib.

2019-12-16 Thread AVicennA
Change by AVicennA : -- resolution: not a bug -> later ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38993] cProfile behaviour issue with decorator and math.factorial() lib.

2019-12-16 Thread AVicennA
Change by AVicennA : Removed file: https://bugs.python.org/file48764/cProfiling.txt ___ Python tracker ___ ___ Python-bugs-list mailing

[issue38993] cProfile behaviour issue with decorator and math.factorial() lib.

2019-12-16 Thread Mark Dickinson
Change by Mark Dickinson : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue38993] cProfile behaviour issue with decorator and math.factorial() lib.

2019-12-13 Thread AVicennA
AVicennA added the comment: @rhettinger, I did not write nowhere in my post that it's a pure bug. I use "behaviour" instead of it. And it getting me incorrect results everytime, that is why I should wrote it in here for resolving this problem. This is not about getting error message, that

[issue38993] cProfile behaviour issue with decorator and math.factorial() lib.

2019-12-13 Thread Raymond Hettinger
Raymond Hettinger added the comment: This doesn't seem like an appropriate use of the bug tracker. Investigating and explaining cProfile results seems better suited for StackOverflow or some other forum. Then if an actual known bug or potential optimization arises, the bug tracker can to

[issue38993] cProfile behaviour issue with decorator and math.factorial() lib.

2019-12-13 Thread AVicennA
AVicennA added the comment: In official documentation: https://docs.python.org/3/library/profile.html was not noted about the difference behaviour of cProfile in command line and into the file. -- ___ Python tracker

[issue38993] cProfile behaviour issue with decorator and math.factorial() lib.

2019-12-08 Thread AVicennA
AVicennA added the comment: In short, here are different behaviours in increasing steps of values, which are (based on my researching) giving incorrect results in relation to each other. Given example: import functools import cProfile def decor(func): @functools.wraps(func) def

[issue38993] cProfile behaviour issue with decorator and math.factorial() lib.

2019-12-08 Thread Mark Dickinson
Mark Dickinson added the comment: @AVicennA Can you clarify exactly which part of the output you find surprising, and why, and what result you expected instead? It's a little hard to tell which details in your message we're supposed to be looking at. -- nosy: +mark.dickinson

[issue38993] cProfile behaviour issue with decorator and math.factorial() lib.

2019-12-08 Thread AVicennA
AVicennA added the comment: Hello, I use decorators in my Python project. I tested project with cProfile(profiling). Then, I decide did test with some decorator code fragments. Some results were surprising: import functools import cProfile def decor(func): @functools.wraps(func)

[issue38993] cProfile behaviour issue with decorator and math.factorial() lib.

2019-12-08 Thread Pablo Galindo Salgado
New submission from Pablo Galindo Salgado : Please, could you write a description to this issue here instead of the attached file? -- nosy: +pablogsal ___ Python tracker ___

[issue38993] cProfile behaviour issue with decorator and math.factorial() lib.

2019-12-07 Thread AVicennA
Change by AVicennA : -- components: Library (Lib) files: cProfiling.txt nosy: AvicennA priority: normal severity: normal status: open title: cProfile behaviour issue with decorator and math.factorial() lib. type: behavior versions: Python 3.8 Added file: