[issue27268] Incorrect error message on float('')

2019-05-17 Thread Cheryl Sabella
Cheryl Sabella added the comment: @Drekin, thank you for the report, @Pedro Lacerda, thank you for the pull request, and @Nofar Schnider, thank you for the review. -- resolution: works for me -> fixed stage: patch review -> resolved status: open -> closed

[issue27268] Incorrect error message on float('')

2019-05-17 Thread Cheryl Sabella
Cheryl Sabella added the comment: New changeset 4fa7504ee3184cff064e23fe6799e717ed0f9357 by Cheryl Sabella (Pedro Lacerda) in branch 'master': bpo-27268: Fix incorrect error message on float('') (GH-2745) https://github.com/python/cpython/commit/4fa7504ee3184cff064e23fe6799e717ed0f9357

[issue27268] Incorrect error message on float('')

2017-09-24 Thread Henk-Jaap Wagenaar
Henk-Jaap Wagenaar added the comment: @Wolfgang I just created a PR, only to realise that Pedro already made one a while back: PR 2745 -- nosy: +Henk-Jaap Wagenaar ___ Python tracker

[issue27268] Incorrect error message on float('')

2017-09-24 Thread Henk-Jaap Wagenaar
Changes by Henk-Jaap Wagenaar : -- pull_requests: +3708 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue27268] Incorrect error message on float('')

2017-09-24 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: rhettinger -> versions: -Python 2.7, Python 3.5, Python 3.6 ___ Python tracker ___ ___

[issue27268] Incorrect error message on float('')

2017-07-17 Thread Pedro Lacerda
Changes by Pedro Lacerda : -- pull_requests: +2805 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue27268] Incorrect error message on float('')

2017-07-06 Thread Wolfgang Maier
Wolfgang Maier added the comment: Could somebody turn this into a PR to move things forward? I guess Nofar mistakenly set resolution to "works for me", but meant "patch works for me"? -- nosy: +wolma ___ Python tracker

[issue27268] Incorrect error message on float('')

2016-10-25 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: -serhiy.storchaka versions: +Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue27268] Incorrect error message on float('')

2016-09-09 Thread Łukasz Langa
Changes by Łukasz Langa : -- dependencies: +Strings passed to KeyError do not round trip ___ Python tracker ___ ___ Python-bugs-list m

[issue27268] Incorrect error message on float('')

2016-09-09 Thread Nofar Schnider
Nofar Schnider added the comment: Assigning to Raymond for final approval. -- assignee: Nofar Schnider -> rhettinger resolution: -> works for me ___ Python tracker ___ _

[issue27268] Incorrect error message on float('')

2016-09-09 Thread Nofar Schnider
Nofar Schnider added the comment: Tested and reviewed the patch on the relevant versions. Works well! -- stage: -> patch review ___ Python tracker ___ __

[issue27268] Incorrect error message on float('')

2016-09-06 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: rhettinger -> Nofar Schnider nosy: +Nofar Schnider ___ Python tracker ___ ___ Python-bugs-

[issue27268] Incorrect error message on float('')

2016-09-01 Thread Raymond Hettinger
Raymond Hettinger added the comment: Setting this aside for Nofar to review. -- assignee: -> rhettinger nosy: +rhettinger ___ Python tracker ___

[issue27268] Incorrect error message on float('')

2016-06-15 Thread Pedro Lacerda
Pedro Lacerda added the comment: Following the bug pointed by Adam and Eryk. -- keywords: +patch nosy: +Pedro Lacerda Added file: http://bugs.python.org/file43405/float.patch ___ Python tracker

[issue27268] Incorrect error message on float('')

2016-06-08 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +mark.dickinson, serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue27268] Incorrect error message on float('')

2016-06-08 Thread Eryk Sun
Eryk Sun added the comment: > The message comes from Objects/floatobject.c:183 No, in this case the error is set in PyOS_string_to_double in Python/pystrtod.c, because `fail_pos == s`, and it doesn't get replaced in PyFloat_FromString because `end == last`. The format string in PyOS_string_to

[issue27268] Incorrect error message on float('')

2016-06-08 Thread Adam Bartoš
New submission from Adam Bartoš: >>> float('foo') ValueError: could not convert string to float: 'foo' >>> float('') ValueError: could not convert string to float: should be ValueError: could not convert string to float: '' The message comes from Objects/floatobject.c:183 but I don't understan