[issue26531] Keyboard Interrupts not caught when used within a class method on Windows 10

2016-03-10 Thread STINNER Victor
STINNER Victor added the comment: Please try Python 3, I recall that we fixed bugs on input() on Windows related to CTRL+c. -- nosy: +haypo ___ Python tracker

[issue26531] Keyboard Interrupts not caught when used within a class method on Windows 10

2016-03-10 Thread TJG
TJG added the comment: If I run your code, it does what I expect: pressing Ctrl-C produces "Interrupt", doesn't print the data returned from raw_input, and doesn't produce a stacktrace. I'm not on Win10 and it's entirely possible that this area of the MS CRT has been reworked: it's a bit quirky

[issue26530] tracemalloc: add C API to manually track/untrack memory allocations

2016-03-10 Thread STINNER Victor
STINNER Victor added the comment: Hum, there is an issue in the patch version 2: tracemalloc_add_trace() rely on the assumption that the pointer is not already tracked. Since we give control to the traces to the user, this assumption may become wrong (if the API is badly used). This issue is

[issue26531] Keyboard Interrupts not caught when used within a class method on Windows 10

2016-03-10 Thread Joshua Cannell
Joshua Cannell added the comment: Hi, Thanks for the quick response. I tried your code, it doesn't capture the keyboard interrupt, so the method doesn't seem to be needed. Also, the code doesn't carry on if interrupt was received, but instead produces the stack traceback. For example: while

[issue26531] KeyboardInterrupt while in input() not catchable on Windows 10

2016-03-10 Thread Zachary Ware
Zachary Ware added the comment: I can reproduce on Windows 10 with Pythons 2.7.11, 3.4.4, and 3.5.1 with the attached script. Examples: E:\>ver Microsoft Windows [Version 10.0.10586] E:\>py ccbug.py 2.7.11 (v2.7.11:6d1b6a68f775, Dec 5 2015, 20:32:19) [MSC v.1500 32 bit (Intel)] Traceback

[issue26516] Add PYTHONMALLOC env var and add support for malloc debug hooks in release mode

2016-03-10 Thread STINNER Victor
STINNER Victor added the comment: Oh, I forgot to update wmain() for Windows. Patch 4 handles wmain() too. I added a few comments and reformatted some parts of the code. -- Added file: http://bugs.python.org/file42119/pymem-4.patch ___ Python

[issue26506] hex() documentation: mention "%x" % int

2016-03-10 Thread Wolfgang Maier
Wolfgang Maier added the comment: > Hum, python3 looks faster on this dummy microbenchmark yeah. Who said that > Python 3 is slower? :-) If you're alluding to that seemingly endless thread over on python-list, let me say that it is not my motivation to start anything like that here. Sorry

[issue26530] tracemalloc: add C API to manually track/untrack memory allocations

2016-03-10 Thread STINNER Victor
STINNER Victor added the comment: Antoine Pitrou: > This may indeed be useful but: > - those functions should be no-ops when tracing isn't enabled (so as to be as > fast as possible) Done > - you should take the GIL if necessary (but only if tracing is enabled, of > course) Ok, done. The

[issue26531] Keyboard Interrupts not caught when used within a class method on Windows 10

2016-03-10 Thread Joshua Cannell
New submission from Joshua Cannell: There seems to be an issue capturing keyboard interrupts on Windows 10 when using raw_input() inside of a class method w/python 2.7.x. So far I have tested this on: 2.7.11 x86 on Windows 10 x64 - Does not capture (Traceback) 2.7.11 x64 on Windows 10 x64 -

[issue26531] Keyboard Interrupts not caught when used within a class method on Windows 10

2016-03-10 Thread TJG
TJG added the comment: I don't have Win10 to test with, but can you confirm that the method is necessary for the code to fail? IOW does this fail equally? while True: try: raw_input() except KeyboardInterrupt: print "Interrupt!" Also, do I assume that the code simply carries on

[issue26525] Documentation of ord(c) easy to misread

2016-03-10 Thread gladman
New submission from gladman: It is very easy to misread the greek 'nu' used in the ord(c) documentation as ord('v') (i.e. an alphabetic 'v'). This can lead the reader to draw a wrong conclusion about the behaviour of the function. Would it not be better if this example used a greek letter

[issue26526] In parsemodule.c, replace over 2KLOC of hand-crafted validation code, with a DFA

2016-03-10 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +serhiy.storchaka ___ Python tracker ___ ___

[issue26526] In parsermodule.c, replace over 2KLOC of hand-crafted validation code, with a DFA

2016-03-10 Thread STINNER Victor
Changes by STINNER Victor : -- title: In parsemodule.c, replace over 2KLOC of hand-crafted validation code, with a DFA -> In parsermodule.c, replace over 2KLOC of hand-crafted validation code, with a DFA ___ Python tracker

[issue15693] expose glossary link on hover

2016-03-10 Thread Chris Jerdonek
Chris Jerdonek added the comment: It looks like the issue I previously filed on the Sphinx tracker was migrated here: https://github.com/sphinx-doc/sphinx/issues/996 . But the patch I submitted seems to have been dropped. -- ___ Python tracker

[issue26526] In parsemodule.c, replace over 2KLOC of hand-crafted validation code, with a DFA

2016-03-10 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +benjamin.peterson ___ Python tracker ___ ___

[issue26525] Documentation of ord(c) easy to misread

2016-03-10 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +georg.brandl ___ Python tracker ___ ___

[issue23857] Make default HTTPS certificate verification setting configurable

2016-03-10 Thread Nick Coghlan
Nick Coghlan added the comment: The attached patch adds documentation (to the ssl module docs, the environment variable descriptions and the 2.7 What's New) and also fixes the PYTHONHTTPSVERIFY tests to use a subprocess so they can still run under -E. Assuming the docs pass muster, then the

[issue26506] hex() documentation: mention "%x" % int

2016-03-10 Thread STINNER Victor
STINNER Victor added the comment: > I regulary see Python code using hex(value)[2:] In fact, it's even worse, I also saw Python 2 code stripping trailing "L", since hex(long) adds a L suffix... $ python2 Python 2.7.10 (default, Sep 8 2015, 17:20:17) [GCC 5.1.1 20150618 (Red Hat 5.1.1-4)] on

[issue26249] Change PyMem_Malloc to use pymalloc allocator

2016-03-10 Thread STINNER Victor
STINNER Victor added the comment: > Does the API doc say anything about the GIL, for example? I modified Python to add assert(PyGILState_Check()); in PyMem_Malloc() and other functions. Sadly, I found a bug in Numpy: Numpy releases the GIL for performance but call PyMem_Malloc() with the GIL

[issue26525] Documentation of ord(c) easy to misread

2016-03-10 Thread STINNER Victor
STINNER Victor added the comment: I suggest to use the EURO SIGN € (U+20ac). -- keywords: +easy nosy: +haypo ___ Python tracker ___

[issue17597] mingw: Allow Objects/exceptions.c to include "errmap.h"

2016-03-10 Thread Martin Panter
Martin Panter added the comment: Yes it makes more sense to me to move the file to a common directory. That should avoid any potential conflict with pyconfig.h. What did you mean by a platform-specific filename? Here is a patch to move the file. I have not tested regenerating it however, so

[issue26526] In parsemodule.c, replace over 2KLOC of hand-crafted validation code, with a DFA

2016-03-10 Thread A. Skrobov
New submission from A. Skrobov: Updating Modules/parsermodule.c for every change in grammar and/or parser is a maintenance burden, listed as such at https://docs.python.org/devguide/grammar.html The attached patch lets the validation code use the auto-generated DFA structures, thus ensuring

[issue26527] CGI library - Using unicode in header fields

2016-03-10 Thread Olivier Le Moign
New submission from Olivier Le Moign: According to RFC5987 (http://tools.ietf.org/html/rfc5987), it's possible to use other encoding than ASCII in header fields. Specifically in the CGI library, posting files with non-ASCII characters will lead the header to be (for example)

[issue17590] mingw: translate gcc internal defines to python platform specific defines

2016-03-10 Thread Martin Panter
Martin Panter added the comment: What’s the point of allowing each macro to already be defined? I understand they may also be defined by PC/pyconfig.h, but is that possible if __MINGW32__ is defined? Is the __MINGW32__ condition needed at all? Maybe we can just blindly rely on the _WIN32 etc

[issue17596] mingw: add wincrypt.h in Python/random.c

2016-03-10 Thread Martin Panter
Martin Panter added the comment: Yes I would tend to think including would be harmless on Windows, but I don’t have a native Windows to try it out on. Here is a proposed patch anyway. It would be good for someone to be able to confirm it doesn’t break the normal Windows build. --

[issue26527] CGI library - Using unicode in header fields

2016-03-10 Thread Olivier Le Moign
Olivier Le Moign added the comment: I guess this is fixed by https://pypi.python.org/pypi/rfc6266. Could have looked better, sorry. -- ___ Python tracker

[issue26529] urllib.request: ftplib's cwd() can do harm

2016-03-10 Thread Vadim Markovtsev
New submission from Vadim Markovtsev: urllib/request.py, near line 2345 # Set transfer mode to ASCII! self.ftp.voidcmd('TYPE A') # Try a directory listing. Verify that directory exists. if file: pwd = self.ftp.pwd() try: try: self.ftp.cwd(file) except

[issue26512] Vocabulary: Using "integral" in library/stdtypes.html

2016-03-10 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +mark.dickinson ___ Python tracker ___ ___

[issue26512] Vocabulary: Using "integral" in library/stdtypes.html

2016-03-10 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +martin.panter ___ Python tracker ___ ___

[issue26528] NameError for built in function open when re-raising stored exception from yielded function

2016-03-10 Thread reidfaiv
New submission from reidfaiv: Builtin open() gets NameError) in context manager __exit__ in case: * context manager yielding records * we return another generator when consuming these and * second generator raises, catches, stores and re-raises an excption Reduced down code looks like this:

[issue26528] NameError for built in function open when re-raising stored exception from yielded function

2016-03-10 Thread Martin Panter
Martin Panter added the comment: What is probably happening here is how garbage collection works at the interpreter exit. It is sort of mentioned in the warning at . The variable g is an iterator for event_gen(), and it is

[issue26528] NameError for built in function open when re-raising stored exception from yielded function

2016-03-10 Thread reidfaiv
reidfaiv added the comment: Indeed, explicitly closing generator helps, following works: def run(**kwargs): g = event_gen(**kwargs) r = next(g) g.close() r() Thanks! Do you want to keep this issue open for investigation? -- ___

[issue26530] tracemalloc: add C API to manually track/untrack memory allocations

2016-03-10 Thread STINNER Victor
New submission from STINNER Victor: The API of Python memory allocators was extended for numpy: calloc() was added (issue #21233). It looks like it's not enough because allocations with an alignment is also required for vector operations (SIMD). For Python, there is the issue #18835 but the

[issue26506] hex() documentation: mention "%x" % int

2016-03-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > That's why I ran the micro-benchmark and, in fact, I was expecting > %-interpolation to be faster exactly because it is less flexible. Actually %-interpolation is more flexible. >>> '%x' % 123 '7b' >>> '%0X' % 123 '7B' >>> '%#x' % 123 '0x7b' >>> '%04x' %

[issue26520] asyncio.new_event_loop() hangs

2016-03-10 Thread Erwin Mayer
Erwin Mayer added the comment: Thank you Guido; I am now trying to always close a loop explicitly and see if it fixes the issue (so far so good in the last 24h). I could not locate this requirement in the EventLoop documentation page

[issue12736] Request for python casemapping functions to use full not simple casemaps per Unicode's recommendation

2016-03-10 Thread Андрей Баксаляр
Андрей Баксаляр added the comment: A same problem with the unicode case mapping is still present in the Python 3.4.3. You can repeat the bug with this code, for instance: 'ΰ'.upper().lower() == 'ΰ' The case swapping is strangelly leads to character replacement: b'\xce\xb0' →

[issue26531] KeyboardInterrupt while in input() not catchable on Windows 10

2016-03-10 Thread Joshua Cannell
Joshua Cannell added the comment: I can post a script if necessary, but it looks like Zach has already done so. I appreciate you verifying this. -- ___ Python tracker

[issue12736] Request for python casemapping functions to use full not simple casemaps per Unicode's recommendation

2016-03-10 Thread Guido van Rossum
Changes by Guido van Rossum : -- nosy: -gvanrossum ___ Python tracker ___ ___

[issue26532] build fails with address sanitizer

2016-03-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This is a gcc issue: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65873 . -- ___ Python tracker ___

[issue26532] build fails with address sanitizer

2016-03-10 Thread shakur shams Mullick
New submission from shakur shams Mullick: After configuring with address sanitizer like this: $ ./configure --with-address-sanitizer --disable-ipv6 build fails when: $make gcc -pthread -c -fsanitize=address -fno-omit-frame-pointer -Wno-unused-result -Wsign-compare -Wunreachable-code

[issue26532] build fails with address sanitizer

2016-03-10 Thread SilentGhost
Changes by SilentGhost : -- nosy: +benjamin.peterson, haypo, serhiy.storchaka versions: +Python 3.6 ___ Python tracker ___

[issue12736] Request for python casemapping functions to use full not simple casemaps per Unicode's recommendation

2016-03-10 Thread Андрей Баксаляр
Андрей Баксаляр added the comment: Interestingly, the bug is still reproducible in version 3.5.1, but fixed in 2.7.6. -- versions: +Python 2.7 -Python 3.4 Added file: http://bugs.python.org/file42121/pythonbug.png ___ Python tracker

[issue26528] NameError for built in function open when re-raising stored exception from yielded function

2016-03-10 Thread Martin Panter
Martin Panter added the comment: Actually I was a bit hasty in my response last night. NameError indicates that the “open” symbol has been deleted, not just set to None. If you add print(sorted(builtins.__dict__.keys())) inside __exit__() you can verify this is the case. This contradicts my

[issue12736] Request for python casemapping functions to use full not simple casemaps per Unicode's recommendation

2016-03-10 Thread SilentGhost
Changes by SilentGhost : -- versions: +Python 3.4, Python 3.5, Python 3.6 -Python 2.7 ___ Python tracker ___

[issue26531] KeyboardInterrupt while in input() not catchable on Windows 10

2016-03-10 Thread Martin Panter
Martin Panter added the comment: It sounds like you guys might be (re-)discovering existing bugs to do with KeyboardInterrupt in input on Windows: * Issue 18597 (Py 2 & 3): Strange exception handling reading stdin * Issue 10837 (2.7): KeyboardInterrupt deferred reading stdin * Issue 25376 (Py

[issue26530] tracemalloc: add C API to manually track/untrack memory allocations

2016-03-10 Thread STINNER Victor
STINNER Victor added the comment: Patch without test. I chose to require the GIL to be held for efficiency. IMHO the common case is more than the GIL is held. Example to call the function if the GIL is not held: int res; PyGILState_STATE gil_state; gil_state =

[issue26529] urllib.request: ftplib's cwd() can do harm

2016-03-10 Thread Vadim Markovtsev
Changes by Vadim Markovtsev : -- resolution: -> not a bug status: open -> closed ___ Python tracker ___

[issue26507] Use highest pickle protocol in multiprocessing

2016-03-10 Thread Antoine Pitrou
Antoine Pitrou added the comment: Agreed with Davin. -- nosy: +pitrou ___ Python tracker ___ ___

[issue26415] Fragmentation of the heap memory in the Python parser

2016-03-10 Thread A. Skrobov
A. Skrobov added the comment: I've now tried it with "perf.py -r -m", and the memory savings are as follows: ### 2to3 ### Mem max: 45976.000 -> 47440.000: 1.0318x larger ### chameleon_v2 ### Mem max: 436968.000 -> 401088.000: 1.0895x smaller ### django_v3 ### Mem max: 23808.000 -> 22584.000:

[issue26525] Documentation of ord(c) easy to misread

2016-03-10 Thread Georg Brandl
Georg Brandl added the comment: Sure! -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue26530] tracemalloc: add C API to manually track/untrack memory allocations

2016-03-10 Thread Antoine Pitrou
Antoine Pitrou added the comment: This may indeed be useful but: - those functions should be no-ops when tracing isn't enabled (so as to be as fast as possible) - you should take the GIL if necessary (but only if tracing is enabled, of course) -- nosy: +pitrou

[issue23220] Documents input/output effects of how IDLE runs user code

2016-03-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: Different \r behavior is the gist of https://stackoverflow.com/questions/35895864/what-is-the-difference-between-cmd-and-idle-when-using-tqdm. The new section should have more on the different effect of control characters on different display devices and

[issue23220] Documents input/output effects of how IDLE runs user code

2016-03-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: Part of this issue is the difference between typing a character at the keyboard, which produces a key event whose effect is determined by key bindings (some default, some added) and inserting a character into a Text widget, which does not produce an event

[issue26521] add `extend_enum` to Enum

2016-03-10 Thread Ethan Furman
Ethan Furman added the comment: Barry: po-tay-to / po-tah-to ;) Serhiy: The set is known and finite, just scattered over different expensive-to-load modules. Decision: Since no one is jumping up and down with anticipation over this feature, I'll let it stay on SO. -- resolution:

[issue23220] Documents input/output effects of how IDLE runs user code

2016-03-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: As for StackOverflow question, there is tkinter.ttk.Progressbar. -- ___ Python tracker ___

[issue17603] AC_LIBOBJ replacement of fileblocks

2016-03-10 Thread Martin Panter
Martin Panter added the comment: IMO this is a fault of the autowhatever configuration stuff, not just an enhancement. If configure.ac determines that there is no st_blocks field, it tries to link against a non-existant fileblocks.o file: ./mingw/Makefile:220:LIBOBJS=

[issue26533] logging.config does not allow disable_existing_loggers=True

2016-03-10 Thread Grazfather x
New submission from Grazfather x: logging.config.FileConfig has a kwarg 'disable_existing_loggers' that defaults to False, but when true will allow you to load a config and not disable all other existing loggers. logging.config.listen uses FileConfig, but has no option to provide this

[issue26525] Documentation of ord(c) easy to misread

2016-03-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: '' is astral character and not all systems have fonts that support it installed by default. It can be hard to render it in TeX. -- nosy: +serhiy.storchaka ___ Python tracker

[issue26534] subprocess.check_output with shell=True ignores the timeout

2016-03-10 Thread Daniel Shaulov
New submission from Daniel Shaulov: Basically - subprocess.check_output("ping localhost", shell=True, timeout=5) Will hang forever. What happens is that subprocess.run times out on communicate, sends SIGKILL *to the shell* and then calls communicate again without the timeout. But nothing

[issue26525] Documentation of ord(c) easy to misread

2016-03-10 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Wouldn't '\N{SNAKE}' look more pythonic?  >>> hex(ord('')) '0x1f40d' -- nosy: +belopolsky ___ Python tracker

[issue26495] super() does not work in nested functions, genexps, listcomps, and gives misleading exceptions

2016-03-10 Thread Eric Snow
Changes by Eric Snow : -- nosy: +benjamin.peterson, rhettinger ___ Python tracker ___

[issue26503] argparse with required field , not having new line separator in -help dispaly

2016-03-10 Thread paul j3
paul j3 added the comment: The usage line formatter needs a major rewrite. Currently it formats usage for all the arguments as one line (two actually, optionals and positionals are handled separately), and then breaks it into 'wrappable parts'. It then compiles the lines from these parts

[issue26394] Have argparse provide ability to require a fallback value be present

2016-03-10 Thread paul j3
Changes by paul j3 : -- nosy: +paul.j3 ___ Python tracker ___ ___ Python-bugs-list

[issue26533] logging.config does not allow disable_existing_loggers=True

2016-03-10 Thread Ned Deily
Changes by Ned Deily : -- nosy: +vinay.sajip ___ Python tracker ___ ___ Python-bugs-list

[issue26510] [argparse] Add required argument to add_subparsers

2016-03-10 Thread paul j3
paul j3 added the comment: This has been raised before. I think http://bugs.python.org/issue9253 is the correct issue. It used to be that 'subparsers' were required. But there was a change in how 'required' arguments were tested, and 'subparsers' fell through the cracks. Now subparsers

[issue26394] Have argparse provide ability to require a fallback value be present

2016-03-10 Thread paul j3
paul j3 added the comment: I need to study that patch more, but I don't like the fact that it operates at the core of the parsing (e.g. in 'take_action'). That's a dangerous place to add features. Unexpected behaviors and backwards compatibility problems are too likely. It would be better

[issue26535] Minor typo in the docs for struct.unpack

2016-03-10 Thread Antony Lee
Antony Lee added the comment: I think mentioning calcsize is still helpful, so perhaps something like "The buffer must contain exactly as many bytes (I think this is clearer than "the amount of data") as required by the format (this number can be obtained as `struct.calcsize(fmt)`)"? (and

[issue26535] Minor typo in the docs for struct.unpack

2016-03-10 Thread Georg Brandl
Georg Brandl added the comment: That sounds good to me. Maybe without so many parentheses :) -- nosy: +georg.brandl ___ Python tracker ___

[issue12736] Request for python casemapping functions to use full not simple casemaps per Unicode's recommendation

2016-03-10 Thread Benjamin Peterson
Benjamin Peterson added the comment: The full case mappings do not preserve normalization form. >>> for c in 'ΰ'.upper().lower(): print(unicodedata.name(c)) ... GREEK SMALL LETTER UPSILON COMBINING DIAERESIS COMBINING ACUTE ACCENT >>> unicodedata.normalize('NFC', 'ΰ'.upper().lower()) == 'ΰ'

[issue26535] Minor typo in the docs for struct.unpack

2016-03-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I would remove "len(bytes) must equal " at all. len() can return a value not equal to the number of bytes contained in the buffer (e.g. for array('I')). -- nosy: +martin.panter, serhiy.storchaka ___ Python tracker

[issue26506] hex() documentation: mention "%x" % int

2016-03-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: There is no harm if use hex(value)[2:]. It's a matter of taste. We can mention "%x" % value for the case if the user just doesn't know about this alternative. The same is for value.ljust(5) and '%-5s' % value. --

[issue26535] Minor typo in the docs for struct.unpack

2016-03-10 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +mark.dickinson, meador.inge ___ Python tracker ___

[issue26394] Have argparse provide ability to require a fallback value be present

2016-03-10 Thread paul j3
paul j3 added the comment: Let's see if I understand the proposed patch Each call to 'take_action' is replaced with a save to a 'action_with_values' dictionary For a flagged (optional) it saves the 'args' and 'option_string'; for positionals it save 'args': -

[issue26535] Minor typo in the docs for struct.unpack

2016-03-10 Thread Antony Lee
New submission from Antony Lee: The docstring of struct.unpack currently reads Unpack from the buffer buffer (presumably packed by pack(fmt, ...)) according to the format string fmt. The result is a tuple even if it contains exactly one item. The buffer must contain exactly the amount of data

[issue26394] Have argparse provide ability to require a fallback value be present

2016-03-10 Thread paul j3
paul j3 added the comment: http://stackoverflow.com/a/35144270/901925 dynamically-set-default-value-from-cfg-file-through-argparse-python is my answer to a similar recent (Feb 2015) SO question. I rather like the idea of using collections.ChainMap on the dictionary versions of the namespace

[issue26506] hex() documentation: mention "%x" % int

2016-03-10 Thread STINNER Victor
STINNER Victor added the comment: Serhiy Storchaka added the comment: > If document alternatives for hex(), we should also document formatting alternatives for bin(), oct(), Ok for these two since they also add a prefix. But I don't see the point of documenting alternatives for the other listed

[issue26537] ConfigParser has optoinxform, but not sectionxform

2016-03-10 Thread Gereon Kaiping
New submission from Gereon Kaiping: configparser.ConfigParser (resp. ConfigParser.RawConfigParser for python2) has a optionxform function which converts the option names in a section to lower case by default. A similar function for section titles would be expected (cf.

[issue26537] ConfigParser has optionxform, but not sectionxform

2016-03-10 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- title: ConfigParser has optoinxform, but not sectionxform -> ConfigParser has optionxform, but not sectionxform type: -> enhancement versions: -Python 2.7, Python 3.5 ___ Python tracker

[issue26537] ConfigParser has optionxform, but not sectionxform

2016-03-10 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +lukasz.langa ___ Python tracker ___ ___