[issue36121] csv: Non global alternative to csv.field_size_limit

2019-02-27 Thread Rémi Lapeyre

Change by Rémi Lapeyre :


--
components: +Library (Lib) -Extension Modules

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue36121] csv: Non global alternative to csv.field_size_limit

2019-02-27 Thread Rémi Lapeyre

Change by Rémi Lapeyre :


--
keywords: +patch
pull_requests: +12091
stage:  -> patch review

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue36121] csv: Non global alternative to csv.field_size_limit

2019-02-26 Thread Rémi Lapeyre

Rémi Lapeyre  added the comment:

Hi Carlos, I think this can be added as a new `field_size_limit` keyword 
argument to csv.reader().

I will work on it.

--
nosy: +remi.lapeyre

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue36121] csv: Non global alternative to csv.field_size_limit

2019-02-26 Thread Carlos Ramos


New submission from Carlos Ramos :

The function csv.field_size_limit gets and sets a global variable. It would be 
useful to change this limit in a per-reader or per-thread basis, so that a 
library can change it without affecting global state.

--
components: Extension Modules
messages: 336651
nosy: Carlos Ramos
priority: normal
severity: normal
status: open
title: csv: Non global alternative to csv.field_size_limit
type: enhancement
versions: Python 3.8

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com