[issue42114] Documentation of ctypes.CDLL does not correspond to code

2021-12-10 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset c1051e08b3c6d9045322763876a4b0aea98d79f9 by Louis Sautier in branch 'main': bpo-42114: ctypes documentation: fix winmode parameter default value (GH-29976) https://github.com/python/cpython/commit/c1051e08b3c6d9045322763876a4b0

[issue27062] `inspect` doesn't have `__all__`

2021-12-10 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 810c1769f1c24ed907bdf3cc1086db4e602a28ae by Kumar Aditya in branch 'main': bpo-27062: add `__all__` to inspect module (GH-30003) https://github.com/python/cpython/commit/810c1769f1c24ed907bdf3cc1086db4e602a28ae -- nosy: +lu

[issue27062] `inspect` doesn't have `__all__`

2021-12-10 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks! ✨ 🍰 ✨ -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue46014] functools.singledispatch does not support Union types

2021-12-10 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 3cb357a2e6ac18ee98db5d450414e773744e3c76 by Yurii Karabas in branch 'main': bpo-46014: Add ability to use typing.Union with singledispatch (GH-30017) https://github.com/python/cpython/commit/3cb357a2e6ac18ee98db5d450414e7

[issue46014] functools.singledispatch does not support Union types

2021-12-10 Thread Łukasz Langa
Łukasz Langa added the comment: Support added as an enhancement in Python 3.11. Thanks, Yurii! ✨ 🍰 ✨ -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue42114] Documentation of ctypes.CDLL does not correspond to code

2021-12-10 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset f8eebb0db720cd81fb736d9cbfd16faf2ec68b53 by Miss Islington (bot) in branch '3.9': bpo-42114: ctypes documentation: fix winmode parameter default value (GH-29976) (GH-30038) https://github.com/python/cpyt

[issue42114] Documentation of ctypes.CDLL does not correspond to code

2021-12-10 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 8f3728edcbc205913772f8dc04cccd8bdc476ff4 by Miss Islington (bot) in branch '3.10': bpo-42114: ctypes documentation: fix winmode parameter default value (GH-29976) (GH-30037) https://github.com/python/cpyt

[issue42114] Documentation of ctypes.CDLL does not correspond to code

2021-12-10 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks! ✨ 🍰 ✨ -- assignee: -> docs@python components: +Documentation -ctypes nosy: +docs@python resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.11

[issue43795] Implement PEP 652 -- Maintaining the Stable ABI

2021-12-10 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 98e506ae8a7997658a08fbf77ac016d200588cb3 by Petr Viktorin in branch 'main': bpo-43795: Document stable_abi.txt format and contents (GH-29956) https://github.com/python/cpython/commit/98e506ae8a7997658a08fbf77ac016d200588cb3 -

[issue13236] unittest needs more flush calls

2021-12-10 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 83fa1291fd0a25216a4a9e990f423682fda67cbe by Serhiy Storchaka in branch '3.10': [3.10] bpo-13236: Flush the output stream more often in unittest (GH-29864) (GH-29929) https://github.com/python/cpyt

[issue42918] Nested multi-line expression will lead to "compile()" fails

2021-12-10 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 28179aac796ed1debdce336c4b8ca18e8475d40d by Weipeng Hong in branch 'main': bpo-42918: Improve build-in function compile() in mode 'single' (GH-29934) https://github.com/python/cpython/commit/28179aac796ed1debdce

[issue37971] Wrong trace with multiple decorators (linenumber wrong in frame)

2021-12-10 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset b593bdc7803cc75461f6fad03cb7d8dfc416 by Carl Friedrich Bolz-Tereick in branch 'main': bpo-37971: fix the position of decorator application (GH-30027) https://github.com/python/cpython/commit/b593bdc7803cc75461f6fad03c

[issue45929] extend json.tool --json-lines to ignore empty rows

2021-12-10 Thread Łukasz Langa
Łukasz Langa added the comment: I agree with Serhiy that in general the fact that json.tool crashes here is useful: similarly to an exception in Python code, it can inform the user that some data they feed to json.tool is invalid. At the same time, I find it a bit obnoxious that the current

[issue45859] test_collections has a wrong test in case _itemgetter is not available

2021-12-10 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 7c5b01b5101923fc38274c491bd55239ee9f0416 by Miss Islington (bot) in branch '3.8': bpo-45859: Mark test_field_descriptor in test_collections as CPython-only (GH-29691) (GH-29710) https://github.com/python/cpyt

[issue45822] Py_CompileString does not respect the coding cookie with the new parser if flags are empty

2021-12-10 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset e1e3f648ad6ab467356d2d14e1d208583c1a76c6 by Miss Islington (bot) in branch '3.10': bpo-45822: Minor cleanups to the test_Py_CompileString test (GH-29750) (GH-29758) https://github.com/python/cpython/commit/e1e3f648ad6ab467356d2d14e1d208

[issue45822] Py_CompileString does not respect the coding cookie with the new parser if flags are empty

2021-12-10 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 5f622f1d5c5425ed1e992da6611edfb486a9bf7c by Miss Islington (bot) in branch '3.9': bpo-45822: Minor cleanups to the test_Py_CompileString test (GH-29750) (GH-29759) https://github.com/python/cpython/commit/5f622f1d5c5425ed1e992da6611edf

[issue19737] Documentation of globals() and locals() should be improved

2021-12-10 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 4fe5585240f64c3d14eb635ff82b163f92074b3a by 180909 in branch 'main': bpo-19737: Improved the documentation for globals (GH-29823) https://github.com/python/cpython/commit/4fe5585240f64c3d14eb635ff82b163f92074b3a -- nosy: +lu

[issue19737] Documentation of globals() and locals() should be improved

2021-12-10 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 1f7000808e8385e2a29ffd0ef6aac9a6139d3d92 by Miss Islington (bot) in branch '3.10': bpo-19737: Improved the documentation for globals (GH-29823) (GH-30041) https://github.com/python/cpython/commit/1f7000808e8385e2a29ffd0ef6aac9

[issue19737] Documentation of globals() and locals() should be improved

2021-12-10 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 9299e3a39c3b1dd7d5db0d88080249c2dab3070f by Miss Islington (bot) in branch '3.9': bpo-19737: Improved the documentation for globals (GH-29823) (GH-30042) https://github.com/python/cpython/commit/9299e3a39c3b1dd7d5db0d88080249

[issue19737] Documentation of globals() and locals() should be improved

2021-12-10 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks! ✨ 🍰 ✨ -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue13236] unittest needs more flush calls

2021-12-10 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset d55a03e02e69fb7f639998de71ed3f44c2f4f999 by Miss Islington (bot) in branch '3.9': [3.10] bpo-13236: Flush the output stream more often in unittest (GH-29929) (GH-30039) https://github.com/python/cpyt

[issue13236] unittest needs more flush calls

2021-12-10 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks, Serhiy! ✨ 🍰 ✨ -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue42918] Nested multi-line expression will lead to "compile()" fails

2021-12-27 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 576e38f9db61ca09ca6dc57ad13b02a7bf9d370a by Miss Islington (bot) in branch '3.10': bpo-42918: Improve built-in function compile() in mode 'single' (GH-29934) (GH-30040) https://github.com/p

[issue42918] Nested multi-line expression will lead to "compile()" fails

2021-12-27 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks! ✨ 🍰 ✨ -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.11 ___ Python tracker <https://bugs.python.or

[issue46120] Add note to `typing.Union` that it is recommended to use `|` instead

2021-12-29 Thread Łukasz Langa
Łukasz Langa added the comment: Haha, that backport took more time than I thought :D Thanks! ✨ 🍰 ✨ -- nosy: +lukasz.langa ___ Python tracker <https://bugs.python.org/issue46

[issue46185] Python 3.10.1 installer refers to /Applications/Python 3.9 Install Certificates

2021-12-29 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset bc87ac6d0b13116f525215f8a31b46506bc8d629 by Erlend Egeberg Aasland in branch 'main': bpo-46185: Fix wrong version ref. in macOS installer ReadMe (GH-30278) https://github.com/python/cpython/commit/bc87ac6d0b13116f525215f8a31b46

[issue46185] Python 3.10.1 installer refers to /Applications/Python 3.9 Install Certificates

2021-12-29 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset c31fdef1e71ff1598f213b1b4ad1a565e47d7864 by Erlend Egeberg Aasland in branch '3.10': [3.10] bpo-46185: Fix wrong version ref. in macOS installer ReadMe (GH-30280) https://github.com/python/cpython/commit/c31fdef1e71ff1598f213b1b4ad1a5

[issue46110] compile("-"*3000000 + "4", '', mode) causes hard crash

2022-01-03 Thread Łukasz Langa
Łukasz Langa added the comment: I ran all benchmarks on installed optimized framework builds of 3.9 with the change (-a) and with the revert (-revert). It shows no change: ❯ ./python3.9 -m pyperf compare_to /Volumes/RAMDisk/py39* 2to3: Mean +- std dev: [py39-a] 724 ms +- 6 ms -> [py39-rev

[issue46110] compile("-"*3000000 + "4", '', mode) causes hard crash

2022-01-03 Thread Łukasz Langa
Łukasz Langa added the comment: (that's on M1 Macbook Pro on macOS Monterey) -- ___ Python tracker <https://bugs.python.org/issue46110> ___ ___ Python-bugs-l

[issue46407] optimizing `1 << n` or `2 ** n` and modulo-only operations

2022-01-31 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 768569325abc0a9cd5aae65c531889ec390847aa by Ken Jin in branch 'main': bpo-46407: Fix long_mod refleak (GH-31025) https://github.com/python/cpython/commit/768569325abc0a9cd5aae65c531889ec390847aa -- nosy: +lu

[issue46542] test_json and test_lib2to3 crash on s390x Fedora Clang 3.x buildbot

2022-01-31 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset ee0ac328d38a86f7907598c94cb88a97635b32f8 by Victor Stinner in branch 'main': bpo-46542: test_lib2to3 uses support.infinite_recursion() (GH-31035) https://github.com/python/cpython/commit/ee0ac328d38a86f7907598c94cb88a97635b32f8 -

[issue46648] `test.test_urllib2.MiscTests.test_issue16464` flaky due to external connection

2022-02-08 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset f87e616af038ee8963185e11b96841c81e8ef15a by Miss Islington (bot) in branch '3.8': bpo-46648: Skip test_urllib2.test_issue16464() (GH-31161) (GH-31173) https://github.com/python/cpython/commit/f87e616af038ee8963185e11b96841

[issue46474] Inefficient regular expression complexity in EntryPoint.pattern

2022-02-14 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 8a84aef0123bd8c13cf81fbc3b5f6d45f96c2656 by Jason R. Coombs in branch '3.8': [3.8] bpo-46474: Avoid REDoS in EntryPoint.pattern (sync with importlib_metadata 4.10.1) (GH-30803). (#30829) https://github.com/python/cpyt

[issue44949] test_readline: test_auto_history_disabled() fails randomly on aarch64 RHEL8 Refleaks 3.9, 3.10 and 3.x

2022-02-17 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset b1bc04df817ecb3fb9fdbefa3782efea54488e6f by Miss Islington (bot) in branch '3.8': bpo-44949: Fix test_readline auto history tests (GH-27813) (GH-31118) https://github.com/python/cpython/commit/b1bc04df817ecb3fb9fdbefa3782ef

[issue41086] Exception for uninstantiated interpolation (configparser)

2022-02-17 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset fc115c9bde52a58b4fb9be2b80c3d6be8a4d2454 by Brian Faherty in branch 'main': bpo-41086: Add exception for uninstantiated interpolation (configparser) (GH-21062) https://github.com/python/cpython/commit/fc115c9bde52a58b4fb9be2b80c3d6

[issue26831] ConfigParser parsing failures with default_section and ExtendedInterpolation options

2022-02-17 Thread Łukasz Langa
Łukasz Langa added the comment: Note: the problem here was due to passing `ExtendedInterpolation` (the class) instead of `ExtendedInterpolation()` (the object). This is now fixed through BPO-41086. -- ___ Python tracker <https://bugs.python.

[issue26469] Bug in ConfigParser when setting new values in extended interpolation

2022-02-17 Thread Łukasz Langa
Łukasz Langa added the comment: Note: the problem here was due to passing `ExtendedInterpolation` (the class) instead of `ExtendedInterpolation()` (the object). This is now fixed through BPO-41086. -- nosy: +lukasz.langa ___ Python tracker <ht

[issue41086] Exception for uninstantiated interpolation (configparser)

2022-02-17 Thread Łukasz Langa
Łukasz Langa added the comment: It's a behavioral change that tightens acceptable objects passed to `interpolation=`. In the past any object that provided the same interface as `Interpolation` instances would be accepted. No longer. I think this is an acceptable compromise but

[issue41086] Exception for uninstantiated interpolation (configparser)

2022-02-17 Thread Łukasz Langa
Change by Łukasz Langa : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue41028] Move docs.python.org language and version switcher out of cpython

2022-02-17 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 4c48cac1c44fbbfe3f5fd0c623b7768e2a709da8 by Miss Islington (bot) in branch '3.8': bpo-41028: Doc: Move switchers to docsbuild-scripts. (GH-20969) (GH-30344) https://github.com/python/cpython/commit/4c48cac1c44fbbfe3f5fd0c623b776

[issue46811] Test suite needs adjustments for Expat >=2.4.5

2022-02-21 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 2cae93832f46b245847bdc252456ddf7742ef45e by Sebastian Pipping in branch 'main': bpo-46811: Make test suite support Expat >=2.4.5 (GH-31453) https://github.com/python/cpython/commit/2cae93832f46b245847bdc252456ddf7742ef45e --

[issue46400] Please update bundled libexpat to 2.4.4 with security fixes (CVE-2021-45960)

2022-02-21 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset c60414de7cefd092643ba200c2c045da1569c391 by Dong-hee Na in branch '3.8': bpo-46400: Update libexpat from 2.4.1 to 2.4.4 (GH-31022) (GH-31297) https://github.com/python/cpython/commit/c60414de7cefd092643ba200c2c045da1569c391 -

[issue46811] Test suite needs adjustments for Expat >=2.4.5

2022-02-21 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 7da97f61816f3cadaa6788804b22a2434b40e8c5 by Miss Islington (bot) in branch '3.10': bpo-46811: Make test suite support Expat >=2.4.5 (GH-31453) (GH-31472) https://github.com/python/cpython/commit/7da97f61816f3cadaa6788804b2

[issue46811] Test suite needs adjustments for Expat >=2.4.5

2022-02-21 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 336a916f75642dfe2d87e237981686051d5d51f8 by Miss Islington (bot) in branch '3.9': bpo-46811: Make test suite support Expat >=2.4.5 (GH-31453) (GH-31469) https://github.com/python/cpython/commit/336a916f75642dfe2d87e237981

[issue46811] Test suite needs adjustments for Expat >=2.4.5

2022-02-22 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset fdfd7a93540b0866ba42264ecb9b0a3c2286f654 by Łukasz Langa (Sebastian Pipping) in branch '3.8': bpo-46811: Make test suite support Expat >=2.4.5 (GH-31453) https://github.com/python/cpython/commit/fdfd7a93540b0866ba42264ecb9

[issue46794] Please update bundled libexpat to 2.4.6 with security fixes (5 CVEs)

2022-03-02 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset eb6c840a2414dc057ffcfbb5ad68d6253c8dd57c by Miss Islington (bot) in branch '3.8': bpo-46794: Bump up the libexpat version into 2.4.6 (GH-31487) (GH-31520) https://github.com/python/cpython/commit/eb6c840a2414dc057ffcfbb5ad68d6

[issue10860] Handle empty port after port delimiter in httplib

2011-10-18 Thread Łukasz Langa
Łukasz Langa added the comment: Patch merged. Thanks, Shawn. -- nosy: +lukasz.langa resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed versions: -Python 3.1 ___ Python tracker <http://bugs.python.or

[issue10680] argparse: titles and add_mutually_exclusive_group don't mix (even with workaround)

2011-10-18 Thread Łukasz Langa
Changes by Łukasz Langa : -- Removed message: http://bugs.python.org/msg145883 ___ Python tracker <http://bugs.python.org/issue10680> ___ ___ Python-bugs-list m

[issue13518] configparser

2011-12-01 Thread Łukasz Langa
Łukasz Langa added the comment: Hello, Mickey. By doing open('file', 'rb') you're explicitly stating you want the file to be opened in BINARY mode which means it doesn't return strings but bytes. This is not supported anymore in Python 3. This is c

[issue13671] double comma cant be parsed in config module

2011-12-29 Thread Łukasz Langa
Łukasz Langa added the comment: Hello, Alexander. ConfigObj is an external library. It is not maintained by the core team. You can report your issue to the ConfigObj issue tracker here: http://code.google.com/p/configobj/issues/list -- components: +None -Regular Expressions

[issue12274] "Print window" menu on IDLE aborts whole application

2011-06-07 Thread Łukasz Langa
Łukasz Langa added the comment: In 3.2 configparser started validating syntax in interpolation-aware parsers by default. I fixed the configuration. It's unfortunate this configuration error hasn't been caught before in testing. We need a unit test for broken configuration and a

[issue7434] general pprint rewrite

2011-06-22 Thread Łukasz Langa
Łukasz Langa added the comment: Mine still lies here: https://bitbucket.org/langacore/nattyprint -- ___ Python tracker <http://bugs.python.org/issue7

[issue12688] ConfigParser.__init__(iterpolation=None) documentation != behavior

2011-08-03 Thread Łukasz Langa
Łukasz Langa added the comment: Hey there! Thanks for your report. However: 1. this is a duplicate of #11324 2. AFAICT this is corrected in 3.2.1 (3.2.0 had the bug). Just downloaded the source distribution from python.org, it is indeed fixed. -- resolution: -> duplicate sta

[issue12662] Add support for duplicate options in configparser

2011-08-05 Thread Łukasz Langa
Łukasz Langa added the comment: This specific config format you're discussing strikes me as error prone and barely useful. With the use case you've given I cannot justify introducing support for it in the standard library. Remember that each switch, variant, however obscure and r

[issue12862] ConfigParser does not implement "comments need to be preceded by a whitespace character" correctly

2011-09-02 Thread Łukasz Langa
Łukasz Langa added the comment: Daniel, thank you for your report. Indeed, 3.2+ has an updated configparser where we turned off support for inline comments (e.g. comments after option values). This was decided after we discovered how inconsistent it is. Your report shows this decision was

[issue9421] configparser.ConfigParser's getint, getboolean and getfloat don't accept `vars`

2010-09-02 Thread Łukasz Langa
Changes by Łukasz Langa : Removed file: http://bugs.python.org/file18458/issue9421.diff ___ Python tracker <http://bugs.python.org/issue9421> ___ ___ Python-bugs-list m

[issue9421] configparser.ConfigParser's getint, getboolean and getfloat don't accept `vars`

2010-09-02 Thread Łukasz Langa
Łukasz Langa added the comment: Patch updated: - _UNSET removed from docs in favor of a more natural syntax (square brackets around optional arguments) - _COMPATIBLE left in the docs because I find less magical in that case (+ it's already covered in the docs what this special case

[issue7005] ConfigParser does not handle options without values

2010-09-02 Thread Łukasz Langa
Łukasz Langa added the comment: This one is strange. Trying to set a None value through set() raises 'TypeError: option values must be strings' on both Python 3.2 and 2.7. A string value of 'None' behaves as expe

[issue9421] configparser.ConfigParser's getint, getboolean and getfloat don't accept `vars`

2010-09-03 Thread Łukasz Langa
Łukasz Langa added the comment: On IRC Fred asked: > Why are delimiters and comment_prefixes in the constructor signatures? Like most configurable options, they were added to the initializer one by one (after `allow_no_value`). Only later did I notice that actually things like optionxf

[issue9421] configparser.ConfigParser's getint, getboolean and getfloat don't accept `vars`

2010-09-04 Thread Łukasz Langa
Łukasz Langa added the comment: Actually the square bracket form is how `range()` is documented so there is some limited precedent in that regard. -- ___ Python tracker <http://bugs.python.org/issue9

[issue9437] can't build extensions with non-default ldflags (e.g. -m32)

2010-09-05 Thread Łukasz Langa
Łukasz Langa added the comment: This was broken in r83837 with a patch for issue #5504. -- nosy: +lukasz.langa ___ Python tracker <http://bugs.python.org/issue9

[issue9437] can't build extensions with non-default ldflags (e.g. -m32)

2010-09-05 Thread Łukasz Langa
Changes by Łukasz Langa : -- Removed message: http://bugs.python.org/msg115640 ___ Python tracker <http://bugs.python.org/issue9437> ___ ___ Python-bugs-list m

[issue9662] ctypes not building under OS X because of ffi_closure_free not being defined early enough

2010-09-05 Thread Łukasz Langa
Łukasz Langa added the comment: This was broken in r83837 with a patch for issue #5504. -- nosy: +lukasz.langa ___ Python tracker <http://bugs.python.org/issue9

[issue5504] ctypes should work with systems where mmap can't be PROT_WRITE and PROT_EXEC

2010-09-05 Thread Łukasz Langa
Łukasz Langa added the comment: Please find attached a "fix" for #9662. Some explanation is in order: - the Windows, Linux and OS X implementations of FFI included in the SVN are different in terms of maturity - Thomas originally when fixing #5504 used a bit of functionality regarding closur

[issue9662] ctypes not building under OS X because of ffi_closure_free not being defined early enough

2010-09-05 Thread Łukasz Langa
Łukasz Langa added the comment: Ronald, please see #5504. -- ___ Python tracker <http://bugs.python.org/issue9662> ___ ___ Python-bugs-list mailing list Unsub

[issue5412] extend configparser to support mapping access(__*item__)

2010-09-05 Thread Łukasz Langa
Changes by Łukasz Langa : Removed file: http://bugs.python.org/file18441/issue5412.diff ___ Python tracker <http://bugs.python.org/issue5412> ___ ___ Python-bugs-list m

[issue5412] extend configparser to support mapping access(__*item__)

2010-09-05 Thread Łukasz Langa
Łukasz Langa added the comment: Patch updated to avoid fuzzes from other commits. -- Added file: http://bugs.python.org/file18760/issue5412.diff ___ Python tracker <http://bugs.python.org/issue5

[issue5412] extend configparser to support mapping access(__*item__)

2010-09-25 Thread Łukasz Langa
Changes by Łukasz Langa : Removed file: http://bugs.python.org/file18760/issue5412.diff ___ Python tracker <http://bugs.python.org/issue5412> ___ ___ Python-bugs-list m

[issue5412] extend configparser to support mapping access(__*item__)

2010-09-25 Thread Łukasz Langa
Łukasz Langa added the comment: Patch updated: * uses collections because they are built into the executable for 3.2 * uses itertools for the same reasons * in the end doesn't use weakrefs since after recent commits (Raymond removed __del__ from OrderedDict) the reference cycle pr

[issue7434] general pprint rewrite

2010-10-13 Thread Łukasz Langa
Łukasz Langa added the comment: I would like to work on that. Expect a patch soon. Georg, Fred, I've added you to nosy because you're the ones watching over me currently. Bare with me :) -- nosy: +fdrake, georg.brandl, lukasz.langa title: pprint doesn't know how to pri

[issue5412] extend configparser to support mapping access(__*item__)

2010-11-04 Thread Łukasz Langa
Changes by Łukasz Langa : Removed file: http://bugs.python.org/file19010/issue5412.diff ___ Python tracker <http://bugs.python.org/issue5412> ___ ___ Python-bugs-list m

[issue5412] extend configparser to support mapping access(__*item__)

2010-11-04 Thread Łukasz Langa
Łukasz Langa added the comment: Patch updated yet again: * optional .get() arguments are now keyword only. This is a bit backwards incompatible but: * protects users of mapping protocol access from invoking get() as if the last positional argument was the `fallback` value (it

[issue5412] extend configparser to support mapping access(__*item__)

2010-11-05 Thread Łukasz Langa
Łukasz Langa added the comment: Documentation complete. -- Added file: http://bugs.python.org/file19506/issue5412.diff ___ Python tracker <http://bugs.python.org/issue5

[issue5412] extend configparser to support mapping access(__*item__)

2010-11-05 Thread Łukasz Langa
Changes by Łukasz Langa : Removed file: http://bugs.python.org/file19501/issue5412.diff ___ Python tracker <http://bugs.python.org/issue5412> ___ ___ Python-bugs-list m

[issue10225] Fix doctest runable examples in python manual

2010-11-08 Thread Łukasz Langa
Changes by Łukasz Langa : -- nosy: +lukasz.langa ___ Python tracker <http://bugs.python.org/issue10225> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10379] locale.format() input regression

2010-11-11 Thread Łukasz Langa
Łukasz Langa added the comment: Please use the deprecation process when possible. That would mean creating an alias for the function you want to remove somewhat like this (taken from configparser): def readfp(self, fp, filename=None): """Deprecated, use re

[issue5412] extend configparser to support mapping access(__*item__)

2010-11-11 Thread Łukasz Langa
Łukasz Langa added the comment: Committed in r86402. Documentation changes pending, to be made after Fred's detailed review. Fred, you can review using trunk. Reassigned as a reminder. -- assignee: lukasz.langa -> fdrake keywords: +needs review -patch stage: unit tes

[issue10387] ConfigParser's getboolean method is broken

2010-11-11 Thread Łukasz Langa
Łukasz Langa added the comment: Felix, thanks for your report! :) I believe you misunderstood that all ConfigParser objects by design should hold *only strings* inside. The same problem would appear if you tried to write() configuration from a parser with booleans or numbers to a file. You

[issue10387] ConfigParser's getboolean method is broken

2010-11-11 Thread Łukasz Langa
Łukasz Langa added the comment: No problem Felix. But look: Python 2.7 (r27:82500, Sep 24 2010, 12:26:28) [GCC 4.3.4 20090804 (release) 1] on cygwin Type "help", "copyright", "credits" or "license" for more information. >>> config = "&qu

[issue5412] extend configparser to support mapping access(__*item__)

2010-11-11 Thread Łukasz Langa
Łukasz Langa added the comment: Yup, most config parsers don't support that so there are not so many INI type files in the wild with this kind of formatting. On the other hand, Samba, XULRunner, mke2fs and others all use this. I mean, you're not forced to use that ugly feature but

[issue10387] ConfigParser's getboolean method is broken

2010-11-11 Thread Łukasz Langa
Łukasz Langa added the comment: This is unfortunately a backwards compatibility concern. Originally it wasn't made so that set() converts to string or accepts only strings and when the developers realized this mistake, it was too late (there were programs using this misfeature). That&

[issue9520] Add Patricia Trie high performance container

2010-11-11 Thread Łukasz Langa
Changes by Łukasz Langa : -- nosy: +lukasz.langa ___ Python tracker <http://bugs.python.org/issue9520> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue5412] extend configparser to support mapping access(__*item__)

2010-11-11 Thread Łukasz Langa
Łukasz Langa added the comment: Fred, while you're at it have a look at your message here: http://bugs.python.org/issue9421#msg115558 (also documentation remarks on an otherwise closed issue). -- ___ Python tracker <http://bugs.py

[issue10387] ConfigParser's getboolean method is broken

2010-11-11 Thread Łukasz Langa
Changes by Łukasz Langa : -- status: open -> closed ___ Python tracker <http://bugs.python.org/issue10387> ___ ___ Python-bugs-list mailing list Unsubscri

[issue9421] configparser.ConfigParser's getint, getboolean and getfloat don't accept `vars`

2010-11-11 Thread Łukasz Langa
Changes by Łukasz Langa : -- status: open -> closed ___ Python tracker <http://bugs.python.org/issue9421> ___ ___ Python-bugs-list mailing list Unsubscri

[issue10387] ConfigParser's getboolean method is broken

2010-11-12 Thread Łukasz Langa
Łukasz Langa added the comment: You think wrong. Try it. -- ___ Python tracker <http://bugs.python.org/issue10387> ___ ___ Python-bugs-list mailing list Unsub

[issue6745] (curses) addstr() takes str in Python 3

2010-11-16 Thread Łukasz Langa
Łukasz Langa added the comment: We'll try to solve this for 3.2. -- assignee: -> lukasz.langa nosy: +lukasz.langa priority: normal -> high versions: +Python 3.2 -Python 3.1 ___ Python tracker <http://bugs.python

[issue11252] Handling statement OR assignment continuation '\' on Win32 platform

2011-02-23 Thread Łukasz Langa
Łukasz Langa added the comment: OK, now I know more about glob than I ever wanted to! :) Basically it comes down to this: unix>>> os.path.split('\\') ('', '\\') win32>>> os.path.split('\\') ('\\', '') This is why

[issue9319] imp.find_module('test/badsyntax_pep3120') causes segfault

2011-03-11 Thread Łukasz Langa
Changes by Łukasz Langa : -- nosy: +lukasz.langa ___ Python tracker <http://bugs.python.org/issue9319> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11670] configparser read_file now iterates over f, docs still say it calls readline

2011-03-25 Thread Łukasz Langa
Łukasz Langa added the comment: Ouch, this would be my fault. I agree with Raymond, at this point I think we should only update the docs. -- ___ Python tracker <http://bugs.python.org/issue11

[issue11597] Can't get ConfigParser.write to write unicode strings

2011-04-05 Thread Łukasz Langa
Łukasz Langa added the comment: In my opinion we should unfortunately close this with WONTFIX because: * adding a feature in a point release is not an option * this may be poorly documented but most of the standard library in 2.x assumes bytestrings (and fails with Unicode strings). Same goes

[issue11670] configparser read_file now iterates over f, docs still say it calls readline

2011-04-05 Thread Łukasz Langa
Łukasz Langa added the comment: How about this? (available for review: http://codereview.appspot.com/4358054) -- keywords: +patch Added file: http://bugs.python.org/file21547/issue11670.patch ___ Python tracker <http://bugs.python.org/issue11

[issue11597] Can't get ConfigParser.write to write unicode strings

2011-04-06 Thread Łukasz Langa
Łukasz Langa added the comment: As another core dev aptly said, most standard library Unicode support is probably accidental. As for `json`, this is one of the "newest" additions to stdlib, introduced in Python 2.6 (released at the same time as Python 3.0). Not the best exam

[issue11786] ConfigParser.[Raw]ConfigParser optionxform()

2011-04-06 Thread Łukasz Langa
Changes by Łukasz Langa : -- assignee: docs@python -> lukasz.langa nosy: +lukasz.langa ___ Python tracker <http://bugs.python.org/issue11786> ___ ___ Python-

[issue11786] ConfigParser.[Raw]ConfigParser optionxform()

2011-04-06 Thread Łukasz Langa
Łukasz Langa added the comment: The documentation may be poorly worded but `optionxform()` has always been used also by RawConfigParser. It has been that way since the introduction of this class in Python 2.3 (previously there was only one ConfigParser class which used `optionxform()` since

[issue11858] configparser.ExtendedInterpolation and section case

2011-04-18 Thread Łukasz Langa
Changes by Łukasz Langa : -- assignee: -> lukasz.langa ___ Python tracker <http://bugs.python.org/issue11858> ___ ___ Python-bugs-list mailing list Unsubscri

[issue11858] configparser.ExtendedInterpolation and section case

2011-04-18 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks for the catch. I'll add some tests and push it. -- ___ Python tracker <http://bugs.python.org/issue11858> ___ ___

[issue11670] configparser read_file now iterates over f, docs still say it calls readline

2011-04-27 Thread Łukasz Langa
Łukasz Langa added the comment: Closed in http://hg.python.org/cpython/rev/6f937d6369b6. -- resolution: fixed -> accepted ___ Python tracker <http://bugs.python.org/issu

[issue11858] configparser.ExtendedInterpolation and section case

2011-04-28 Thread Łukasz Langa
Łukasz Langa added the comment: Pink, please give your name so I can include you in Misc/ACKS. -- ___ Python tracker <http://bugs.python.org/issue11858> ___ ___

[issue11786] ConfigParser.[Raw]ConfigParser optionxform()

2011-04-28 Thread Łukasz Langa
Changes by Łukasz Langa : -- versions: +Python 2.6 ___ Python tracker <http://bugs.python.org/issue11786> ___ ___ Python-bugs-list mailing list Unsubscribe:

  1   2   3   4   5   6   7   8   9   10   >