[issue24371] configparser hate dot in option like eth2.6

2015-06-05 Thread Zachary Ware
Zachary Ware added the comment: Ahhh, bitten by a typo? :) -- components: -Extension Modules resolution: -> not a bug stage: -> resolved status: open -> closed type: enhancement -> behavior versions: +Python 3.3, Python 3.4 -Python 3.6 ___ Python t

[issue24371] configparser hate dot in option like eth2.6

2015-06-04 Thread Yavuz Selim Komur
Yavuz Selim Komur added the comment: I'm sorry, my fault. bond1.999 vs bond1.199 my mistake.. I'm in a big shame :( [remember] # Her bir interface icin Beni hatirla uygulamasi etkinlestirme # default: False bond1.999 = True bond1.778 = False [timeout] # Saniye cinsinden inactive session bul

[issue24371] configparser hate dot in option like eth2.6

2015-06-04 Thread Zachary Ware
Zachary Ware added the comment: Am I missing something here? Python 3.6.0a0 (default:c2c3b79ba992, Jun 4 2015, 10:24:23) >>> from configparser import ConfigParser >>> cp = ConfigParser() >>> cp.read_string("""\ ... [remember] ... eth2.6 = True ... eth5 = True ... """) >>> cp['remember']['eth2.6

[issue24371] configparser hate dot in option like eth2.6

2015-06-03 Thread R. David Murray
R. David Murray added the comment: I'm guessing python3 would also handle unicode identifiers, but I haven't checked. That said, there's no reason configparser couldn't handle any key that doesn't have a '#', ';', ':' or '=' in it, in theory. Whether we *want* to do that or not is a differen

[issue24371] configparser hate dot in option like eth2.6

2015-06-03 Thread Skip Montanaro
Skip Montanaro added the comment: What little I could find about Windows INI file syntax didn't identify the valid character set of the keys. Like other Windows-based file formats, INI seems to only be operationally defined. It wouldn't surprise me if you needed to restrict yourself to the usu

[issue24371] configparser hate dot in option like eth2.6

2015-06-03 Thread Yavuz Selim Komur
New submission from Yavuz Selim Komur: [remember] eth2.6 = True eth5 = True eth5 correct but eth2.6 return exception -- components: Extension Modules, Library (Lib) messages: 244730 nosy: Yavuz Selim Komur priority: normal severity: normal status: open title: configparser hate dot in